@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/fraunces-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 200 1000;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/nunito-sans-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* SleepBaby premium Workshop homepage. Every presentation rule is isolated to
   the homepage root or the body class applied by the plugin. */

html.sleepbaby-workshop-homepage-root {
  margin-top: 0 !important;
  scroll-behavior: smooth;
}

@supports selector(html:has(body)) {
  html:has(body.sleepbaby-workshop-homepage) {
    margin-top: 0 !important;
    scroll-behavior: smooth;
  }
}

body.sleepbaby-workshop-homepage {
  min-width: 320px;
  margin: 0 !important;
  padding: 0 !important;
  background: #0f1026;
}

body.sleepbaby-workshop-homepage > #sb-sleep-door-portal {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.sleepbaby-workshop-homepage #wpadminbar,
body.sleepbaby-workshop-homepage > #sb-sleep-door-portal ~ .sb-editorial-header,
body.sleepbaby-workshop-homepage > #sb-sleep-door-portal ~ main#primary,
body.sleepbaby-workshop-homepage > #sb-sleep-door-portal ~ .sb-editorial-footer,
body.sleepbaby-workshop-homepage > #sb-sleep-door-portal ~ .sb-skip-link {
  display: none !important;
}

body.sleepbaby-workshop-homepage > #sleepbaby-global-offer[data-sbgf-context='homepage'] {
  display: none !important;
}

#sbgf-home {
  --sbgf-ink: #1d1630;
  --sbgf-night: #0f1026;
  --sbgf-night-2: #181331;
  --sbgf-plum: #2b183e;
  --sbgf-plum-2: #432450;
  --sbgf-paper: #fffaf0;
  --sbgf-cream: #f8f0df;
  --sbgf-cream-deep: #ebdcc4;
  --sbgf-gold: #e5b95f;
  --sbgf-gold-soft: #f6d894;
  --sbgf-gold-deep: #a76e26;
  --sbgf-mint: #78c8bb;
  --sbgf-lavender: #b8a9d6;
  --sbgf-coral: #e58572;
  --sbgf-rose: #eeb5bf;
  --sbgf-display: 'Fraunces', Georgia, serif;
  --sbgf-sans: 'Nunito Sans', Arial, sans-serif;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none !important;
  min-height: 100vh;
  overflow-x: clip;
  margin: 0 !important;
  border: 0;
  padding: 0 !important;
  color: var(--sbgf-ink);
  background: var(--sbgf-cream);
  font-family: var(--sbgf-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#sbgf-home,
#sbgf-home *,
#sbgf-home *::before,
#sbgf-home *::after {
  box-sizing: border-box;
}

#sbgf-home :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, a, button, input, label, legend, span, strong, small, output) {
  font-family: inherit;
}

#sbgf-home a,
#sbgf-home button,
#sbgf-home input {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

#sbgf-home button {
  margin: 0;
}

#sbgf-home img,
#sbgf-home svg {
  display: block;
  max-width: 100%;
}

#sbgf-home .sbgf-home__icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

#sbgf-home svg:not(.sbgf-home__mini-chart) {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#sbgf-home .sbgf-home__chart > svg {
  fill: none;
  stroke: none;
}

#sbgf-home [hidden] {
  display: none !important;
}

#sbgf-home :where(a, button, input):focus-visible {
  outline: 3px solid #19635e;
  outline-offset: 4px;
  box-shadow: 0 0 0 2px #fff7e8;
}

#sbgf-home .sbgf-home__visually-hidden,
#sbgf-home .sbgf-home__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

#sbgf-home .sbgf-home__skip-link {
  position: fixed;
  z-index: 1000001;
  top: 0;
  left: 18px;
  border-radius: 0 0 10px 10px;
  padding: 10px 16px;
  color: #171020;
  background: #ffe09a;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-125%);
  transition: transform 160ms ease;
}

#sbgf-home .sbgf-home__skip-link:focus {
  transform: translateY(0);
}

/* Shared controls */

#sbgf-home .sbgf-home__gold-button,
#sbgf-home .sbgf-home__button--gold {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 19px;
  overflow: hidden;
  border: 1px solid #ffe7a5;
  border-radius: 8px;
  padding: 0 18px 0 26px;
  color: #24162f;
  background: linear-gradient(180deg, #ffe8a5 0%, #f3c86e 48%, #e5ac48 100%);
  box-shadow:
    0 7px 24px rgba(224, 168, 67, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  font-family: var(--sbgf-display);
  font-size: 17px;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    filter 180ms ease,
    box-shadow 180ms ease;
}

#sbgf-home .sbgf-home__gold-button::before,
#sbgf-home .sbgf-home__button--gold::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 25%,
    rgba(255, 255, 255, 0.52) 48%,
    transparent 70%
  );
  transform: translateX(-125%);
}

#sbgf-home .sbgf-home__gold-button > svg,
#sbgf-home .sbgf-home__button--gold > svg {
  position: relative;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  border: 1px solid rgba(97, 61, 32, 0.35);
  border-radius: 50%;
  padding: 7px;
}

#sbgf-home .sbgf-home__gold-button:hover,
#sbgf-home .sbgf-home__button--gold:hover {
  filter: brightness(1.06) saturate(1.04);
  transform: translateY(-2px);
  box-shadow:
    0 11px 34px rgba(224, 168, 67, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

#sbgf-home .sbgf-home__gold-button:disabled,
#sbgf-home .sbgf-home__button--gold:disabled {
  cursor: not-allowed;
  filter: grayscale(0.28);
  opacity: 0.56;
  transform: none;
}

#sbgf-home .sbgf-home__text-button {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  border: 0;
  padding: 8px;
  color: #5f5062;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

#sbgf-home .sbgf-home__text-button svg {
  width: 16px;
}

/* Hero */

#sbgf-home .sbgf-home__hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--sbgf-paper);
  background:
    radial-gradient(circle at 73% 21%, rgba(86, 47, 98, 0.42), transparent 28%),
    radial-gradient(circle at 15% 38%, rgba(58, 48, 93, 0.48), transparent 34%),
    linear-gradient(130deg, #121028 0%, #17112e 46%, #10152d 100%);
}

#sbgf-home .sbgf-home__stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.58;
  background-image:
    radial-gradient(circle at 10% 24%, #f8e2a6 0 1px, transparent 1.8px),
    radial-gradient(circle at 24% 13%, #c3f4e8 0 1px, transparent 1.7px),
    radial-gradient(circle at 41% 30%, #ffe4a5 0 1.2px, transparent 1.9px),
    radial-gradient(circle at 58% 12%, #f3bec7 0 1px, transparent 1.8px),
    radial-gradient(circle at 76% 28%, #c2b8ec 0 1px, transparent 1.8px),
    radial-gradient(circle at 91% 18%, #f9dfa0 0 1px, transparent 1.7px);
  background-size:
    380px 300px,
    440px 350px,
    520px 430px,
    490px 390px,
    560px 460px,
    420px 320px;
}

#sbgf-home .sbgf-home__header {
  position: relative;
  z-index: 8;
  display: flex;
  width: min(800px, calc(100% - 64px));
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 14px 0 12px;
}

#sbgf-home .sbgf-home__wordmark {
  color: #fff9e9;
  font-family: var(--sbgf-display);
  font-size: 31px;
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
}

#sbgf-home .sbgf-home__nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.4vw, 48px);
}

#sbgf-home .sbgf-home__nav a,
#sbgf-home .sbgf-home__nav button,
#sbgf-home .sbgf-home__nav .sbgf-home__nav-access {
  display: inline-flex;
  align-items: center;
  border: 0;
  padding: 0;
  color: rgba(255, 250, 240, 0.86);
  background: transparent;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

#sbgf-home .sbgf-home__nav a:hover,
#sbgf-home .sbgf-home__nav button:hover,
#sbgf-home .sbgf-home__nav .sbgf-home__nav-access:hover {
  color: var(--sbgf-gold-soft);
  transform: translateY(-1px);
}

#sbgf-home .sbgf-home__lights {
  position: absolute;
  z-index: 7;
  top: 53px;
  left: 0;
  width: 100%;
  height: 54px;
  pointer-events: none;
}

#sbgf-home .sbgf-home__cord {
  position: absolute;
  top: 4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #a67538 7%,
    #e2b15c 50%,
    #a67538 93%,
    transparent
  );
  box-shadow: 0 0 7px rgba(229, 185, 95, 0.35);
}

#sbgf-home .sbgf-home__bulb {
  --sbgf-bulb-i: 0;
  --sbgf-bulb-color: var(--sbgf-gold-soft);
  --sbgf-bulb-delay: -1.1s;
  position: absolute;
  top: 4px;
  left: calc((var(--sbgf-bulb-i) + 0.5) * 9.09%);
  width: 10px;
  height: 16px;
  border-radius: 52% 52% 60% 60%;
  background: var(--sbgf-bulb-color);
  box-shadow:
    0 0 9px var(--sbgf-bulb-color),
    0 0 22px color-mix(in srgb, var(--sbgf-bulb-color) 70%, transparent);
  transform: translateX(-50%);
}

#sbgf-home .sbgf-home__bulb::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 4px;
  width: 1px;
  height: 14px;
  background: rgba(184, 138, 70, 0.8);
}

#sbgf-home .sbgf-home__bulb.is-spark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent 46%, rgba(255, 244, 194, 0.82) 48% 52%, transparent 54%),
    linear-gradient(transparent 46%, rgba(255, 244, 194, 0.82) 48% 52%, transparent 54%);
  filter: drop-shadow(0 0 5px var(--sbgf-bulb-color));
  transform: translate(-50%, -50%) scale(0.45) rotate(0deg);
}

#sbgf-home .sbgf-home__bulb:nth-child(2) {
  --sbgf-bulb-i: 0;
  --sbgf-bulb-color: #f6d378;
  --sbgf-bulb-delay: -1.1s;
}

#sbgf-home .sbgf-home__bulb:nth-child(3) {
  --sbgf-bulb-i: 1;
  --sbgf-bulb-color: #82d5c7;
  --sbgf-bulb-delay: -3.7s;
}

#sbgf-home .sbgf-home__bulb:nth-child(4) {
  --sbgf-bulb-i: 2;
  --sbgf-bulb-color: #e9b2bf;
  --sbgf-bulb-delay: -2.4s;
}

#sbgf-home .sbgf-home__bulb:nth-child(5) {
  --sbgf-bulb-i: 3;
  --sbgf-bulb-color: #f1c76f;
  --sbgf-bulb-delay: -4.9s;
}

#sbgf-home .sbgf-home__bulb:nth-child(6) {
  --sbgf-bulb-i: 4;
  --sbgf-bulb-color: #b5a8df;
  --sbgf-bulb-delay: -0.6s;
}

#sbgf-home .sbgf-home__bulb:nth-child(7) {
  --sbgf-bulb-i: 5;
  --sbgf-bulb-color: #82d5c7;
  --sbgf-bulb-delay: -3.1s;
}

#sbgf-home .sbgf-home__bulb:nth-child(8) {
  --sbgf-bulb-i: 6;
  --sbgf-bulb-color: #f1c76f;
  --sbgf-bulb-delay: -1.6s;
}

#sbgf-home .sbgf-home__bulb:nth-child(9) {
  --sbgf-bulb-i: 7;
  --sbgf-bulb-color: #e58a79;
  --sbgf-bulb-delay: -5.3s;
}

#sbgf-home .sbgf-home__bulb:nth-child(10) {
  --sbgf-bulb-i: 8;
  --sbgf-bulb-color: #82d5c7;
  --sbgf-bulb-delay: -2s;
}

#sbgf-home .sbgf-home__bulb:nth-child(11) {
  --sbgf-bulb-i: 9;
  --sbgf-bulb-color: #b5a8df;
  --sbgf-bulb-delay: -4.5s;
}

#sbgf-home .sbgf-home__bulb:nth-child(12) {
  --sbgf-bulb-i: 10;
  --sbgf-bulb-color: #f6d378;
  --sbgf-bulb-delay: -0.9s;
}

#sbgf-home .sbgf-home__sleep-cues {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

#sbgf-home .sbgf-home__sleep-cue {
  position: absolute;
  top: 167px;
  color: #8fd6ca;
  font-family: var(--sbgf-display);
  font-size: 37px;
  font-weight: 600;
  line-height: 1;
  text-shadow:
    0 0 7px rgba(137, 224, 210, 0.95),
    0 0 23px rgba(104, 205, 190, 0.62);
  transform-origin: 50% -94px;
}

#sbgf-home .sbgf-home__sleep-cue::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  width: 1px;
  height: 94px;
  background: linear-gradient(180deg, rgba(215, 173, 96, 0.82), rgba(201, 154, 79, 0.25));
  box-shadow: 0 0 5px rgba(232, 190, 111, 0.25);
}

#sbgf-home .sbgf-home__sleep-cue::after {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #dfb76e;
  box-shadow: 0 0 6px rgba(229, 185, 95, 0.65);
  transform: translateX(-50%);
}

#sbgf-home .sbgf-home__sleep-cue--left {
  left: clamp(14px, 4vw, 58px);
}

#sbgf-home .sbgf-home__sleep-cue--right {
  top: 190px;
  right: clamp(14px, 4vw, 58px);
  color: #88cbd5;
  text-shadow:
    0 0 7px rgba(151, 218, 229, 0.94),
    0 0 23px rgba(98, 180, 197, 0.58);
  transform-origin: 50% -117px;
}

#sbgf-home .sbgf-home__sleep-cue--right::before {
  height: 117px;
}

#sbgf-home .sbgf-home__hero-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(390px, 1.14fr);
  gap: 36px;
  align-items: center;
  width: min(760px, calc(100% - 64px));
  margin: 0 auto;
  padding: 9px 0 25px;
}

#sbgf-home .sbgf-home__hero-copy {
  max-width: 560px;
}

#sbgf-home .sbgf-home__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: #efb58e;
  font-family: var(--sbgf-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

#sbgf-home .sbgf-home__eyebrow > span {
  display: inline-block;
  width: 29px;
  height: 2px;
  flex: 0 0 29px;
  background: linear-gradient(90deg, transparent, var(--sbgf-gold));
}

#sbgf-home .sbgf-home__hero-copy h1 {
  max-width: 590px;
  margin: 0;
  color: #fff9ea;
  font-family: var(--sbgf-display);
  font-size: clamp(44px, 5.2vw, 70px);
  font-weight: 520;
  letter-spacing: -0.043em;
  line-height: 0.99;
  text-wrap: balance;
  text-shadow: 0 2px 22px rgba(6, 4, 16, 0.25);
}

#sbgf-home .sbgf-home__lede {
  max-width: 535px;
  margin: 22px 0 0;
  color: rgba(255, 250, 240, 0.83);
  font-size: 14px;
  line-height: 1.62;
}

#sbgf-home .sbgf-home__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 22px;
}

#sbgf-home .sbgf-home__quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d8c5ec;
  font-size: 15px;
  text-underline-offset: 6px;
}

#sbgf-home .sbgf-home__quiet-link svg {
  width: 16px;
}

#sbgf-home .sbgf-home__privacy {
  margin: 17px 0 0;
  color: rgba(224, 219, 232, 0.57);
  font-size: 10px;
}

#sbgf-home .sbgf-home__forecast-stage {
  position: relative;
  display: flex;
  min-height: 595px;
  align-items: center;
  justify-content: center;
}

#sbgf-home .sbgf-home__forecast-aura {
  position: absolute;
  inset: 14px 7% -14px;
  border: 1px solid rgba(231, 185, 95, 0.66);
  border-radius: 50% 50% 9% 9% / 31% 31% 6% 6%;
  box-shadow:
    0 0 30px rgba(237, 187, 92, 0.3),
    0 0 90px rgba(120, 200, 187, 0.12);
}

#sbgf-home .sbgf-home__forecast-aura::before,
#sbgf-home .sbgf-home__forecast-aura::after {
  content: '';
  position: absolute;
  inset: -11px;
  border: 1px solid rgba(232, 178, 77, 0.36);
  border-radius: inherit;
}

#sbgf-home .sbgf-home__forecast-aura::after {
  inset: -22px;
  opacity: 0.55;
}

#sbgf-home .sbgf-home__forecast-card {
  position: relative;
  z-index: 2;
  width: min(100%, 408px);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(158, 112, 55, 0.64);
  border-radius: 50% 50% 7% 7% / 26% 26% 5% 5%;
  padding: 22px 21px 16px;
  color: #2d2236;
  background:
    linear-gradient(rgba(190, 156, 107, 0.08) 1px, transparent 1px) 0 86px / 100% 30px,
    linear-gradient(180deg, #fff9e9 0%, #fffaf0 71%, #f7edda 100%);
  box-shadow:
    0 30px 70px rgba(2, 3, 18, 0.46),
    inset 0 0 0 7px rgba(255, 247, 226, 0.7);
}

#sbgf-home .sbgf-home__forecast-moon {
  display: flex;
  justify-content: center;
  margin-top: 4px;
  color: #281832;
}

#sbgf-home .sbgf-home__forecast-moon svg {
  width: 22px;
  fill: currentColor;
}

#sbgf-home .sbgf-home__forecast-card > h2 {
  margin: 5px 0 12px;
  font-family: var(--sbgf-display);
  font-size: 21px;
  font-weight: 520;
  line-height: 1.5;
  text-align: center;
}

#sbgf-home .sbgf-home__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid #ddc9aa;
  border-radius: 7px;
  background: rgba(246, 237, 221, 0.72);
}

#sbgf-home .sbgf-home__tab {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  padding: 8px;
  color: #33263c;
  background: transparent;
  font-family: var(--sbgf-display);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
}

#sbgf-home .sbgf-home__tab:first-child {
  border-right: 1px solid #ddc9aa;
}

#sbgf-home .sbgf-home__tab.is-active,
#sbgf-home .sbgf-home__tab[aria-selected='true'] {
  background: #fff5df;
  box-shadow: 0 4px 18px rgba(129, 90, 48, 0.11);
}

#sbgf-home .sbgf-home__tab svg {
  width: 15px;
}

#sbgf-home .sbgf-home__panel {
  outline: 0;
}

#sbgf-home .sbgf-home__forecast-list {
  margin: 10px 0 0;
  border: 1px solid #e2d4bf;
  border-radius: 8px;
  padding: 0;
  background: rgba(255, 253, 247, 0.74);
}

#sbgf-home .sbgf-home__forecast-row,
#sbgf-home .sbgf-home__forecast-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 42px;
  border-bottom: 1px solid #e8dccc;
  padding: 6px 13px;
}

#sbgf-home .sbgf-home__forecast-row:last-child,
#sbgf-home .sbgf-home__forecast-list > div:last-child {
  border-bottom: 0;
}

#sbgf-home .sbgf-home__forecast-list dt {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2d2236;
  font-family: var(--sbgf-display);
  font-size: 14px;
}

#sbgf-home .sbgf-home__forecast-list dt svg {
  width: 20px;
  height: 24px;
  flex: 0 0 20px;
  color: #4d405c;
}

@media (min-width: 681px) {
  #sbgf-home .sbgf-home__forecast-row,
  #sbgf-home .sbgf-home__forecast-list > div {
    grid-template-columns: minmax(110px, 0.9fr) minmax(0, 1.1fr);
    gap: 10px;
  }

  #sbgf-home .sbgf-home__forecast-list dd {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

#sbgf-home .sbgf-home__forecast-list dd {
  margin: 0;
  color: #544869;
  font-size: 13px;
  text-align: right;
}

#sbgf-home .sbgf-home__tone-mint,
#sbgf-home [data-tone='mint'],
#sbgf-home .sbgf-home__forecast-list .is-mint {
  color: #20887d !important;
}

#sbgf-home .sbgf-home__tone-lavender,
#sbgf-home [data-tone='lavender'],
#sbgf-home .sbgf-home__forecast-list .is-lavender {
  color: #7459a0 !important;
}

#sbgf-home .sbgf-home__tone-coral,
#sbgf-home [data-tone='coral'],
#sbgf-home .sbgf-home__forecast-list .is-coral {
  color: #d36353 !important;
}

#sbgf-home .sbgf-home__fit-truth {
  display: grid;
  min-height: 260px;
  align-content: center;
  gap: 11px;
  margin-top: 15px;
  border: 1px solid #e2d4bf;
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 253, 247, 0.76);
}

#sbgf-home .sbgf-home__fit-truth p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: #55495a;
  font-family: var(--sbgf-display);
  font-size: 13px;
  line-height: 1.45;
}

#sbgf-home .sbgf-home__fit-truth svg {
  width: 18px;
  flex: 0 0 18px;
  color: var(--sbgf-coral);
}

#sbgf-home .sbgf-home__chart {
  margin-top: 10px;
}

#sbgf-home .sbgf-home__chart > p {
  margin: 0;
  color: #5a4c5b;
  font-family: var(--sbgf-display);
  font-size: 12px;
  text-align: center;
}

#sbgf-home .sbgf-home__chart > svg {
  width: 100%;
  height: 105px;
  margin-top: 2px;
  overflow: visible;
}

#sbgf-home .sbgf-home__chart-grid path {
  fill: none;
  stroke: #d8cebf;
  stroke-width: 1;
}

#sbgf-home .sbgf-home__current-area {
  fill: rgba(182, 169, 201, 0.1);
}

#sbgf-home .sbgf-home__sleep-area {
  fill: url('#sbgf-home-sleep-area');
}

#sbgf-home .sbgf-home__current-line {
  fill: none;
  stroke: #8e879b;
  stroke-width: 2.2;
  stroke-dasharray: 4 5;
}

#sbgf-home .sbgf-home__sleep-line {
  fill: none;
  stroke: #399f94;
  stroke-width: 3;
}

#sbgf-home .sbgf-home__current-dot,
#sbgf-home .sbgf-home__current-dots circle {
  fill: #9389a3;
}

#sbgf-home .sbgf-home__sleep-dot,
#sbgf-home .sbgf-home__sleep-dots circle {
  fill: #2f9e91;
}

#sbgf-home .sbgf-home__chart-labels {
  fill: #6a6268;
  font-family: var(--sbgf-sans);
  font-size: 10px;
}

#sbgf-home .sbgf-home__chart-y-labels {
  fill: #81767d;
  font-family: var(--sbgf-sans);
  font-size: 8px;
  font-weight: 650;
}

#sbgf-home .sbgf-home__legend {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: -5px;
  color: #625869;
  font-size: 10px;
}

#sbgf-home .sbgf-home__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#sbgf-home .sbgf-home__legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

#sbgf-home .sbgf-home__legend-current,
#sbgf-home .sbgf-home__legend .is-current {
  background: #958ba4;
}

#sbgf-home .sbgf-home__legend-sleep,
#sbgf-home .sbgf-home__legend .is-sleepbaby {
  background: #3ea79a;
}

#sbgf-home .sbgf-home__device-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 10px 0 0;
  color: #6a6062;
  font-family: var(--sbgf-display);
  font-size: 10px;
}

#sbgf-home .sbgf-home__device-trust svg {
  width: 17px;
  color: #8a776b;
}

#sbgf-home .sbgf-home__cloudscape {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(330px, 28.35vw, 480px);
  overflow: hidden;
  pointer-events: none;
}

#sbgf-home .sbgf-home__cloud-card-glow {
  fill: url('#sbgf-home-cloud-gold-fog');
  filter: url('#sbgf-home-cloud-blur');
}

#sbgf-home .sbgf-home__cloud-bank {
  transform-box: fill-box;
  transform-origin: center bottom;
}

#sbgf-home .sbgf-home__cloud-lobe {
  stroke: url('#sbgf-home-cloud-stroke');
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

#sbgf-home .sbgf-home__cloud-lobe--back { fill: url('#sbgf-home-cloud-back'); }
#sbgf-home .sbgf-home__cloud-lobe--mid { fill: url('#sbgf-home-cloud-mid'); }
#sbgf-home .sbgf-home__cloud-lobe--front { fill: url('#sbgf-home-cloud-front'); }

#sbgf-home .sbgf-home__cloud-lobe--haze {
  opacity: .55;
  stroke: none;
  filter: blur(6px);
}

#sbgf-home .sbgf-home__cloud-base {
  fill: #10142b;
  opacity: .96;
}

/* Shared section framing */

#sbgf-home .sbgf-home__inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

#sbgf-home .sbgf-home__heading {
  text-align: center;
}

#sbgf-home .sbgf-home__heading h2 {
  margin: 0;
  color: var(--sbgf-ink);
  font-family: var(--sbgf-display);
  font-size: clamp(38px, 4.2vw, 55px);
  font-weight: 520;
  letter-spacing: -0.038em;
  line-height: 1.05;
  text-wrap: balance;
}

#sbgf-home .sbgf-home__heading > p {
  margin: 12px auto 0;
  color: #706779;
  font-size: 14px;
}

/* Evidence */

#sbgf-home .sbgf-home__evidence {
  position: relative;
  padding: 31px 0 25px;
  background:
    radial-gradient(circle at 50% 0, rgba(246, 216, 148, 0.22), transparent 25%),
    linear-gradient(180deg, #fff7e9, #f9edda);
}

#sbgf-home .sbgf-home__evidence-filters {
  display: flex;
  min-inline-size: 0;
  justify-content: center;
  gap: 13px;
  margin: 12px 0 10px;
  border: 0;
  padding: 0;
}

#sbgf-home .sbgf-home__evidence-filter,
#sbgf-home .sbgf-home__evidence-filters button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d7c4a7;
  border-radius: 8px;
  padding: 6px 16px;
  color: #30233a;
  background: rgba(255, 251, 241, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  font-family: var(--sbgf-display);
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

#sbgf-home .sbgf-home__evidence-filters button svg {
  width: 16px;
}

#sbgf-home .sbgf-home__evidence-filters button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(67, 42, 57, 0.08);
}

#sbgf-home .sbgf-home__evidence-filters button.is-active,
#sbgf-home .sbgf-home__evidence-filters button[aria-pressed='true'] {
  border-color: #452852;
  color: #fff9ea;
  background: linear-gradient(135deg, #2b183e, #473054);
  box-shadow:
    0 8px 24px rgba(38, 23, 49, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

#sbgf-home .sbgf-home__evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

#sbgf-home .sbgf-home__evidence-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #ddcbb0;
  border-radius: 15px;
  padding: 12px 12px 0;
  background: rgba(255, 250, 239, 0.82);
  box-shadow:
    0 11px 27px rgba(64, 38, 37, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

#sbgf-home .sbgf-home__evidence-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    118deg,
    transparent 20%,
    rgba(255, 255, 255, 0.35),
    transparent 72%
  );
  transform: translateX(-120%);
}

#sbgf-home .sbgf-home__evidence-card:hover,
#sbgf-home .sbgf-home__evidence-card.is-highlighted {
  border-color: rgba(88, 118, 106, 0.54);
  transform: translateY(-3px);
  box-shadow:
    0 18px 38px rgba(64, 38, 37, 0.12),
    0 0 0 2px rgba(120, 200, 187, 0.1);
}

#sbgf-home .sbgf-home__card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #756d73;
  font-size: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

#sbgf-home .sbgf-home__card-meta span:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #26877d;
}

#sbgf-home .sbgf-home__card-meta svg {
  width: 13px;
  height: 24px;
}

#sbgf-home .sbgf-home__evidence-card h3 {
  margin: 8px 0 3px;
  font-family: var(--sbgf-display);
  font-size: 17px;
  font-weight: 540;
  line-height: 1.12;
}

#sbgf-home .sbgf-home__families {
  margin: 0;
  color: #766c74;
  font-size: 12px;
}

#sbgf-home .sbgf-home__result {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  margin-top: 8px;
}

#sbgf-home .sbgf-home__result-value {
  margin: 0;
  color: #16877e;
  font-family: var(--sbgf-display);
  font-size: 22px;
  line-height: 1;
}

#sbgf-home .sbgf-home__result-value small {
  display: block;
  margin-top: 5px;
  color: #625969;
  font-family: var(--sbgf-sans);
  font-size: 11px;
}

#sbgf-home .sbgf-home__result-change {
  display: flex;
  min-width: 66px;
  flex-direction: column;
  align-items: center;
  border-radius: 7px;
  padding: 6px 7px;
  color: #18786f;
  background: #dfece5;
  font-size: 15px;
}

#sbgf-home .sbgf-home__result-change small {
  margin-top: 2px;
  font-size: 9px;
}

#sbgf-home .sbgf-home__evidence-card[data-accent='lavender'] .sbgf-home__result-value,
#sbgf-home .sbgf-home__evidence-card.is-lavender .sbgf-home__result-value,
#sbgf-home .sbgf-home__evidence-card--lavender .sbgf-home__result-value {
  color: #6f637d;
}

#sbgf-home .sbgf-home__evidence-card[data-accent='lavender'] .sbgf-home__result-change,
#sbgf-home .sbgf-home__evidence-card.is-lavender .sbgf-home__result-change,
#sbgf-home .sbgf-home__evidence-card--lavender .sbgf-home__result-change {
  color: #6e6576;
  background: #ece8e4;
}

#sbgf-home .sbgf-home__evidence-card--coral .sbgf-home__result-value {
  color: #a84f49;
}

#sbgf-home .sbgf-home__evidence-card--coral .sbgf-home__result-change {
  color: #963f3b;
  background: #f4ded8;
}

#sbgf-home .sbgf-home__mini-chart {
  width: 100%;
  height: 61px;
  margin-top: 4px;
  overflow: visible;
}

#sbgf-home .sbgf-home__mini-grid {
  fill: none;
  stroke: #dfd4c4;
  stroke-width: 1;
}

#sbgf-home .sbgf-home__mini-comparison {
  fill: none;
  stroke: #aaa2b2;
  stroke-width: 1.4;
  stroke-dasharray: 3 4;
}

#sbgf-home .sbgf-home__mini-result {
  fill: none;
  stroke: #258f85;
  stroke-width: 2.2;
  stroke-linecap: round;
}

#sbgf-home .sbgf-home__mini-chart circle {
  fill: #258f85;
}

#sbgf-home .sbgf-home__evidence-card[data-accent='lavender'] .sbgf-home__mini-result,
#sbgf-home .sbgf-home__evidence-card[data-accent='lavender'] .sbgf-home__mini-chart circle,
#sbgf-home .sbgf-home__evidence-card.is-lavender .sbgf-home__mini-result,
#sbgf-home .sbgf-home__evidence-card.is-lavender .sbgf-home__mini-chart circle,
#sbgf-home .sbgf-home__evidence-card--lavender .sbgf-home__mini-result,
#sbgf-home .sbgf-home__evidence-card--lavender .sbgf-home__mini-chart circle {
  fill: none;
  stroke: #81768b;
}

#sbgf-home .sbgf-home__evidence-card[data-accent='lavender'] .sbgf-home__mini-chart circle,
#sbgf-home .sbgf-home__evidence-card.is-lavender .sbgf-home__mini-chart circle,
#sbgf-home .sbgf-home__evidence-card--lavender .sbgf-home__mini-chart circle {
  fill: #81768b;
  stroke: none;
}

#sbgf-home .sbgf-home__evidence-card--coral .sbgf-home__mini-result {
  stroke: #bd6458;
}

#sbgf-home .sbgf-home__evidence-card--coral .sbgf-home__mini-chart circle {
  fill: #bd6458;
}

#sbgf-home .sbgf-home__chart-key {
  display: flex;
  min-height: 18px;
  align-items: center;
  gap: 11px;
  margin: -1px 0 5px;
  color: #756a73;
  font-size: 9px;
  line-height: 1.2;
}

#sbgf-home .sbgf-home__chart-key span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

#sbgf-home .sbgf-home__chart-key span::before {
  content: '';
  width: 15px;
  border-top: 2px solid #aaa2b2;
}

#sbgf-home .sbgf-home__chart-key .is-current::before {
  border-top-style: dashed;
}

#sbgf-home .sbgf-home__chart-key .is-observed::before {
  border-color: currentColor;
}

#sbgf-home .sbgf-home__evidence-card--coral .sbgf-home__chart-key .is-observed { color: #a34f45; }
#sbgf-home .sbgf-home__evidence-card--lavender .sbgf-home__chart-key .is-observed { color: #6e6576; }
#sbgf-home .sbgf-home__evidence-card--teal .sbgf-home__chart-key .is-observed { color: #18786f; }

#sbgf-home .sbgf-home__chart-key small {
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  color: #887c82;
  font-size: 8px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}

#sbgf-home .sbgf-home__evidence-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 -12px;
  border-top: 1px solid #e0d2bd;
  padding: 8px 12px 9px;
  color: #6d626a;
  font-family: var(--sbgf-display);
  font-size: 11px;
}

#sbgf-home .sbgf-home__evidence-status svg {
  width: 17px;
  height: 24px;
}

#sbgf-home .sbgf-home__method {
  margin: 9px 0 0;
  color: #675c67;
  font-family: var(--sbgf-display);
  font-size: 13px;
  text-align: center;
}

#sbgf-home .sbgf-home__method a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  text-underline-offset: 4px;
}

#sbgf-home .sbgf-home__method svg {
  width: 13px;
}

/* Living Workshop and guarantee */

#sbgf-home .sbgf-home__capabilities {
  position: relative;
  z-index: 3;
  overflow: visible;
  padding: 29px 0 22px;
  color: var(--sbgf-paper);
  background:
    radial-gradient(circle at 50% 18%, rgba(85, 49, 91, 0.42), transparent 33%),
    linear-gradient(150deg, #17102a, #11132f 62%, #171029);
}

#sbgf-home .sbgf-home__capabilities::before {
  content: none;
  display: none;
  position: absolute;
  z-index: 4;
  bottom: -27px;
  left: 50%;
  width: 116px;
  height: 58px;
  border: 1px solid rgba(216, 173, 90, 0.52);
  border-bottom: 0;
  border-radius: 58px 58px 0 0;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.86), transparent 36%),
    linear-gradient(180deg, #fff8ea, #fff3df);
  box-shadow:
    0 -8px 24px rgba(230, 187, 104, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transform: translateX(-50%);
  pointer-events: none;
}

#sbgf-home .sbgf-home__capabilities::after {
  content: none;
  display: none;
  position: absolute;
  z-index: 4;
  bottom: -20px;
  left: 50%;
  width: 96px;
  height: 47px;
  border-top: 1px solid rgba(229, 185, 95, 0.24);
  border-radius: 50% 50% 0 0;
  transform: translateX(-50%);
  pointer-events: none;
}

#sbgf-home .sbgf-home__capabilities > .sbgf-home__stars {
  opacity: 0.32;
}

#sbgf-home .sbgf-home__stars--capabilities {
  opacity: 0.32;
}

#sbgf-home .sbgf-home__capabilities .sbgf-home__heading h2 {
  color: #fff6e5;
  font-size: clamp(36px, 4.1vw, 51px);
}

#sbgf-home .sbgf-home__heading--light h2 {
  color: #fff6e5;
}

#sbgf-home .sbgf-home__heading-glow {
  display: block;
  width: 126px;
  height: 2px;
  margin: 9px auto 0;
  background: linear-gradient(90deg, transparent, var(--sbgf-gold), transparent);
  box-shadow: 0 0 13px rgba(229, 185, 95, 0.9);
}

#sbgf-home .sbgf-home__capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

#sbgf-home .sbgf-home__capability-card {
  position: relative;
  min-height: 292px;
  overflow: hidden;
  border: 1px solid rgba(220, 169, 83, 0.6);
  border-radius: 25px;
  padding: 174px 24px 27px;
  text-align: center;
  background: linear-gradient(145deg, rgba(47, 30, 67, 0.62), rgba(20, 22, 53, 0.5));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 30px rgba(5, 4, 17, 0.18);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

#sbgf-home .sbgf-home__capability-glints {
  position: absolute;
  z-index: 0;
  inset: 0;
  color: #f7d98f;
  pointer-events: none;
}

#sbgf-home .sbgf-home__capability-card--music .sbgf-home__capability-glints { color: #d8b7ec; }
#sbgf-home .sbgf-home__capability-card--users .sbgf-home__capability-glints { color: #efb2b6; }

#sbgf-home .sbgf-home__capability-glints i {
  --sbgf-glint-size: 10px;
  position: absolute;
  width: var(--sbgf-glint-size);
  height: var(--sbgf-glint-size);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  background: currentColor;
  filter: drop-shadow(0 0 6px currentColor);
  opacity: .74;
}

#sbgf-home .sbgf-home__capability-glints i:nth-child(1) { top: 29px; left: 16%; --sbgf-glint-size: 8px; }
#sbgf-home .sbgf-home__capability-glints i:nth-child(2) { top: 70px; left: 27%; --sbgf-glint-size: 5px; }
#sbgf-home .sbgf-home__capability-glints i:nth-child(3) { top: 35px; right: 17%; --sbgf-glint-size: 6px; }
#sbgf-home .sbgf-home__capability-glints i:nth-child(4) { top: 96px; right: 12%; --sbgf-glint-size: 11px; }
#sbgf-home .sbgf-home__capability-glints i:nth-child(5) { top: 126px; left: 13%; --sbgf-glint-size: 4px; }

#sbgf-home .sbgf-home__capability-card:nth-child(2) .sbgf-home__capability-glints i:nth-child(1) { top: 55px; left: 12%; }
#sbgf-home .sbgf-home__capability-card:nth-child(2) .sbgf-home__capability-glints i:nth-child(2) { top: 30px; left: 29%; }
#sbgf-home .sbgf-home__capability-card:nth-child(2) .sbgf-home__capability-glints i:nth-child(4) { top: 70px; right: 13%; }
#sbgf-home .sbgf-home__capability-card:nth-child(2) .sbgf-home__capability-glints i:nth-child(5) { top: 124px; left: 20%; }

#sbgf-home .sbgf-home__capability-card:nth-child(3) .sbgf-home__capability-glints i:nth-child(1) { top: 42px; left: 11%; }
#sbgf-home .sbgf-home__capability-card:nth-child(3) .sbgf-home__capability-glints i:nth-child(2) { top: 106px; left: 18%; }
#sbgf-home .sbgf-home__capability-card:nth-child(3) .sbgf-home__capability-glints i:nth-child(3) { top: 24px; right: 25%; }
#sbgf-home .sbgf-home__capability-card:nth-child(3) .sbgf-home__capability-glints i:nth-child(5) { top: 116px; right: 20%; left: auto; }

#sbgf-home .sbgf-home__capability-card:hover {
  border-color: rgba(245, 202, 117, 0.92);
  background: linear-gradient(145deg, rgba(61, 37, 79, 0.7), rgba(23, 26, 61, 0.6));
  transform: translateY(-3px);
}

#sbgf-home .sbgf-home__capability-icon {
  position: absolute;
  top: 17px;
  left: 50%;
  display: grid;
  width: 138px;
  height: 138px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #f5d48e;
  background: transparent;
  box-shadow:
    0 0 25px rgba(229, 185, 95, 0.2),
    inset 0 0 16px rgba(255, 255, 255, 0.07);
  transform: translateX(-50%);
}

#sbgf-home .sbgf-home__capability-icon .sbgf-home__capability-art {
  width: 138px;
  height: 138px;
  overflow: visible;
  filter: drop-shadow(0 0 9px rgba(224, 178, 96, 0.2));
}

#sbgf-home .sbgf-home__capability-art .sbgf-home__art-halo {
  fill: none;
  stroke: rgba(248, 213, 138, .25);
  stroke-width: 2;
  filter: blur(1.8px);
}

#sbgf-home .sbgf-home__capability-art .sbgf-home__art-ring {
  stroke: rgba(235, 191, 105, 0.83);
  stroke-width: 2.2;
  filter: drop-shadow(0 0 7px rgba(238, 194, 109, .38));
}

#sbgf-home .sbgf-home__capability-icon--music .sbgf-home__art-ring {
  stroke: rgba(203, 165, 229, 0.86);
}

#sbgf-home .sbgf-home__capability-icon--music .sbgf-home__art-halo { stroke: rgba(211, 174, 236, .27); }

#sbgf-home .sbgf-home__capability-icon--users .sbgf-home__art-ring {
  stroke: rgba(226, 149, 166, 0.84);
}

#sbgf-home .sbgf-home__capability-icon--users .sbgf-home__art-halo { stroke: rgba(239, 172, 177, .27); }

#sbgf-home .sbgf-home__capability-art .sbgf-home__art-moon {
  stroke: #ffe39b;
  stroke-width: 1.2;
  filter: drop-shadow(0 0 5px rgba(246, 206, 115, .55));
}

#sbgf-home .sbgf-home__capability-art .sbgf-home__art-cloud {
  stroke: #d9ad6c;
  stroke-width: 1.35;
}

#sbgf-home .sbgf-home__capability-art .sbgf-home__art-cloud--front {
  stroke: #f2cc82;
}

#sbgf-home .sbgf-home__capability-art .sbgf-home__art-spark {
  fill: none;
  stroke: #ffe099;
  stroke-width: 2;
  filter: drop-shadow(0 0 5px rgba(255, 224, 153, .72));
}

#sbgf-home .sbgf-home__capability-art .sbgf-home__art-wave {
  fill: none;
  stroke-linecap: round;
  stroke-width: 4;
  filter: drop-shadow(0 0 3px rgba(221, 178, 237, 0.75));
}

#sbgf-home .sbgf-home__capability-art .sbgf-home__art-wave-dot {
  fill: #f6d98e;
  stroke: none;
}

#sbgf-home .sbgf-home__capability-art .sbgf-home__art-person {
  stroke: rgba(255, 218, 207, .7);
  stroke-width: .8;
}

#sbgf-home .sbgf-home__capability-art .sbgf-home__art-family {
  stroke: rgba(247, 193, 188, .52);
  stroke-width: .9;
  filter: drop-shadow(0 0 5px rgba(234, 166, 178, .42));
}

#sbgf-home .sbgf-home__capability-art .sbgf-home__art-heart {
  stroke: #ffd5c6;
  stroke-width: 0.9;
  filter: drop-shadow(0 0 4px rgba(241, 173, 178, .5));
}

#sbgf-home .sbgf-home__capability-art .sbgf-home__art-orbit-sparks {
  fill: none;
  stroke: #f1d388;
  stroke-linecap: round;
  stroke-width: 1.5;
  opacity: .78;
  filter: drop-shadow(0 0 4px currentColor);
}

#sbgf-home .sbgf-home__capability-card h3 {
  margin: 0;
  color: #fffaf0;
  font-family: var(--sbgf-display);
  font-size: clamp(23px, 2.25vw, 29px);
  font-weight: 520;
}

#sbgf-home .sbgf-home__capability-card p {
  max-width: 260px;
  margin: 10px auto 0;
  color: rgba(255, 248, 233, 0.8);
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.48;
}

#sbgf-home .sbgf-home__guarantee-wrap {
  position: relative;
  z-index: 20;
  margin-top: 32px;
  overflow: visible;
}

#sbgf-home .sbgf-home__guarantee-wrap::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: -9px;
  border: 1px solid rgba(237, 190, 95, 0.72);
  border-radius: 27px;
  box-shadow:
    inset 0 0 0 1px rgba(90, 50, 79, 0.68),
    0 0 24px rgba(229, 185, 95, 0.12);
  pointer-events: none;
}

#sbgf-home .sbgf-home__guarantee-panel {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 334px;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  overflow: hidden;
  border: 2px solid #d9a84f;
  border-radius: 26px;
  padding: 34px 58px 78px;
  background:
    radial-gradient(circle at 0 0, rgba(148, 97, 137, 0.22), transparent 29%),
    linear-gradient(135deg, rgba(34, 20, 55, 0.95), rgba(17, 20, 48, 0.98));
  box-shadow:
    0 0 0 7px rgba(45, 26, 62, 0.8),
    0 0 0 8px rgba(234, 185, 89, 0.34),
    0 23px 45px rgba(6, 5, 18, 0.25);
}

#sbgf-home .sbgf-home__guarantee-panel::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 12px;
  border: 1px solid rgba(237, 190, 95, 0.29);
  border-radius: 17px;
  box-shadow: inset 0 0 18px rgba(229, 185, 95, 0.055);
  pointer-events: none;
}

#sbgf-home .sbgf-home__guarantee-corner-stars {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

#sbgf-home .sbgf-home__guarantee-corner-star {
  position: absolute;
  color: #ffe39a;
  font-style: normal;
  font-size: 17px;
  line-height: 1;
  text-shadow: 0 0 14px #f2c56e;
}

#sbgf-home .sbgf-home__guarantee-corner-star--top-left {
  top: 28px;
  left: 34px;
}

#sbgf-home .sbgf-home__guarantee-corner-star--top-right {
  top: 28px;
  right: 34px;
}

#sbgf-home .sbgf-home__guarantee-corner-star--bottom-left {
  bottom: 26px;
  left: 34px;
}

#sbgf-home .sbgf-home__guarantee-corner-star--bottom-right {
  right: 34px;
  bottom: 26px;
}

#sbgf-home .sbgf-home__guarantee-shield {
  position: relative;
  z-index: 1;
  display: grid;
  width: 190px;
  height: 208px;
  place-items: center;
  color: #ffe09b;
  filter:
    drop-shadow(0 10px 9px rgba(7, 5, 19, 0.3))
    drop-shadow(0 0 17px rgba(234, 185, 89, 0.31));
}

#sbgf-home .sbgf-home__guarantee-shield .sbgf-home__guarantee-shield-art {
  width: 190px;
  height: 208px;
  overflow: visible;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#sbgf-home .sbgf-home__guarantee-shield-art .sbgf-home__shield-halo {
  fill: rgba(234, 185, 89, .13);
  filter: blur(5px);
}

#sbgf-home .sbgf-home__guarantee-shield-art .sbgf-home__shield-outer {
  fill: url('#sbgf-home-guarantee-shield-gold');
  stroke: #ffe7a0;
  stroke-width: 2.6;
}

#sbgf-home .sbgf-home__guarantee-shield-art .sbgf-home__shield-face {
  fill: url('#sbgf-home-guarantee-shield-face');
  stroke: #f5cd7b;
  stroke-width: 1.8;
}

#sbgf-home .sbgf-home__guarantee-shield-art .sbgf-home__shield-facet {
  fill: rgba(255, 242, 216, 0.12);
  stroke: none;
}

#sbgf-home .sbgf-home__guarantee-shield-art .sbgf-home__shield-highlight {
  fill: none;
  stroke: rgba(255, 242, 190, 0.76);
  stroke-width: 1.8;
}

#sbgf-home .sbgf-home__guarantee-shield-art .sbgf-home__shield-check {
  fill: none;
  stroke: #ffe59b;
  stroke-width: 8;
  filter: drop-shadow(0 0 4px rgba(255, 218, 128, 0.55));
}

#sbgf-home .sbgf-home__guarantee-copy h2 {
  margin: 0;
  color: #fff7e8;
  font-family: var(--sbgf-display);
  font-size: clamp(39px, 4vw, 52px);
  font-weight: 510;
  line-height: 1.02;
}

#sbgf-home .sbgf-home__guarantee-copy > p {
  max-width: 760px;
  margin: 12px 0 20px;
  color: rgba(255, 248, 235, 0.82);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.46;
}

#sbgf-home .sbgf-home__guarantee-button {
  width: min(100%, 540px);
  min-height: 66px;
  justify-content: center;
  font-size: clamp(18px, 1.7vw, 22px);
}

#sbgf-home .sbgf-home__guarantee-button > svg {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
  border: 0;
  padding: 0;
  color: #100c18;
  stroke: #100c18;
}

#sbgf-home .sbgf-home__guarantee-trust {
  position: absolute;
  right: 46px;
  bottom: 25px;
  left: 278px;
  display: flex;
  justify-content: center;
  gap: 26px;
  color: rgba(255, 244, 222, 0.79);
  font-family: var(--sbgf-display);
  font-size: clamp(12px, 1.15vw, 15px);
}

#sbgf-home .sbgf-home__guarantee-trust > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#sbgf-home .sbgf-home__guarantee-trust > span + span::before {
  content: '•';
  margin-right: 18px;
  color: #efc66f;
  text-shadow: 0 0 8px rgba(239, 198, 111, .55);
}

#sbgf-home .sbgf-home__trust-mark {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border: 1px solid rgba(239, 190, 91, 0.68);
  border-radius: 50%;
  color: #f5c96f;
  background: rgba(229, 185, 95, 0.08);
  box-shadow: 0 0 10px rgba(229, 185, 95, 0.16);
  font-style: normal;
}

#sbgf-home .sbgf-home__trust-mark svg {
  width: 13px;
  height: 13px;
  stroke-width: 1.8;
}

#sbgf-home .sbgf-home__trust-mark--infinity {
  border: 0;
  background: transparent;
  box-shadow: none;
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 400;
}

#sbgf-home .sbgf-home__crescent-medallion {
  position: absolute;
  z-index: 5;
  top: -42px;
  left: 50%;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  border: 1.25px solid rgba(205, 158, 78, .72);
  border-radius: 50%;
  background: radial-gradient(circle at 48% 27%, rgba(255, 255, 255, .99), rgba(255, 247, 232, .97) 55%, rgba(247, 232, 207, .96));
  box-shadow:
    0 -8px 24px rgba(213, 163, 75, .13),
    0 2px 8px rgba(61, 39, 74, .06),
    inset 0 1px 0 rgba(255, 255, 255, .92);
  pointer-events: none;
  transform: translateX(-50%);
}

#sbgf-home .sbgf-home__crescent-medallion::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(220, 181, 112, .16);
}

#sbgf-home .sbgf-home__crescent-medallion-inner {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(214, 174, 103, .2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .42), transparent 70%);
  transform: translateY(-10px);
}

#sbgf-home svg.sbgf-home__crescent-medallion-moon {
  width: 27px;
  height: 27px;
  overflow: visible;
  fill: #281a3e;
  stroke: none;
  stroke-width: 0;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, .44));
}

#sbgf-home .sbgf-home__crescent-medallion-star {
  position: absolute;
  width: 8px;
  height: 8px;
  background:
    linear-gradient(90deg, transparent 43%, #d2a34e 44% 56%, transparent 57%),
    linear-gradient(0deg, transparent 43%, #d2a34e 44% 56%, transparent 57%);
  opacity: .72;
}

#sbgf-home .sbgf-home__crescent-medallion-star--one { top: 10px; right: 12px; }
#sbgf-home .sbgf-home__crescent-medallion-star--two { bottom: 13px; left: 10px; transform: scale(.68); }

/* Closing invitation */

#sbgf-home .sbgf-home__final {
  position: relative;
  z-index: 4;
  isolation: isolate;
  display: flex;
  width: min(1580px, calc(100% - clamp(24px, 4vw, 56px)));
  min-height: 312px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin: 0 auto 28px;
  padding: 72px 24px 34px;
  border-top: 1px solid rgba(215, 177, 111, .45);
  border-radius: 0 0 24px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 3%, rgba(238, 193, 99, .18), transparent 28%),
    linear-gradient(180deg, #fff9ef 0%, #fff3e3 58%, #f7e6ce 100%);
  box-shadow:
    0 18px 44px rgba(13, 8, 27, .18),
    inset 0 1px 0 rgba(255, 255, 255, .92);
}

#sbgf-home .sbgf-home__final::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  border: 1px solid rgba(214, 173, 102, .34);
  border-top: 0;
  border-radius: inherit;
  pointer-events: none;
}

#sbgf-home .sbgf-home__final-boundary {
  position: absolute;
  z-index: 1;
  top: -47px;
  left: 50%;
  width: min(420px, 92vw);
  height: 78px;
  overflow: visible;
  pointer-events: none;
  transform: translateX(-50%);
}

#sbgf-home .sbgf-home__final-boundary-fill {
  fill: url('#sbgf-home-final-boundary-cream');
  stroke: none;
  stroke-width: 0;
}

#sbgf-home .sbgf-home__final-boundary-line {
  fill: none;
  stroke: rgba(208, 159, 78, .7);
  stroke-width: 1.25;
}

#sbgf-home .sbgf-home__final-boundary-line--inner {
  stroke: rgba(255, 255, 255, .78);
  stroke-width: 1;
}

#sbgf-home .sbgf-home__final-sparkles {
  position: absolute;
  z-index: 1;
  inset: 18px 5% 10px;
  pointer-events: none;
}

#sbgf-home .sbgf-home__final-sparkles i {
  position: absolute;
  width: 10px;
  height: 10px;
  background:
    linear-gradient(90deg, transparent 45%, rgba(211, 164, 77, .72) 46% 54%, transparent 55%),
    linear-gradient(0deg, transparent 45%, rgba(211, 164, 77, .72) 46% 54%, transparent 55%);
  opacity: .56;
  transform: rotate(12deg);
}

#sbgf-home .sbgf-home__final-sparkles i:nth-child(1) { top: 20%; left: 11%; }
#sbgf-home .sbgf-home__final-sparkles i:nth-child(2) { top: 54%; left: 19%; transform: scale(.62) rotate(28deg); }
#sbgf-home .sbgf-home__final-sparkles i:nth-child(3) { top: 31%; left: 27%; transform: scale(.78) rotate(-8deg); }
#sbgf-home .sbgf-home__final-sparkles i:nth-child(4) { top: 67%; left: 34%; transform: scale(.48) rotate(19deg); }
#sbgf-home .sbgf-home__final-sparkles i:nth-child(5) { top: 25%; right: 12%; transform: scale(.72) rotate(-15deg); }
#sbgf-home .sbgf-home__final-sparkles i:nth-child(6) { top: 59%; right: 20%; transform: scale(.56) rotate(19deg); }
#sbgf-home .sbgf-home__final-sparkles i:nth-child(7) { top: 35%; right: 29%; transform: scale(.86) rotate(7deg); }
#sbgf-home .sbgf-home__final-sparkles i:nth-child(8) { top: 76%; right: 35%; transform: scale(.42) rotate(-22deg); }

#sbgf-home .sbgf-home__final-glow {
  position: absolute;
  z-index: 0;
  inset: 25% 18%;
  border-radius: 50%;
  background: rgba(246, 215, 150, .21);
  filter: blur(54px);
}

#sbgf-home .sbgf-home__final::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 12px 7% 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 42%, rgba(220, 175, 89, .6) 0 1px, transparent 2px),
    radial-gradient(circle at 23% 58%, rgba(220, 175, 89, .46) 0 2px, transparent 3px),
    radial-gradient(circle at 31% 31%, rgba(163, 119, 137, .3) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 52%, rgba(220, 175, 89, .48) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 37%, rgba(220, 175, 89, .58) 0 1px, transparent 2px);
}

#sbgf-home .sbgf-home__footer-botanical {
  position: absolute;
  z-index: 0;
  bottom: -6px;
  width: 204px;
  height: 198px;
  overflow: visible;
  pointer-events: none;
  transform-origin: bottom center;
}

#sbgf-home .sbgf-home__footer-botanical--left { left: 12px; }
#sbgf-home .sbgf-home__footer-botanical--right { right: 12px; transform: scaleX(-1); }

#sbgf-home .sbgf-home__footer-stem,
#sbgf-home .sbgf-home__footer-gold-stem {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#sbgf-home .sbgf-home__footer-stem { stroke: #9e7787; stroke-width: 2.4; }
#sbgf-home .sbgf-home__footer-gold-stem { stroke-width: 2.1; }
#sbgf-home .sbgf-home__footer-leaf { opacity: .95; filter: drop-shadow(0 4px 7px rgba(73, 47, 82, .12)); }
#sbgf-home .sbgf-home__footer-buds { filter: drop-shadow(0 0 5px rgba(207, 162, 78, .22)); }

#sbgf-home .sbgf-home__final-sleep-letters {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

#sbgf-home .sbgf-home__final-z-cluster {
  position: absolute;
  bottom: 1px;
  width: 152px;
  height: 116px;
}

#sbgf-home .sbgf-home__final-z-cluster--left {
  left: 8px;
}

#sbgf-home .sbgf-home__final-z-cluster--right {
  right: 8px;
}

#sbgf-home .sbgf-home__final-z {
  --sbgf-z-angle: 0deg;
  --sbgf-z-delay: 0s;
  --sbgf-z-duration: 6.4s;
  position: absolute;
  display: block;
  font-family: var(--sbgf-display);
  font-style: normal;
  font-weight: 650;
  line-height: 1;
  opacity: 0.82;
  transform: translateY(0) rotate(var(--sbgf-z-angle));
  transform-origin: center;
}

#sbgf-home .sbgf-home__final-z:nth-child(1) {
  --sbgf-z-angle: -14deg;
  --sbgf-z-delay: -1.8s;
  --sbgf-z-duration: 6.8s;
  bottom: 3px;
  left: 7px;
  font-size: 46px;
}

#sbgf-home .sbgf-home__final-z:nth-child(2) {
  --sbgf-z-angle: 10deg;
  --sbgf-z-delay: -4.1s;
  --sbgf-z-duration: 7.6s;
  bottom: 52px;
  left: 51px;
  font-size: 30px;
}

#sbgf-home .sbgf-home__final-z:nth-child(3) {
  --sbgf-z-angle: -7deg;
  --sbgf-z-delay: -2.9s;
  --sbgf-z-duration: 5.9s;
  right: 37px;
  bottom: 16px;
  font-size: 22px;
}

#sbgf-home .sbgf-home__final-z:nth-child(4) {
  --sbgf-z-angle: -4deg;
  --sbgf-z-delay: -5.2s;
  --sbgf-z-duration: 7.1s;
  bottom: 78px;
  left: 9px;
  font-size: 24px;
}

#sbgf-home .sbgf-home__final-z:nth-child(5) {
  --sbgf-z-angle: 14deg;
  --sbgf-z-delay: -0.8s;
  --sbgf-z-duration: 6.2s;
  right: 8px;
  bottom: 65px;
  font-size: 17px;
}

#sbgf-home .sbgf-home__final-z-cluster--right .sbgf-home__final-z:nth-child(1) {
  --sbgf-z-angle: 14deg;
  right: 7px;
  left: auto;
}

#sbgf-home .sbgf-home__final-z-cluster--right .sbgf-home__final-z:nth-child(2) {
  --sbgf-z-angle: -10deg;
  right: 51px;
  left: auto;
}

#sbgf-home .sbgf-home__final-z-cluster--right .sbgf-home__final-z:nth-child(3) {
  --sbgf-z-angle: 7deg;
  right: auto;
  left: 37px;
}

#sbgf-home .sbgf-home__final-z-cluster--right .sbgf-home__final-z:nth-child(4) {
  --sbgf-z-angle: 4deg;
  right: 9px;
  left: auto;
}

#sbgf-home .sbgf-home__final-z-cluster--right .sbgf-home__final-z:nth-child(5) {
  --sbgf-z-angle: -14deg;
  right: auto;
  left: 8px;
}

#sbgf-home .sbgf-home__final-z--plum {
  color: #503156;
  text-shadow: 0 0 12px rgba(80, 49, 86, 0.22);
}

#sbgf-home .sbgf-home__final-z--lavender {
  color: #9d7fba;
  text-shadow: 0 0 12px rgba(157, 127, 186, 0.29);
}

#sbgf-home .sbgf-home__final-z--mint {
  color: #4d9e92;
  text-shadow: 0 0 12px rgba(77, 158, 146, 0.28);
}

#sbgf-home .sbgf-home__final-z--coral {
  color: #cf746b;
  text-shadow: 0 0 12px rgba(207, 116, 107, 0.28);
}

#sbgf-home .sbgf-home__final-z--gold {
  color: #c9953d;
  text-shadow: 0 0 12px rgba(201, 149, 61, 0.32);
}

#sbgf-home .sbgf-home__final h2,
#sbgf-home .sbgf-home__final p,
#sbgf-home .sbgf-home__final button {
  position: relative;
  z-index: 1;
}

#sbgf-home .sbgf-home__final h2 {
  margin: 0;
  font-family: var(--sbgf-display);
  font-size: clamp(40px, 4.4vw, 52px);
  font-weight: 520;
  letter-spacing: -0.037em;
  line-height: 1.5;
}

#sbgf-home .sbgf-home__final p {
  max-width: 570px;
  margin: 6px 0 14px;
  color: #655a66;
  font-family: var(--sbgf-display);
  font-size: clamp(16px, 1.55vw, 20px);
}

#sbgf-home .sbgf-home__final .sbgf-home__gold-button,
#sbgf-home .sbgf-home__final .sbgf-home__button--gold {
  width: min(100%, 566px);
  min-width: 330px;
  min-height: 68px;
  font-size: 21px;
}

#sbgf-home .sbgf-home__final-button {
  width: min(100%, 566px);
  min-width: 330px;
  min-height: 68px;
}

/* Questionnaire and contribution dialogs */

#sbgf-home .sbgf-home__dialog {
  position: fixed;
  z-index: 1000000;
  inset: 0;
  display: grid;
  width: auto;
  max-width: none;
  height: auto;
  max-height: none;
  place-items: center;
  overflow: hidden;
  margin: 0;
  border: 0;
  padding: 14px;
  color: inherit;
  background: rgba(10, 8, 24, 0.58);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

#sbgf-home .sbgf-home__dialog--signin,
#sbgf-home .sbgf-home__dialog--preview,
#sbgf-home .sbgf-home__dialog--checkout {
  color: var(--sbgf-ink);
}

#sbgf-home dialog.sbgf-home__dialog:not([open]):not(.is-open) {
  display: none;
}

#sbgf-home dialog.sbgf-home__dialog::backdrop {
  background: transparent;
  backdrop-filter: none;
}

#sbgf-home .sbgf-home__dialog.is-open,
#sbgf-home .sbgf-home__dialog[aria-hidden='false'],
#sbgf-home dialog.sbgf-home__dialog[open] {
  display: grid;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#sbgf-home .sbgf-home__dialog-card,
#sbgf-home .sbgf-home__dialog-shell {
  position: relative;
  width: min(660px, calc(100vw - 28px));
  max-height: min(880px, calc(100vh - 28px));
  max-height: min(880px, calc(100dvh - 28px));
  overflow-y: auto;
  border: 1px solid #ddb15e;
  border-radius: 24px;
  padding: 33px;
  color: var(--sbgf-ink);
  background:
    linear-gradient(rgba(195, 159, 108, 0.08) 1px, transparent 1px) 0 46px / 100% 29px,
    linear-gradient(180deg, #fff9ea, #f9eddb);
  box-shadow:
    0 0 0 7px rgba(31, 18, 48, 0.78),
    0 0 0 8px rgba(236, 185, 88, 0.4),
    0 28px 80px rgba(3, 2, 12, 0.45);
  transform: translateY(14px) scale(0.985);
  transition: transform 220ms ease;
  scrollbar-color: #bda676 transparent;
}

#sbgf-home .sbgf-home__dialog.is-open .sbgf-home__dialog-card,
#sbgf-home .sbgf-home__dialog.is-open .sbgf-home__dialog-shell,
#sbgf-home .sbgf-home__dialog[aria-hidden='false'] .sbgf-home__dialog-card,
#sbgf-home .sbgf-home__dialog[aria-hidden='false'] .sbgf-home__dialog-shell,
#sbgf-home dialog.sbgf-home__dialog[open] .sbgf-home__dialog-card,
#sbgf-home dialog.sbgf-home__dialog[open] .sbgf-home__dialog-shell {
  transform: translateY(0) scale(1);
}

#sbgf-home .sbgf-home__dialog-close {
  position: absolute;
  z-index: 4;
  top: 15px;
  right: 15px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #d2b580;
  border-radius: 50%;
  padding: 0;
  color: #34223c;
  background: rgba(255, 250, 239, 0.72);
  cursor: pointer;
}

#sbgf-home .sbgf-home__dialog-close svg {
  width: 16px;
}

#sbgf-home .sbgf-home__dialog-close:focus,
#sbgf-home .sbgf-home__dialog-close:focus-visible,
#sbgf-home .sbgf-home__dialog-card h2[tabindex='-1']:focus,
#sbgf-home .sbgf-home__dialog-shell h2[tabindex='-1']:focus {
  outline: none;
  box-shadow: none;
}

#sbgf-home .sbgf-home__dialog-lights {
  display: flex;
  justify-content: center;
  gap: 46px;
  height: 18px;
  margin: -12px 42px 6px;
  border-top: 1px solid #b98648;
}

#sbgf-home .sbgf-home__dialog-lights span {
  width: 10px;
  height: 14px;
  border-radius: 50% 50% 58% 58%;
  background: #f4d170;
  box-shadow: 0 0 12px #f4d170;
}

#sbgf-home .sbgf-home__dialog-lights span:nth-child(2) {
  background: #81cfc3;
  box-shadow: 0 0 12px #81cfc3;
}

#sbgf-home .sbgf-home__dialog-lights span:nth-child(3) {
  background: #eab5c0;
  box-shadow: 0 0 12px #eab5c0;
}

#sbgf-home .sbgf-home__dialog-lights span:nth-child(4) {
  background: #b8a9dc;
  box-shadow: 0 0 12px #b8a9dc;
}

#sbgf-home .sbgf-home__dialog-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 7px;
  color: #a86246;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

#sbgf-home .sbgf-home__dialog-kicker svg {
  width: 16px;
}

#sbgf-home .sbgf-home__dialog-title,
#sbgf-home .sbgf-home__dialog-card h2,
#sbgf-home .sbgf-home__dialog-shell h2 {
  max-width: 540px;
  margin: 0;
  color: var(--sbgf-ink);
  font-family: var(--sbgf-display);
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

#sbgf-home .sbgf-home__dialog-description {
  max-width: 550px;
  margin: 7px 0 0;
  color: #6f626d;
  font-size: 14px;
  line-height: 1.5;
}

#sbgf-home .sbgf-home__dialog-header {
  display: grid;
  gap: 5px;
}

#sbgf-home .sbgf-home__dialog-header > p:last-child {
  max-width: 550px;
  margin: 0;
  color: #6f626d;
  font-size: 14px;
  line-height: 1.5;
}

#sbgf-home .sbgf-home__dialog--signin .sbgf-home__dialog-card {
  width: min(510px, calc(100vw - 28px));
}

#sbgf-home .sbgf-home__signin-panel {
  isolation: isolate;
  overflow: hidden auto;
  padding: 31px 38px 27px;
  background:
    radial-gradient(circle at 12% 18%, rgba(123, 197, 185, 0.13) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 22%, rgba(225, 178, 99, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 76%, rgba(182, 159, 214, 0.13) 0 1.5px, transparent 2.5px),
    linear-gradient(rgba(195, 159, 108, 0.08) 1px, transparent 1px) 0 46px / 100% 29px,
    linear-gradient(180deg, #fff9ea, #f9eddb);
}

#sbgf-home .sbgf-home__signin-panel::before,
#sbgf-home .sbgf-home__signin-panel::after {
  content: '✦';
  position: absolute;
  z-index: 0;
  color: rgba(178, 130, 58, 0.38);
  font-size: 15px;
  text-shadow: 0 0 11px rgba(223, 174, 86, 0.45);
  pointer-events: none;
}

#sbgf-home .sbgf-home__signin-panel > .sbgf-home__dialog-lights,
#sbgf-home .sbgf-home__signin-panel > .sbgf-home__signin-moon,
#sbgf-home .sbgf-home__signin-panel > .sbgf-home__signin-header,
#sbgf-home .sbgf-home__signin-panel > .sbgf-home__signin-form,
#sbgf-home .sbgf-home__signin-panel > .sbgf-home__signin-security {
  position: relative;
  z-index: 1;
}

#sbgf-home .sbgf-home__signin-panel::before {
  top: 94px;
  left: 26px;
}

#sbgf-home .sbgf-home__signin-panel::after {
  right: 28px;
  bottom: 82px;
  font-size: 11px;
}

#sbgf-home .sbgf-home__signin-moon {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 2px auto 13px;
  border: 1px solid rgba(199, 149, 64, 0.76);
  border-radius: 50%;
  color: #40294b;
  background: rgba(255, 247, 226, 0.88);
  box-shadow:
    0 0 0 6px rgba(230, 188, 103, 0.11),
    0 10px 25px rgba(85, 49, 85, 0.13);
}

#sbgf-home .sbgf-home__signin-moon::after {
  content: 'z';
  position: absolute;
  top: 2px;
  right: -10px;
  color: #9a7eb7;
  font-family: var(--sbgf-display);
  font-size: 17px;
  font-style: italic;
  text-shadow: 0 0 7px rgba(154, 126, 183, 0.42);
  transform: rotate(9deg);
}

#sbgf-home .sbgf-home__signin-moon svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
  stroke-width: 1.5;
}

#sbgf-home .sbgf-home__signin-header {
  place-items: center;
  text-align: center;
}

#sbgf-home .sbgf-home__signin-header .sbgf-home__dialog-kicker {
  justify-content: center;
}

#sbgf-home .sbgf-home__signin-header h2 {
  font-size: clamp(31px, 6vw, 41px);
}

#sbgf-home .sbgf-home__signin-form {
  display: grid;
  gap: 15px;
  margin-top: 22px;
}

#sbgf-home .sbgf-home__signin-field {
  display: grid;
  gap: 7px;
  color: #4b394d;
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0.035em;
}

#sbgf-home .sbgf-home__signin-input {
  display: grid;
  min-width: 0;
  grid-template-columns: 43px minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid #d5bea0;
  border-radius: 11px;
  background: rgba(255, 253, 247, 0.83);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

#sbgf-home .sbgf-home__signin-input:focus-within {
  border-color: #3e7e77;
  background: #fffdf6;
  box-shadow:
    0 0 0 3px rgba(80, 150, 141, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

#sbgf-home .sbgf-home__signin-input > svg {
  width: 18px;
  height: 18px;
  justify-self: center;
  color: #846c88;
  stroke-width: 1.7;
}

#sbgf-home .sbgf-home__signin-input input {
  width: 100%;
  min-width: 0;
  height: 49px;
  border: 0;
  border-left: 1px solid rgba(210, 188, 156, 0.74);
  border-radius: 0;
  padding: 0 13px;
  color: #2f2137;
  background: transparent;
  font-size: 15px;
  outline: 0;
}

#sbgf-home .sbgf-home__signin-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #655867;
  font-size: 12px;
}

#sbgf-home .sbgf-home__signin-remember {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

#sbgf-home .sbgf-home__signin-remember input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #3f766f;
}

#sbgf-home .sbgf-home__signin-options a {
  color: #6a4772;
  font-weight: 700;
  text-underline-offset: 3px;
}

#sbgf-home .sbgf-home__signin-submit {
  margin-top: 2px;
}

#sbgf-home .sbgf-home__signin-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 14px 0 0;
  color: #746a70;
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}

#sbgf-home .sbgf-home__signin-security svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: #4d8b82;
}

#sbgf-home .sbgf-home__preview-result {
  text-align: left;
}

#sbgf-home .sbgf-home__form-status {
  min-height: 1.45em;
  margin: 10px 0 0;
  color: #8b4f49;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

#sbgf-home .sbgf-home__form-status:empty {
  min-height: 0;
  margin: 0;
}

#sbgf-home .sbgf-home__secure-step {
  min-width: 0;
}

#sbgf-home .sbgf-home__secure-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  border-bottom: 1px solid rgba(202, 176, 136, 0.68);
  padding-bottom: 17px;
}

#sbgf-home .sbgf-home__secure-header h2 {
  font-size: clamp(28px, 4vw, 38px);
}

#sbgf-home .sbgf-home__secure-header > div > p:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 10px;
  margin: 8px 0 0;
  color: #6e636b;
  font-size: 12px;
}

#sbgf-home .sbgf-home__secure-header > div > p:last-child strong {
  color: #34223c;
  font-family: var(--sbgf-display);
  font-size: 22px;
}

#sbgf-home .sbgf-home__secure-header .sbgf-home__text-button {
  width: auto;
  margin: 0;
  white-space: nowrap;
}

#sbgf-home .sbgf-home__choice-fieldset,
#sbgf-home .sbgf-home__amount-fieldset {
  min-width: 0;
  margin: 22px 0 0;
  border: 0;
  padding: 0;
}

#sbgf-home .sbgf-home__choice-fieldset legend,
#sbgf-home .sbgf-home__amount-fieldset legend {
  margin-bottom: 9px;
  color: var(--sbgf-ink);
  font-family: var(--sbgf-display);
  font-size: 16px;
  font-weight: 550;
}

#sbgf-home .sbgf-home__choice-grid,
#sbgf-home .sbgf-home__amount-grid {
  display: grid;
  gap: 9px;
}

#sbgf-home .sbgf-home__choice-grid.is-four,
#sbgf-home .sbgf-home__choice-grid--four,
#sbgf-home .sbgf-home__amount-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#sbgf-home .sbgf-home__choice-grid.is-three,
#sbgf-home .sbgf-home__choice-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#sbgf-home .sbgf-home__choice,
#sbgf-home .sbgf-home__choice-grid > button,
#sbgf-home .sbgf-home__amount {
  min-height: 47px;
  border: 1px solid #d6c19f;
  border-radius: 9px;
  padding: 8px;
  color: #3c2a43;
  background: rgba(255, 252, 244, 0.64);
  font-family: var(--sbgf-display);
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
}

#sbgf-home .sbgf-home__choice.is-active,
#sbgf-home .sbgf-home__choice-grid > button.is-active,
#sbgf-home .sbgf-home__amount.is-active,
#sbgf-home .sbgf-home__choice[aria-pressed='true'],
#sbgf-home .sbgf-home__choice-grid > button[aria-pressed='true'],
#sbgf-home .sbgf-home__amount[aria-pressed='true'] {
  border-color: #3d2449;
  color: #fff8e9;
  background: linear-gradient(135deg, #281638, #4a2f55);
  box-shadow: 0 7px 16px rgba(47, 27, 58, 0.18);
}

#sbgf-home .sbgf-home__dialog-primary {
  width: 100%;
  min-height: 52px;
  margin-top: 25px;
}

#sbgf-home .sbgf-home__dialog-primary > svg {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
  border: 0;
  padding: 0;
}

#sbgf-home .sbgf-home__result-receipt {
  overflow: hidden;
  margin-top: 23px;
  border: 1px solid #dbc8a9;
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.7);
}

#sbgf-home .sbgf-home__receipt-row,
#sbgf-home .sbgf-home__result-receipt > div {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 18px;
  border-bottom: 1px solid #e6d8c2;
  padding: 13px 15px;
}

#sbgf-home .sbgf-home__receipt-row:last-child,
#sbgf-home .sbgf-home__result-receipt > div:last-child {
  border-bottom: 0;
}

#sbgf-home .sbgf-home__receipt-row span,
#sbgf-home .sbgf-home__result-receipt > div span {
  color: #786c72;
  font-size: 12px;
}

#sbgf-home .sbgf-home__receipt-row strong,
#sbgf-home .sbgf-home__result-receipt > div strong {
  color: #34243c;
  font-family: var(--sbgf-display);
  font-size: 14px;
  text-align: right;
}

#sbgf-home .sbgf-home__delete-preview,
#sbgf-home .sbgf-home__text-button--delete {
  margin-top: -3px;
  color: #765f6a;
  font-size: 12px;
}

#sbgf-home .sbgf-home__checkout-benefits {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

#sbgf-home .sbgf-home__checkout-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #594b58;
  font-size: 13px;
}

#sbgf-home .sbgf-home__checkout-benefits svg {
  width: 20px;
  color: #26877d;
}

#sbgf-home .sbgf-home__custom-amount {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid #d6c19f;
  border-radius: 9px;
  background: rgba(255, 252, 244, 0.8);
}

#sbgf-home .sbgf-home__custom-amount > span {
  display: grid;
  height: 45px;
  place-items: center;
  border-right: 1px solid #d6c19f;
  color: #634d53;
  font-family: var(--sbgf-display);
  font-size: 18px;
}

#sbgf-home .sbgf-home__custom-amount input {
  width: 100%;
  height: 45px;
  border: 0;
  border-radius: 0;
  padding: 0 13px;
  color: #34243c;
  background: transparent;
  outline-offset: -3px;
}

#sbgf-home .sbgf-home__paypal-button {
  display: flex;
  width: 100%;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
  border: 0;
  border-radius: 9px;
  padding: 12px 18px;
  color: #172c4d;
  background: linear-gradient(180deg, #ffd865, #ffc33c);
  box-shadow:
    0 7px 0 #cc8f18,
    0 14px 28px rgba(194, 132, 19, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  font-family: var(--sbgf-sans);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

#sbgf-home .sbgf-home__paypal-button:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
}

#sbgf-home .sbgf-home__paypal-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

#sbgf-home .sbgf-home__paypal-button svg {
  width: 18px;
}

#sbgf-home .sbgf-home__checkout-note {
  margin: 15px 0 0;
  color: #776a73;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

#sbgf-home .sbgf-home__checkout-meta,
#sbgf-home .sbgf-home__secure-summary {
  display: grid;
  margin-top: 23px;
  border: 1px solid #d8c4a3;
  border-radius: 13px;
  padding: 20px;
  text-align: center;
  background: rgba(255, 253, 247, 0.7);
}

#sbgf-home .sbgf-home__checkout-meta > span,
#sbgf-home .sbgf-home__secure-summary > span {
  color: #766a72;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#sbgf-home .sbgf-home__checkout-meta strong,
#sbgf-home .sbgf-home__secure-summary strong {
  margin-top: 4px;
  color: #34223c;
  font-family: var(--sbgf-display);
  font-size: 28px;
}

#sbgf-home .sbgf-home__checkout-meta small,
#sbgf-home .sbgf-home__secure-summary small {
  margin-top: 5px;
  color: #6e636b;
  font-size: 12px;
}

/* Existing protected checkout, moved into the dialog by the homepage script. */

#sbgf-home .sbgf-home__checkout-slot {
  min-width: 0;
  min-height: 220px;
  margin-top: 18px;
}

#sbgf-home .sbgf-home__checkout-slot > #sleepbaby-global-offer[data-sbgf-context='homepage'],
#sbgf-home .sbgf-home__checkout-slot > #sleepbaby-global-offer.sbgf {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#sbgf-home .sbgf-home__checkout-slot .sbgf #sbgf-purchase {
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#sbgf-home .sbgf-home__checkout-slot .sbgf #sbgf-purchase > .wide-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

#sbgf-home .sbgf-home__checkout-slot .sbgf .purchase-drawer {
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#sbgf-home .sbgf-home__checkout-slot .sbgf :is(.purchase-panel, .purchase-payment-card) {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#sbgf-home .sbgf-home__checkout-slot .sbgf .purchase-drawer > summary,
#sbgf-home .sbgf-home__checkout-slot .sbgf .purchase-compact-intro {
  display: none !important;
}

#sbgf-home .sbgf-home__checkout-slot .sbgf .purchase-panel {
  padding-top: 0;
}

/* The homepage already supplies the step title and selected amount. Keep the
 * protected provider panel, but remove the checkout plugin's duplicate shell. */
#sbgf-home .sbgf-home__checkout-slot #sleepbaby-global-offer.sbgf #sbgf-purchase :is(
  .purchase-drawer,
  .purchase-panel,
  .purchase-payment-card
) {
  min-height: 0 !important;
  overflow: visible !important;
}

#sbgf-home .sbgf-home__checkout-slot #sleepbaby-global-offer.sbgf #sbgf-purchase .purchase-payment-card {
  isolation: auto !important;
  padding: 0 !important;
  color: inherit !important;
}

#sbgf-home .sbgf-home__checkout-slot #sleepbaby-global-offer.sbgf #sbgf-purchase .purchase-payment-card::before,
#sbgf-home .sbgf-home__checkout-slot #sleepbaby-global-offer.sbgf #sbgf-purchase .purchase-payment-card::after,
#sbgf-home .sbgf-home__checkout-slot #sleepbaby-global-offer.sbgf #sbgf-purchase .purchase-payment-heading,
#sbgf-home .sbgf-home__checkout-slot #sleepbaby-global-offer.sbgf #sbgf-purchase .purchase-checkout-stage--amount,
#sbgf-home .sbgf-home__checkout-slot #sleepbaby-global-offer.sbgf #sbgf-purchase .purchase-payment-step-heading {
  display: none !important;
}

#sbgf-home .sbgf-home__checkout-slot #sleepbaby-global-offer.sbgf #sbgf-purchase .purchase-checkout-stage--payment {
  margin-top: 0 !important;
  border-top: 0 !important;
  padding-top: 0 !important;
}

#sbgf-home .sbgf-home__checkout-loading {
  display: grid;
  min-height: 190px;
  place-items: center;
  margin: 0;
  border: 1px dashed rgba(117, 84, 86, 0.38);
  border-radius: 14px;
  padding: 22px;
  color: #6b5766;
  background: rgba(255, 253, 248, 0.72);
  font-size: 13px;
  text-align: center;
}

#sbgf-home .sbgf-home__checkout-slot:has(#sleepbaby-global-offer) .sbgf-home__checkout-loading {
  display: none;
}

/* Motion */

@media (prefers-reduced-motion: no-preference) {
  #sbgf-home .sbgf-home__bulb {
    animation: sbgf-home-bulb-twinkle 4.8s ease-in-out infinite;
    animation-delay: var(--sbgf-delay, var(--sbgf-bulb-delay));
  }

  #sbgf-home .sbgf-home__sleep-cue {
    animation: sbgf-home-sleep-cue 5.7s ease-in-out infinite;
  }

  #sbgf-home .sbgf-home__sleep-cue--right {
    animation-delay: -2.9s;
  }

  #sbgf-home .sbgf-home__bulb.is-spark::after {
    animation: sbgf-home-sparkle 4.1s ease-in-out infinite;
    animation-delay: var(--sbgf-delay, var(--sbgf-bulb-delay));
  }

  #sbgf-home .sbgf-home__forecast-aura {
    animation: sbgf-home-arch-breathe 6.7s ease-in-out infinite;
  }

  #sbgf-home .sbgf-home__gold-button::before,
  #sbgf-home .sbgf-home__button--gold::before {
    animation: sbgf-home-button-shimmer 4.9s ease-in-out infinite;
  }

  #sbgf-home .sbgf-home__forecast-card {
    animation: sbgf-home-card-drift 7.8s ease-in-out infinite;
  }

  #sbgf-home .sbgf-home__cloud-bank--left {
    animation: sbgf-home-cloud-bank-breathe 9s ease-in-out infinite;
  }

  #sbgf-home .sbgf-home__cloud-bank--right {
    animation: sbgf-home-cloud-bank-breathe 10.5s ease-in-out -4.2s infinite reverse;
  }

  #sbgf-home .sbgf-home__evidence-card.is-highlighted::before {
    animation: sbgf-home-card-sheen 900ms ease-out 1;
  }

  #sbgf-home .sbgf-home__capability-icon {
    animation: sbgf-home-icon-breathe 5.8s ease-in-out infinite;
  }

  #sbgf-home .sbgf-home__capability-glints i {
    animation: sbgf-home-capability-glint 4.8s ease-in-out infinite;
  }

  #sbgf-home .sbgf-home__capability-glints i:nth-child(2) { animation-delay: -1.6s; }
  #sbgf-home .sbgf-home__capability-glints i:nth-child(3) { animation-delay: -3.2s; }
  #sbgf-home .sbgf-home__capability-glints i:nth-child(4) { animation-delay: -2.4s; }
  #sbgf-home .sbgf-home__capability-glints i:nth-child(5) { animation-delay: -4.1s; }

  #sbgf-home .sbgf-home__guarantee-corner-star {
    animation: sbgf-home-corner-star 4.6s ease-in-out infinite;
  }

  #sbgf-home .sbgf-home__guarantee-corner-star--top-right,
  #sbgf-home .sbgf-home__guarantee-corner-star--bottom-left {
    animation-delay: -2.3s;
  }

  #sbgf-home .sbgf-home__final-z {
    animation: sbgf-home-final-z-float var(--sbgf-z-duration) ease-in-out infinite;
    animation-delay: var(--sbgf-z-delay);
  }

  #sbgf-home .sbgf-home__heading-glow {
    animation: sbgf-home-heading-breathe 4.9s ease-in-out infinite;
  }

  #sbgf-home .sbgf-home__dialog-lights span {
    animation: sbgf-home-dialog-twinkle 4.6s ease-in-out infinite;
  }

  #sbgf-home .sbgf-home__dialog-lights span:nth-child(2) {
    animation-delay: -1.8s;
  }

  #sbgf-home .sbgf-home__dialog-lights span:nth-child(3) {
    animation-delay: -3.2s;
  }

  #sbgf-home .sbgf-home__dialog-lights span:nth-child(4) {
    animation-delay: -0.7s;
  }

  #sbgf-home .sbgf-home__dialog-lights span:nth-child(5) {
    animation-delay: -2.5s;
  }

  #sbgf-home .sbgf-home__sleep-line,
  #sbgf-home .sbgf-home__mini-result {
    animation: sbgf-home-chart-reveal 1.25s cubic-bezier(0.2, 0.75, 0.3, 1) both;
  }
}

@keyframes sbgf-home-bulb-twinkle {
  0%,
  100% {
    opacity: 1;
    filter: brightness(1.08);
    transform: translateX(-50%) scale(1);
  }
  38% {
    opacity: 0.42;
    filter: brightness(0.64);
    transform: translateX(-50%) scale(0.84);
  }
  68% {
    opacity: 1;
    filter: brightness(1.52);
    transform: translateX(-50%) scale(1.12);
  }
}

@keyframes sbgf-home-sleep-cue {
  0%,
  100% {
    opacity: 0.72;
    filter: brightness(0.94);
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    opacity: 1;
    filter: brightness(1.18);
    transform: translateY(-7px) rotate(2.5deg);
  }
}

@keyframes sbgf-home-cloud-bank-breathe {
  0%,
  100% {
    opacity: .96;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(3px);
  }
}

@keyframes sbgf-home-corner-star {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(0.82) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.08) rotate(18deg);
  }
}

@keyframes sbgf-home-final-z-float {
  0%,
  100% {
    opacity: 0.68;
    filter: brightness(0.96);
    transform: translateY(0) rotate(var(--sbgf-z-angle));
  }
  50% {
    opacity: 0.96;
    filter: brightness(1.12);
    transform: translateY(-6px) rotate(var(--sbgf-z-angle));
  }
}

@keyframes sbgf-home-dialog-twinkle {
  0%,
  100% {
    opacity: 1;
    filter: brightness(1.05);
    transform: scale(1);
  }
  42% {
    opacity: 0.48;
    filter: brightness(0.7);
    transform: scale(0.86);
  }
  72% {
    opacity: 1;
    filter: brightness(1.45);
    transform: scale(1.1);
  }
}

@keyframes sbgf-home-sparkle {
  0%,
  36%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.42) rotate(0deg);
  }
  48% {
    opacity: 0.82;
    transform: translate(-50%, -50%) scale(1) rotate(22deg);
  }
  61% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.28) rotate(35deg);
  }
}

@keyframes sbgf-home-arch-breathe {
  0%,
  100% {
    opacity: 0.78;
    transform: scale(0.992);
  }
  50% {
    opacity: 1;
    transform: scale(1.015);
  }
}

@keyframes sbgf-home-button-shimmer {
  0%,
  58% {
    transform: translateX(-125%);
  }
  78%,
  100% {
    transform: translateX(135%);
  }
}

@keyframes sbgf-home-card-drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes sbgf-home-card-sheen {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(125%);
  }
}

@keyframes sbgf-home-icon-breathe {
  0%,
  100% {
    box-shadow:
      0 0 18px rgba(229, 185, 95, 0.16),
      inset 0 0 16px rgba(255, 255, 255, 0.07);
  }
  50% {
    box-shadow:
      0 0 35px rgba(229, 185, 95, 0.34),
      inset 0 0 20px rgba(255, 255, 255, 0.11);
  }
}

@keyframes sbgf-home-capability-glint {
  0%, 100% {
    opacity: .28;
    transform: scale(.65) rotate(0deg);
  }
  48% {
    opacity: 1;
    transform: scale(1.14) rotate(18deg);
  }
  72% {
    opacity: .62;
    transform: scale(.86) rotate(27deg);
  }
}

@keyframes sbgf-home-heading-breathe {
  0%,
  100% {
    opacity: 0.55;
    transform: scaleX(0.88);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.05);
  }
}

@keyframes sbgf-home-chart-reveal {
  from {
    stroke-dasharray: 620;
    stroke-dashoffset: 620;
  }
  to {
    stroke-dasharray: 620;
    stroke-dashoffset: 0;
  }
}

/* Responsive */

@media (max-width: 820px) {
  #sbgf-home .sbgf-home__hero {
    min-height: 0;
  }

  #sbgf-home .sbgf-home__cloudscape {
    height: 300px;
    opacity: .86;
  }

  #sbgf-home .sbgf-home__hero-grid {
    grid-template-columns: 1fr;
    width: min(720px, calc(100% - 42px));
    padding-top: 72px;
  }

  #sbgf-home .sbgf-home__hero-copy {
    max-width: 660px;
  }

  #sbgf-home .sbgf-home__forecast-stage {
    min-height: 620px;
  }

  #sbgf-home .sbgf-home__inner {
    width: min(700px, calc(100% - 34px));
  }

  #sbgf-home .sbgf-home__evidence-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 2px 0 10px;
    scrollbar-width: thin;
  }

  #sbgf-home .sbgf-home__evidence-filters button {
    flex: 0 0 auto;
  }

  #sbgf-home .sbgf-home__evidence-grid,
  #sbgf-home .sbgf-home__capability-grid {
    grid-template-columns: 1fr;
  }

  #sbgf-home .sbgf-home__evidence-card {
    max-width: 540px;
    margin-inline: auto;
  }

  #sbgf-home .sbgf-home__capability-card {
    min-height: 258px;
    padding-top: 166px;
  }

  #sbgf-home .sbgf-home__guarantee-panel {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 31px 24px 136px;
    text-align: center;
  }

  #sbgf-home .sbgf-home__guarantee-shield {
    width: 150px;
    height: 166px;
    margin: 0 auto;
  }

  #sbgf-home .sbgf-home__guarantee-shield .sbgf-home__guarantee-shield-art {
    width: 150px;
    height: 166px;
  }

  #sbgf-home .sbgf-home__guarantee-copy > p {
    margin-inline: auto;
  }

  #sbgf-home .sbgf-home__guarantee-button {
    width: 100%;
  }

  #sbgf-home .sbgf-home__guarantee-trust {
    right: 18px;
    bottom: 17px;
    left: 18px;
    flex-wrap: wrap;
    gap: 11px 16px;
  }

  #sbgf-home .sbgf-home__guarantee-trust > span + span::before {
    margin-right: 8px;
  }

  #sbgf-home .sbgf-home__footer-botanical {
    bottom: -28px;
    width: 145px;
    height: 145px;
  }

  #sbgf-home .sbgf-home__footer-botanical--left { left: -24px; }
  #sbgf-home .sbgf-home__footer-botanical--right { right: -24px; }
  #sbgf-home .sbgf-home__final p { max-width: 470px; }
}

@media (min-width: 681px) and (max-width: 820px) {
  #sbgf-home .sbgf-home__capability-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  #sbgf-home .sbgf-home__capability-card {
    min-height: 202px;
    border-radius: 18px;
    padding: 112px 9px 17px;
  }

  #sbgf-home .sbgf-home__capability-icon,
  #sbgf-home .sbgf-home__capability-art {
    width: 92px;
    height: 92px;
  }

  #sbgf-home .sbgf-home__capability-icon { top: 12px; }
  #sbgf-home .sbgf-home__capability-card h3 { font-size: 18px; }
  #sbgf-home .sbgf-home__capability-card p { margin-top: 6px; font-size: 11px; }
  #sbgf-home .sbgf-home__capability-glints i:nth-child(1) { left: 9%; }
  #sbgf-home .sbgf-home__capability-glints i:nth-child(2) { left: 20%; }
  #sbgf-home .sbgf-home__capability-glints i:nth-child(3) { right: 10%; }
  #sbgf-home .sbgf-home__capability-glints i:nth-child(4) { right: 7%; }
}

@media (max-width: 680px) {
  #sbgf-home .sbgf-home__header {
    width: calc(100% - 36px);
    padding-top: 22px;
  }

  #sbgf-home .sbgf-home__wordmark {
    font-size: 27px;
  }

  #sbgf-home .sbgf-home__nav {
    gap: 17px;
  }

  #sbgf-home .sbgf-home__nav a,
  #sbgf-home .sbgf-home__nav button,
  #sbgf-home .sbgf-home__nav .sbgf-home__nav-access {
    display: none;
  }

  #sbgf-home .sbgf-home__nav > :last-child {
    display: inline-flex;
  }

  #sbgf-home .sbgf-home__lights {
    top: 64px;
  }

  #sbgf-home .sbgf-home__sleep-cue {
    top: 180px;
    left: 6px;
    font-size: 31px;
    opacity: 0.7;
  }

  #sbgf-home .sbgf-home__sleep-cue--right {
    top: 220px;
    right: 7px;
    left: auto;
  }

  #sbgf-home .sbgf-home__hero-grid {
    width: calc(100% - 34px);
    gap: 40px;
    padding: 76px 0 54px;
  }

  #sbgf-home .sbgf-home__hero-copy h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

  #sbgf-home .sbgf-home__lede {
    font-size: 15px;
    line-height: 1.65;
  }

  #sbgf-home .sbgf-home__gold-button,
  #sbgf-home .sbgf-home__button--gold {
    width: 100%;
    justify-content: space-between;
    font-size: 17px;
  }

  #sbgf-home .sbgf-home__forecast-stage {
    min-height: 556px;
  }

  #sbgf-home .sbgf-home__forecast-card {
    min-height: 0;
    border-radius: 44% 44% 6% 6% / 19% 19% 4% 4%;
    padding: 27px 18px 20px;
  }

  #sbgf-home .sbgf-home__forecast-aura {
    inset: 10px 4% -8px;
  }

  #sbgf-home .sbgf-home__forecast-card > h2 {
    font-size: 20px;
  }

  #sbgf-home .sbgf-home__tab {
    min-height: 48px;
    font-size: 13px;
  }

  #sbgf-home .sbgf-home__forecast-row,
  #sbgf-home .sbgf-home__forecast-list > div {
    gap: 8px;
    padding-inline: 10px;
  }

  #sbgf-home .sbgf-home__forecast-list dt {
    gap: 7px;
    font-size: 12px;
  }

  #sbgf-home .sbgf-home__forecast-list dt svg {
    width: 17px;
    height: 24px;
    flex-basis: 17px;
  }

  #sbgf-home .sbgf-home__forecast-list dd {
    max-width: 130px;
    font-size: 11px;
  }

  #sbgf-home .sbgf-home__legend {
    gap: 16px;
  }

  #sbgf-home .sbgf-home__device-trust {
    font-size: 9px;
  }
}

@media (max-width: 560px) {
  #sbgf-home .sbgf-home__evidence {
    padding: 54px 0 47px;
  }

  #sbgf-home .sbgf-home__heading h2 {
    font-size: 38px;
  }

  #sbgf-home .sbgf-home__heading > p {
    font-size: 12px;
    line-height: 1.5;
  }

  #sbgf-home .sbgf-home__evidence-filters {
    margin-top: 21px;
  }

  #sbgf-home .sbgf-home__evidence-card h3 {
    font-size: 19px;
  }

  #sbgf-home .sbgf-home__evidence-card {
    width: 100%;
  }

  #sbgf-home .sbgf-home__evidence-card:nth-child(2) {
    width: 94.41%;
  }

  #sbgf-home .sbgf-home__capabilities {
    padding-top: 47px;
  }

  #sbgf-home .sbgf-home__capabilities .sbgf-home__heading h2 {
    font-size: 36px;
  }

  #sbgf-home .sbgf-home__guarantee-copy h2 {
    font-size: 37px;
  }

  #sbgf-home .sbgf-home__guarantee-trust {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    font-size: 11px;
  }

  #sbgf-home .sbgf-home__guarantee-trust > span + span::before {
    content: none;
  }

  #sbgf-home .sbgf-home__final {
    width: calc(100% - 16px);
    min-height: 324px;
    margin-bottom: 16px;
    padding: 66px 19px 28px;
    border-radius: 0 0 18px 18px;
  }

  #sbgf-home .sbgf-home__final-boundary {
    top: -36px;
    width: min(310px, 96vw);
    height: 60px;
  }

  #sbgf-home .sbgf-home__crescent-medallion {
    top: -32px;
    width: 82px;
    height: 82px;
  }

  #sbgf-home .sbgf-home__crescent-medallion-inner {
    width: 52px;
    height: 52px;
    transform: translateY(-8px);
  }

  #sbgf-home svg.sbgf-home__crescent-medallion-moon {
    width: 22px;
    height: 22px;
  }

  #sbgf-home .sbgf-home__crescent-medallion-star--one { top: 6px; right: 7px; }
  #sbgf-home .sbgf-home__crescent-medallion-star--two { bottom: 8px; left: 6px; }

  #sbgf-home .sbgf-home__final-sparkles i:nth-child(3),
  #sbgf-home .sbgf-home__final-sparkles i:nth-child(7) {
    display: none;
  }

  #sbgf-home .sbgf-home__footer-botanical {
    bottom: -28px;
    width: 132px;
    height: 134px;
  }

  #sbgf-home .sbgf-home__footer-botanical--left { left: -28px; }
  #sbgf-home .sbgf-home__footer-botanical--right { right: -28px; }

  #sbgf-home .sbgf-home__final-z-cluster {
    bottom: -7px;
    transform: scale(0.7);
  }

  #sbgf-home .sbgf-home__final-z-cluster--left {
    left: -7px;
    transform-origin: bottom left;
  }

  #sbgf-home .sbgf-home__final-z-cluster--right {
    right: -7px;
    transform-origin: bottom right;
  }

  #sbgf-home .sbgf-home__final h2 {
    font-size: 37px;
    line-height: 1.03;
  }

  #sbgf-home .sbgf-home__final .sbgf-home__gold-button,
  #sbgf-home .sbgf-home__final .sbgf-home__button--gold {
    width: 100%;
    min-width: 0;
  }

  #sbgf-home .sbgf-home__final-button {
    width: 100%;
    min-width: 0;
  }

  #sbgf-home .sbgf-home__dialog {
    align-items: center;
    padding: 14px;
  }

  #sbgf-home .sbgf-home__dialog-card,
  #sbgf-home .sbgf-home__dialog-shell {
    width: calc(100vw - 28px);
    max-height: calc(100dvh - 28px);
    border-radius: 19px;
    padding: 30px 18px 23px;
  }

  #sbgf-home .sbgf-home__dialog-lights {
    gap: 28px;
    margin-inline: 30px;
  }

  #sbgf-home .sbgf-home__signin-panel {
    padding: 28px 20px 22px;
  }

  #sbgf-home .sbgf-home__signin-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  #sbgf-home .sbgf-home__signin-security {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  #sbgf-home .sbgf-home__choice-grid.is-four,
  #sbgf-home .sbgf-home__choice-grid.is-three,
  #sbgf-home .sbgf-home__choice-grid--four,
  #sbgf-home .sbgf-home__choice-grid--three,
  #sbgf-home .sbgf-home__amount-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #sbgf-home .sbgf-home__receipt-row,
  #sbgf-home .sbgf-home__result-receipt > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  #sbgf-home .sbgf-home__receipt-row strong,
  #sbgf-home .sbgf-home__result-receipt > div strong {
    text-align: left;
  }

  #sbgf-home .sbgf-home__secure-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  #sbgf-home .sbgf-home__secure-header .sbgf-home__text-button {
    width: 100%;
  }

  #sbgf-home .sbgf-home__checkout-slot .sbgf .purchase-drawer { border-radius: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.sleepbaby-workshop-homepage) {
    scroll-behavior: auto;
  }

  #sbgf-home *,
  #sbgf-home *::before,
  #sbgf-home *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
