/* Opt-in public presentation. Private pages never carry bloom-public.
   Tailwind retains layout and responsive utility ownership. */
.bloom-public {
  --bloom-primary: #60349b;
  --bloom-secondary: #8748bc;
  --bloom-accent: #a856ca;
  --bloom-background: #f4f0f9;
  --bloom-card: #ede3fa;
  --bloom-text: #352b4d;
  --bloom-text-muted: #746681;
  --bloom-lavender-soft: #f2eafb;
  --bloom-border: #e8def1;
  --bloom-hover: #502981;
  --bloom-pressed: var(--bloom-hover);
  --bloom-pink-action: #a62f78;
  --bloom-blue-action: #245cb0;
  --bloom-focus: #245cb0;
  margin: 0;
  color: var(--bloom-text);
  background: var(--bloom-background);
  font-family:
    "Nunito",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}
.bloom-public :is(h1, h2, h3, h4, .font-baloo) {
  font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
}
.bloom-public :is(button, input, select, textarea, label) {
  font-family: "Nunito", system-ui, sans-serif;
}
.bloom-public :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--bloom-focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--bloom-lavender-soft);
}
.bloom-public-main {
  min-width: 0;
}
.bloom-public-main > section {
  padding-block: clamp(24px, 4vw, 48px);
}
.bloom-public-main
  :is(
    .rounded-3xl,
    .rounded-2xl,
    .rounded-\[32px\],
    .rounded-\[36px\],
    .rounded-\[40px\]
  )[class*="bg-white"] {
  border-color: var(--bloom-border);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgb(53 43 77 / 6%);
}
.bloom-public .bloom-public-primary,
.bloom-public :is(.primary-button, .btn-primary),
.bloom-public
  #main-navbar
  :is(#desktop-lifetime-access-button, #mobile-lifetime-access-button),
.bloom-public #main-navbar .language-option.text-white {
  background-color: var(--bloom-primary);
  background-image: none;
  color: #fff;
  border-color: var(--bloom-primary);
  box-shadow: 0 3px 8px rgb(96 52 155 / 12%);
  min-height: 44px;
  transition:
    background-color 150ms ease,
    transform 150ms ease,
    box-shadow 150ms ease;
}
.bloom-public
  :is(.bloom-public-primary, .primary-button, .btn-primary):hover:not(
    :disabled
  ) {
  background: var(--bloom-hover);
  color: #fff;
  transform: translateY(-1px);
}
.bloom-public
  :is(.bloom-public-primary, .primary-button, .btn-primary):active:not(
    :disabled
  ) {
  background: var(--bloom-pressed);
  transform: translateY(1px);
}
.bloom-public
  :is(.bloom-public-primary, .primary-button, .btn-primary):disabled {
  background: #e8def1;
  color: #655571;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.bloom-public .bloom-public-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--bloom-border);
  border-radius: 12px;
  background: var(--bloom-lavender-soft);
  color: var(--bloom-primary);
  font-weight: 700;
}
.bloom-public #main-navbar {
  background: rgb(255 255 255 / 96%);
  border-color: var(--bloom-border);
  box-shadow: 0 3px 16px rgb(53 43 77 / 6%);
  color: var(--bloom-text);
}
.bloom-public #main-navbar .nav-link {
  color: var(--bloom-text);
  border-radius: 12px;
  transform: none;
}
.bloom-public #main-navbar .nav-link[aria-current="page"] {
  background: var(--bloom-lavender-soft);
  color: var(--bloom-primary);
  box-shadow: none;
}
.bloom-public #main-navbar :is(button, a) {
  min-height: 44px;
}
.bloom-public #main-navbar #mobile-menu-button {
  min-width: 44px;
}
.bloom-public #main-navbar :is(#language-switcher, #mobile-language-switcher) {
  background: var(--bloom-lavender-soft);
  border-color: var(--bloom-border);
}
.bloom-public #main-navbar .language-option:not(.text-white) {
  color: var(--bloom-primary);
}
.bloom-public #main-navbar .language-option {
  min-height: 32px;
  border-radius: 8px;
}
.bloom-public #main-navbar .language-option.text-white {
  min-height: 32px;
}
.bloom-public #mobile-menu {
  max-height: calc(100dvh - 68px);
  overflow-y: auto;
}
.bloom-public #shared-footer > footer {
  color: var(--white, white);
}
.bloom-public #shared-footer a:hover {
  color: var(--bloom-lavender-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.bloom-public #shared-footer :is(a, button):focus-visible {
  outline-color: var(--white, white);
  box-shadow: 0 0 0 5px var(--bloom-primary);
}
.bloom-public .bloom-public-cta {
  background: var(--bloom-primary);
  color: var(--white, white);
}
.bloom-public #shared-footer :is(h2, h3, h4) {
  color: #fff;
}
.bloom-public #shared-footer :is(a, button) {
  min-height: 44px;
}
.bloom-public #shared-footer :is(.py-14, .py-16, .py-20) {
  padding-block: 28px;
}
.bloom-public-main [aria-hidden="true"][class*="animate-"] {
  animation: none;
}
.bloom-auth-shell .bloom-public-main {
  min-height: calc(100dvh - 68px);
  padding-block: 24px;
}
.bloom-auth-shell :is(.login-card, .signup-card, .forgot-card, .password-card) {
  border: 1px solid var(--bloom-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(53 43 77 / 8%);
  padding: 24px;
}
.bloom-auth-shell :is(.login-card, .signup-card, .forgot-card)::before {
  background: var(--bloom-primary);
}
.bloom-public
  :is(
    .form-input,
    .input-field,
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea
  ) {
  border-color: var(--bloom-border);
  border-radius: 12px;
  min-height: 44px;
  color: var(--bloom-text);
  background-color: #fff;
}
.bloom-legal-page :is(.terms-section, .privacy-section) {
  scroll-margin-top: 80px;
}
.bloom-legal-page .bloom-public-main {
  background: var(--bloom-background);
}
.bloom-offline-page .bloom-public-main {
  max-width: 520px;
  margin: 32px auto;
  padding: 24px;
  border: 1px solid var(--bloom-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 16px rgb(53 43 77 / 6%);
}
.bloom-offline-page .bloom-state-icon {
  font-size: 32px;
}
@media (hover: hover) and (pointer: fine) {
  .bloom-public-main .shop-card:hover {
    border-color: var(--bloom-secondary);
    box-shadow: 0 8px 20px rgb(53 43 77 / 10%);
    transform: translateY(-2px);
  }
}
@media (max-width: 639px) {
  .bloom-public-main > section {
    padding-block: 24px;
  }
  .bloom-auth-shell
    :is(.login-card, .signup-card, .forgot-card, .password-card) {
    padding: 20px;
  }
  .bloom-public #main-navbar .mobile-nav-link {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 14px;
    padding: 8px;
  }
  .bloom-public #main-navbar #mobile-lifetime-access-button {
    white-space: normal;
    text-align: center;
  }
  .bloom-offline-page .bloom-public-main {
    margin: 20px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bloom-public {
    scroll-behavior: auto;
  }
  .bloom-public *,
  .bloom-public *::before,
  .bloom-public *::after {
    animation: none;
    transition: none;
    scroll-behavior: auto;
  }
}
.bloom-public-main [aria-hidden="true"] [class*="animate-"] {
  animation: none;
}
/* Cap public marketing display text; auth and existing card type scales stay intact. */
.bloom-public:not(.bloom-auth-shell)
  .bloom-public-main
  > section:first-child
  h1 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}
.bloom-public:not(.bloom-auth-shell)
  .bloom-public-main
  > section:first-child
  > [class*="max-w-"] {
  padding-block: 24px;
}
.bloom-offline-page .page-title {
  font-size: 28px;
  line-height: 1.2;
}
.bloom-public :is(label, button, input, select, textarea).font-baloo {
  font-family: "Nunito", system-ui, sans-serif;
}
.bloom-auth-shell form button[type="button"] {
  min-width: 44px;
  min-height: 44px;
}
@media (prefers-reduced-motion: reduce) {
  .bloom-public #main-navbar .nav-link.nav-active {
    animation: none;
    transition: none;
  }
  .bloom-public #main-navbar .nav-link::after {
    transition: none;
  }
}
/* Homepage: the affiliate page's calm surfaces with brighter learning cues. */
.bloom-home #home {
  background: linear-gradient(135deg, #f2eafb 0%, #fff9fc 48%, #eaf2ff 100%);
}
.bloom-home #home > [class*="max-w-6xl"] {
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(32px, 5vw, 76px);
}
.bloom-home #home h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em;
}
.bloom-home #home h1 + p {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.7;
  color: #514365;
}
.bloom-home #home .bloom-public-primary {
  border-radius: 16px;
  font-size: 0.9375rem;
  box-shadow: 0 10px 24px rgb(96 52 155 / 18%);
}
.bloom-home #home .bloom-public-primary:hover {
  box-shadow: 0 14px 28px rgb(96 52 155 / 23%);
}
.bloom-home #home [class*="shadow-[0_30px"] {
  border-color: #e8def1;
  background: #fff;
  box-shadow: 0 18px 48px rgb(53 43 77 / 12%);
}
.bloom-home-wrap {
  width: min(100% - 32px, 1152px);
  margin-inline: auto;
}
.bloom-home-learning {
  background: #fff;
  padding-block: clamp(32px, 4vw, 56px) !important;
}
.bloom-home-section-heading {
  max-width: 650px;
  margin: 0 auto 30px;
  text-align: center;
}
.bloom-home-eyebrow {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e8def1;
  border-radius: 999px;
  background: #fff;
  padding: 8px 16px;
  color: #60349b;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.bloom-home-section-heading h2 {
  margin: 14px 0 8px;
  color: #352b4d;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
}
.bloom-home-section-heading > p:last-child {
  color: #655878;
  line-height: 1.7;
}
.bloom-home-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.bloom-home-category {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e8def1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(53 43 77 / 7%);
}
.bloom-home-category img {
  display: block;
  width: 100%;
  height: 174px;
  object-fit: contain;
  padding: 14px;
  background: #f3f7ff;
}
.bloom-home-category-purple img {
  background: #f2eafb;
}
.bloom-home-category-pink img {
  background: #fdf0f7;
}
.bloom-home-category-lavender img {
  background: #f7f0fc;
}
.bloom-home-category > div {
  padding: 18px 20px 22px;
}
.bloom-home-category > div > span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: #f2eafb;
  font-size: 1.25rem;
}
.bloom-home-category h3 {
  margin: 12px 0 4px;
  color: #352b4d;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 800;
}
.bloom-home-category p {
  color: #655878;
  font-size: 0.9rem;
  line-height: 1.55;
}
.bloom-home-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.bloom-home-benefits > div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid #e8def1;
  border-radius: 18px;
  background: #fff;
  color: #514365;
  box-shadow: 0 4px 16px rgb(53 43 77 / 5%);
}
.bloom-home-benefits span {
  font-size: 1.35rem;
}
.bloom-home-benefits p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
}
.bloom-home #how-it-works {
  background: #fff;
}
.bloom-home #how-it-works article {
  border-color: #e8def1;
  box-shadow: 0 8px 24px rgb(53 43 77 / 7%);
}
.bloom-home #member-access {
  background: #faf8ff;
}
@media (max-width: 900px) {
  .bloom-home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .bloom-home #home > [class*="max-w-6xl"] {
    gap: 28px;
    padding-block: 28px;
  }
  .bloom-home #home h1 {
    font-size: clamp(2.4rem, 11vw, 3.25rem) !important;
  }
  .bloom-home-category-grid {
    gap: 12px;
  }
  .bloom-home-category > div {
    padding: 14px;
  }
  .bloom-home-category h3 {
    font-size: 1.08rem;
  }
  .bloom-home-category p {
    font-size: 0.82rem;
  }
  .bloom-home-benefits {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .bloom-home-benefits > div {
    padding: 12px 16px;
  }
}
@media (max-width: 380px) {
  .bloom-home-category-grid {
    grid-template-columns: 1fr;
  }
  .bloom-home-category > div {
    padding: 12px;
  }
}
/* Premium Playful Learning: scoped to the three public marketing pages. */
.bloom-home #home {
  background: linear-gradient(115deg, #fff 15%, #fbf8ff 75%, #f3f7ff 100%);
}
.bloom-home #home h1 {
  color: #352b4d;
}
.bloom-home #home .bloom-home-hero-art {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 290px);
  height: 180px;
  object-fit: cover;
  object-position: center;
  border: 6px solid #fff;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgb(53 43 77 / 15%);
  transform: rotate(-3deg);
}
.bloom-home #home [class*="animate-"] {
  animation: none;
}
.bloom-home .bloom-home-learning {
  background: #fff;
}
.bloom-home .bloom-home-section-heading h2 {
  font-size: clamp(2rem, 3.7vw, 3.3rem);
  letter-spacing: -0.03em;
}
.bloom-home .bloom-home-category {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 24px;
  box-shadow: 0 8px 26px rgb(53 43 77 / 9%);
}
.bloom-home .bloom-home-category img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: contain;
  object-position: center;
  padding: 0;
  border-radius: 20px 20px 8px 8px;
}
.bloom-home .bloom-home-category > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 15px 14px 18px;
  text-align: center;
}
.bloom-home .bloom-home-category > div > span {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  font-size: 1.65rem;
  box-shadow: inset 0 0 0 1px rgb(96 52 155 / 9%);
}
.bloom-home .bloom-home-category-blue > div > span {
  background: #eaf2ff;
}
.bloom-home .bloom-home-category-purple > div > span {
  background: #f2eafb;
}
.bloom-home .bloom-home-category-pink > div > span {
  background: #fff0f7;
}
.bloom-home .bloom-home-category-lavender > div > span {
  background: #f5edff;
}
.bloom-home .bloom-home-category h3 {
  margin: 9px 0 4px;
  color: #352b4d;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.2;
}
.bloom-home .bloom-home-category p {
  margin: 0;
  color: #5f5271;
  font-size: 0.94rem;
  line-height: 1.55;
}
.bloom-home #member-access {
  background: #faf9fc;
}
.bloom-home #member-access .bloom-home-member-panel {
  border-color: #e8def1;
  background: #fff;
  box-shadow: 0 16px 42px rgb(53 43 77 / 9%);
}
.bloom-home
  #member-access
  .bloom-home-member-panel
  > [class*="bg-gradient-to-r"] {
  background: #60349b;
}
.bloom-home #member-access .bloom-home-price-card {
  border: 1px solid #e8def1;
  box-shadow: 0 12px 32px rgb(53 43 77 / 10%);
}
.bloom-home
  #member-access
  .bloom-home-price-card
  :is(.text-purple-400, .text-purple-500) {
  color: #655878;
}
.bloom-home #member-access .bloom-home-price-card .text-purple-800 {
  color: #60349b;
}
.bloom-home
  #member-access
  [class*="bg-gradient-to-br from-purple-50 via-white to-pink-50"] {
  background: #f8f6fb;
}
.bloom-home
  #member-access
  [class*="bg-gradient-to-br from-purple-600 via-pink-500 to-blue-500"] {
  background: #60349b;
}
.bloom-about #about-hero {
  padding-block: 0;
  background: #fff;
}
.bloom-about #about-hero > [class*="max-w-6xl"] {
  min-height: 0;
  padding-block: 20px;
}
.bloom-about #about-hero h1 {
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.bloom-about #about-hero h1 + p {
  color: #514365;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.7;
}
.bloom-about #about-hero .bloom-public-primary {
  background: #60349b;
  box-shadow: 0 10px 24px rgb(96 52 155 / 16%);
}
.bloom-about-motif {
  position: absolute;
  color: #a62f78;
  pointer-events: none;
  opacity: 0.7;
}
.bloom-about-motif-one {
  top: 12%;
  left: 49%;
  font-size: 2rem;
}
.bloom-about-motif-two {
  top: 22%;
  right: 8%;
  font-size: 1.5rem;
  color: #245cb0;
}
.bloom-about-art {
  position: relative;
  width: min(100%, 510px);
  margin-inline: auto;
  padding: 20px 20px 48px;
}
.bloom-about-art-main {
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 30px;
  background: #f2eafb;
  box-shadow: 0 18px 44px rgb(53 43 77 / 13%);
  transform: rotate(2deg);
}
.bloom-about-art-main img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.bloom-about-art-small {
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 36%;
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 28px rgb(53 43 77 / 14%);
  transform: rotate(-7deg);
}
.bloom-about-art-small img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.bloom-about-art-badge {
  position: absolute;
  right: 0;
  bottom: 18px;
  padding: 10px 15px;
  border: 1px solid #e8def1;
  border-radius: 999px;
  background: #fff;
  color: #60349b;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 5px 16px rgb(53 43 77 / 9%);
}
.bloom-about #our-story,
.bloom-about #about-hero + section {
  background: #faf9fc;
}
.bloom-shop #hero {
  background: #fff;
  border-color: #e8def1;
}
.bloom-shop #hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}
.bloom-shop #hero h1 + p,
.bloom-shop #hero .text-slate-500 {
  color: #5f5271;
}
.bloom-shop #hero .bloom-shop-price-card {
  border-color: #e8def1;
  background: #fff;
  box-shadow: 0 12px 32px rgb(53 43 77 / 10%);
}
.bloom-shop #hero .bloom-shop-price-card > div:last-child {
  background: #f8f6fb;
}
.bloom-shop #hero .bloom-shop-price-card .text-purple-950 {
  color: #60349b;
}
.bloom-shop #hero .shop-reveal:last-child > div {
  border-color: #e8def1;
  background: #fff;
  box-shadow: 0 14px 34px rgb(53 43 77 / 10%);
}
.bloom-shop #inside {
  background: #faf9fc;
}
.bloom-shop #inside :is(.text-slate-400, .text-slate-500) {
  color: #655878;
}
.bloom-shop [data-create-order]:disabled {
  background: #e8def1;
  color: #655878;
  box-shadow: none;
  cursor: not-allowed;
}
@media (hover: hover) and (pointer: fine) {
  .bloom-home .bloom-home-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgb(53 43 77 / 13%);
  }
}
@media (max-width: 900px) {
  .bloom-about #about-hero > [class*="max-w-6xl"] {
    gap: 24px;
  }
}
@media (max-width: 639px) {
  .bloom-home .bloom-home-category > div {
    padding: 14px 12px 18px;
  }
  .bloom-home .bloom-home-category > div > span {
    width: 44px;
    height: 44px;
    font-size: 1.35rem;
  }
  .bloom-home .bloom-home-category h3 {
    font-size: 1rem;
  }
  .bloom-home .bloom-home-category p {
    font-size: 0.82rem;
  }
  .bloom-about #about-hero > [class*="max-w-6xl"] {
    padding-block: 38px;
  }
  .bloom-about-art {
    padding: 10px 12px 38px;
  }
  .bloom-about-motif {
    display: none;
  }
  .bloom-shop #hero > [class*="max-w-6xl"] {
    gap: 22px;
  }
}
@media (max-width: 380px) {
  .bloom-home .bloom-home-category {
    display: flex;
  }
  .bloom-home .bloom-home-category-grid {
    grid-template-columns: 1fr;
  }
}
/* Compact rhythm for the three marketing pages only. */
:is(.bloom-home, .bloom-about, .bloom-shop) .bloom-public-main > section {
  scroll-margin-top: 72px;
}
.bloom-home #home > [class*="max-w-6xl"] {
  padding-block: clamp(24px, 3.8vw, 52px);
}
.bloom-home #learning-areas .bloom-home-section-heading {
  margin-bottom: 22px;
}
.bloom-home #learning-areas .bloom-home-benefits {
  margin-top: 18px;
}
.bloom-home #how-it-works > [class*="max-w-7xl"],
.bloom-home #member-access > [class*="max-w-7xl"] {
  padding-block: clamp(8px, 1.5vw, 20px);
}
.bloom-home #how-it-works article {
  min-height: 0;
}
.bloom-home #how-it-works [style*="animation: bloomLine"] {
  animation: none;
  transform: scaleX(1);
}
/* SHOP HERO — PREMIUM COMPACT */
.bloom-shop #hero {
  padding-block: 0;
  background: #fff;
}
.bloom-shop #hero > [class*="max-w-6xl"] {
  min-height: 0;
  padding-block: 20px;
  gap: 28px;
}
@media (max-width: 639px) {
  .bloom-shop #hero > [class*="max-w-6xl"] {
    padding-block: 20px;
    gap: 20px;
  }
}
.bloom-about
  :is(#our-story, #mission-vision, #our-values, #what-we-offer, #about-cta) {
  padding-block: clamp(30px, 4vw, 54px);
}
.bloom-about
  :is(#our-story, #mission-vision, #our-values, #what-we-offer)
  [class*="mb-9"] {
  margin-bottom: 24px;
}
.bloom-about #our-story .bloom-about-story-panel {
  border-color: #e8def1;
  background: #fff;
  box-shadow: 0 12px 30px rgb(53 43 77 / 9%);
}
.bloom-about #our-story .bloom-about-story-panel > .grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}
.bloom-about-story-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 285px;
  overflow: hidden;
  padding: 22px;
  background: #f2eafb;
}
.bloom-about-story-visual img {
  display: block;
  width: min(100%, 330px);
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
  border: 6px solid #fff;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgb(53 43 77 / 12%);
}
.bloom-about-story-visual > span {
  position: absolute;
  right: 16px;
  bottom: 14px;
  border: 1px solid #e8def1;
  border-radius: 999px;
  background: #fff;
  padding: 7px 12px;
  color: #60349b;
  font-size: 0.75rem;
  font-weight: 800;
}
.bloom-about #our-story .bloom-about-story-panel > .grid > div:last-child {
  padding: 24px 28px;
}
.bloom-about #our-story .bloom-about-story-panel .space-y-4 {
  max-width: 65ch;
  text-align: left;
  line-height: 1.65;
}
.bloom-about
  #our-story
  .bloom-about-story-panel
  .space-y-4
  > :not(:first-child) {
  margin-top: 10px;
}
.bloom-about #our-story .bloom-about-story-panel .grid.gap-3 {
  margin-top: 20px;
}
.bloom-about #our-story .bloom-about-story-panel .grid.gap-3 > div {
  padding: 10px 8px;
  border-color: #e8def1;
  background: #faf8ff;
}
.bloom-about #our-story .bloom-about-story-panel .grid.gap-3 p {
  margin-top: 4px;
  line-height: 1.35;
}
.bloom-about #our-values .bloom-about-values-grid {
  align-items: stretch;
  gap: 14px;
}
.bloom-about #our-values .bloom-about-values-grid > article {
  min-height: 0;
  padding: 22px 20px;
  border: 1px solid #e8def1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 22px rgb(53 43 77 / 7%);
}
.bloom-about #our-values .bloom-about-values-grid > article:nth-child(1) {
  background: #f9f5ff;
}
.bloom-about #our-values .bloom-about-values-grid > article:nth-child(2) {
  background: #fff5fa;
}
.bloom-about #our-values .bloom-about-values-grid > article:nth-child(3) {
  background: #f3f8ff;
}
.bloom-about #our-values .bloom-about-values-grid > article > div:first-child {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 1.5rem;
  box-shadow: inset 0 0 0 1px rgb(96 52 155 / 8%);
}
.bloom-about #our-values .bloom-about-values-grid h3 {
  margin-top: 12px;
  color: #352b4d;
  font-size: 1.35rem;
}
.bloom-about #our-values .bloom-about-values-grid p {
  margin-top: 6px;
  color: #514365;
  line-height: 1.6;
}
.bloom-about #what-we-offer {
  background: #faf9fc;
}
.bloom-about #what-we-offer .bloom-about-offer-grid {
  align-items: stretch;
  gap: 14px;
}
.bloom-about #what-we-offer .bloom-about-offer-grid > article {
  min-height: 0;
  padding: 18px;
  border: 1px solid #e8def1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 7px 20px rgb(53 43 77 / 7%);
}
.bloom-about #what-we-offer .bloom-about-offer-grid > article > div:first-child,
.bloom-about #what-we-offer .bloom-category-symbol {
  display: grid;
  width: 50px;
  height: 50px;
  min-height: 50px;
  place-items: center;
  margin-inline: auto;
  border-radius: 16px;
  background: #f2eafb;
  font-size: 1.55rem;
  line-height: 1;
}
.bloom-about
  #what-we-offer
  .bloom-about-offer-grid
  > article:nth-child(4n + 2)
  > div:first-child,
.bloom-about
  #what-we-offer
  .bloom-category-card:nth-child(4n + 2)
  .bloom-category-symbol {
  background: #fff0f7;
}
.bloom-about
  #what-we-offer
  .bloom-about-offer-grid
  > article:nth-child(4n + 3)
  > div:first-child,
.bloom-about
  #what-we-offer
  .bloom-category-card:nth-child(4n + 3)
  .bloom-category-symbol {
  background: #eaf2ff;
}
.bloom-about #what-we-offer .bloom-about-offer-grid h3 {
  margin: 10px 0 4px;
  color: #352b4d;
  font-size: 1.08rem;
  line-height: 1.3;
}
.bloom-about #what-we-offer .bloom-about-offer-grid p {
  margin: 4px 0;
  color: #5f5271;
  line-height: 1.5;
}
.bloom-about #what-we-offer .bloom-category-count {
  margin-top: auto;
  color: #60349b;
  font-weight: 800;
}
.bloom-about #what-we-offer .bloom-category-examples {
  font-size: 0.77rem;
  color: #655878;
}
.bloom-shop :is(#inside, #how-it-works, #faq) {
  padding-block: clamp(30px, 4vw, 54px);
}
.bloom-shop :is(#inside, #how-it-works, #faq) [class*="mt-8"] {
  margin-top: 22px;
}
.bloom-shop #how-it-works article {
  min-height: 0;
  box-shadow: 0 7px 20px rgb(53 43 77 / 7%);
}
/* The footer is generated by components.js; its links and contact data stay untouched. */
.bloom-public #shared-footer > footer {
  background: linear-gradient(125deg, #29143f, #382456);
  color: #fff;
}
.bloom-public #shared-footer .bloom-footer-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px 24px;
  font-size: 14px;
  line-height: 1.5;
}
.bloom-public #shared-footer .bloom-footer-meta p { margin: 0; }
.bloom-public #shared-footer .bloom-footer-identity { overflow-wrap: anywhere; }
.bloom-public #shared-footer .bloom-footer-copyright { text-align: center; white-space: nowrap; }
.bloom-public #shared-footer .bloom-footer-legal {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.bloom-public #shared-footer .bloom-footer-legal a { white-space: nowrap; }
@media (max-width: 1100px) {
  .bloom-public #shared-footer .bloom-footer-meta { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .bloom-public #shared-footer .bloom-footer-legal { justify-content: center; }
}
@media (max-width: 390px) {
  .bloom-public #shared-footer .bloom-footer-copyright { white-space: normal; }
}
.bloom-public
  #shared-footer
  > footer
  > div.relative {
  padding-block: 32px;
}
.bloom-public
  #shared-footer
  > footer
  > div.relative
  > .grid {
  gap: 24px;
}
.bloom-public #shared-footer h3 {
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}
.bloom-public #shared-footer p {
  color: #f0e9f8;
  line-height: 1.6;
}
.bloom-public #shared-footer a {
  color: #fff;
  text-decoration: none;
  text-underline-offset: 4px;
}
.bloom-public #shared-footer a:hover {
  color: #e9d8ff;
  text-decoration: underline;
}
.bloom-public #shared-footer a[aria-label] {
  width: 40px;
  height: 40px;
  min-height: 40px;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 12px;
  background: rgb(255 255 255 / 9%);
  box-shadow: none;
}
.bloom-public #shared-footer a[aria-label]:hover {
  background: #60349b;
  transform: translateY(-2px);
}
.bloom-public
  #shared-footer
  [class*="border-white/10"] {
  border-color: rgb(255 255 255 / 20%);
}
@media (max-width: 1023px) {
  .bloom-about #our-story .bloom-about-story-panel > .grid {
    grid-template-columns: 1fr;
  }
  .bloom-about-story-visual {
    min-height: 230px;
  }
}
@media (max-width: 639px) {
  .bloom-about #our-story .bloom-about-story-panel > .grid > div:last-child {
    padding: 20px;
  }
  .bloom-about #our-values .bloom-about-values-grid > article {
    padding: 18px;
  }
  .bloom-public
    #shared-footer
    > footer
    > div.relative {
    padding-block: 28px;
  }
  .bloom-public
    #shared-footer
    > footer
    > div.relative
    > .grid {
    gap: 22px;
  }
}
