/* BioSift public site */
:root {
  --c-lime: #87b20c;
  --c-green: #649527;
  --c-forest: #225438;
  --c-bg: #f2f1e9;
  --c-ink: #1a2e22;
  --c-muted: #5a6b5e;
  --c-card: rgba(255, 255, 255, 0.72);
  --c-glass: rgba(255, 255, 255, 0.82);
  --c-border: rgba(34, 84, 56, 0.14);
  --font-display: "Fraunces", "Georgia", serif;
  --font-brand: "Montserrat", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --nav-h: 72px;
}

[data-theme="dark"] {
  --c-bg: #141a16;
  --c-ink: #eef2ea;
  --c-muted: #9fb0a4;
  --c-card: rgba(28, 38, 32, 0.88);
  --c-glass: rgba(22, 30, 26, 0.92);
  --c-border: rgba(135, 178, 12, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  /* Avoid bottom/side gutter flicker when page height toggles near the viewport */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-ink);
  line-height: 1.55;
  min-height: 100%;
  min-height: 100dvh;
  position: relative;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

body::before {
  content: "";
  position: fixed;
  /* Extend past the viewport so mobile rubber-band / dvh chrome never shows a seam */
  top: -25vh;
  right: 0;
  bottom: -25vh;
  left: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 70% at 0% 0%, rgba(135, 178, 12, 0.22), transparent 50%),
    radial-gradient(ellipse 80% 60% at 100% 8%, rgba(34, 84, 56, 0.16), transparent 45%),
    radial-gradient(ellipse 90% 70% at 50% 45%, rgba(135, 178, 12, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 55% at 10% 88%, rgba(34, 84, 56, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 50% at 92% 92%, rgba(135, 178, 12, 0.1), transparent 48%),
    var(--c-bg);
}

a { color: var(--c-forest); text-decoration: none; }
[data-theme="dark"] a { color: #b8e050; }
img { max-width: 100%; display: block; }

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  background: var(--c-glass);
  border-bottom: 1px solid var(--c-border);
}

.nav-brand img { height: 42px; width: auto; object-fit: contain; }

.burger {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid var(--c-border);
  background: var(--c-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s, background 0.2s;
}
.burger:hover {
  border-color: var(--c-lime);
  background: rgba(135, 178, 12, 0.08);
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 1px;
  flex-shrink: 0;
}

/* ── Drawer menu ── */
.menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.menu-drawer.open { pointer-events: auto; opacity: 1; }
.menu-drawer .backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
}

.menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 90vw);
  height: 100%;
  background: var(--c-glass);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--c-border);
  padding: 1rem 1.15rem 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-drawer.open .menu-panel { transform: translateX(0); }

.menu-close {
  align-self: flex-end;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 2px solid var(--c-border);
  background: var(--c-card);
  cursor: pointer;
  color: var(--c-ink);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s, background 0.2s;
}
.menu-close:hover {
  border-color: var(--c-lime);
  background: rgba(135, 178, 12, 0.08);
}

.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.menu-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 2px solid var(--c-border);
  background: var(--c-card);
  color: var(--c-ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
}
.menu-btn:hover {
  border-color: var(--c-lime);
  background: rgba(135, 178, 12, 0.08);
}
.menu-btn-primary {
  background: linear-gradient(135deg, var(--c-lime), var(--c-green));
  color: #fff !important;
  border-color: var(--c-green);
  transition: border-color 0.2s, background 0.2s, color 0.2s, filter 0.2s;
}
.menu-btn-primary:hover {
  color: #1a2e22 !important;
}
[data-theme="dark"] .menu-btn-primary:hover {
  color: #fff !important;
}
.menu-btn-cosmetics {
  background: linear-gradient(135deg, #f9a8d4, #db2777);
  color: #fff !important;
  border-color: #be185d;
  transition: border-color 0.2s, background 0.2s, color 0.2s, filter 0.2s;
}
.menu-btn:hover.menu-btn-cosmetics,
.menu-btn-cosmetics:hover {
  background: rgba(219, 39, 119, 0.1);
  border-color: #f472b6;
  color: #9d174d !important;
}
[data-theme="dark"] .menu-btn-cosmetics {
  background: linear-gradient(135deg, #f472b6, #9d174d);
  border-color: #f9a8d4;
}
[data-theme="dark"] .menu-btn:hover.menu-btn-cosmetics,
[data-theme="dark"] .menu-btn-cosmetics:hover {
  background: rgba(244, 114, 182, 0.14);
  border-color: #f9a8d4;
  color: #fff !important;
}

.menu-toggles {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 2px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.menu-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.menu-toggle-row > span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-ink);
}

/* Liquid-glass switches (inspired by app #liquidPill nav) */
.site-liquid-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  width: 86px;
  height: 40px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 4px 16px rgba(26, 64, 40, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  cursor: pointer;
  flex-shrink: 0;
}
[data-theme="dark"] .site-liquid-switch {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.site-liquid-pill {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc((100% - 8px) / 2);
  height: calc(100% - 8px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}
[data-theme="dark"] .site-liquid-pill {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.9);
}
.site-liquid-switch.active .site-liquid-pill {
  left: calc(4px + (100% - 8px) / 2);
}
.site-liquid-slot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  pointer-events: none;
}
.site-liquid-slot svg {
  width: 16px;
  height: 16px;
  display: block;
}
.site-liquid-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.site-liquid-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s, -webkit-text-fill-color 0.2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.95); }

.pressable {
  transition: transform 0.12s ease, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.pressable:active {
  transform: scale(0.95);
}
.modal .btn:active,
.cookie-bar .btn:active {
  transform: scale(0.95);
}

.btn-primary {
  background: linear-gradient(135deg, #7aa010, #4d7a1a);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  border-color: var(--c-green);
  box-shadow: 0 8px 24px rgba(77, 122, 26, 0.4);
}
.btn-primary:hover {
  background: rgba(135, 178, 12, 0.08);
  border-color: var(--c-lime);
  color: #1a2e22 !important;
  -webkit-text-fill-color: #1a2e22;
  box-shadow: none;
  text-shadow: none;
}
[data-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, #8fbe18, #4a7218);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  border-color: rgba(200, 230, 120, 0.25);
}
[data-theme="dark"] .btn-primary:hover {
  background: rgba(135, 178, 12, 0.08);
  border-color: var(--c-lime);
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  box-shadow: none;
  filter: none;
  text-shadow: none;
}

.btn-ghost {
  background: var(--c-card);
  color: var(--c-ink);
  border: 2px solid var(--c-border);
}
.btn-ghost:hover {
  border-color: var(--c-lime);
  background: rgba(135, 178, 12, 0.08);
}

/* ── Hero ── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  padding: 2.5rem 1.25rem 1.25rem;
  position: relative;
  overflow: visible;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-brand-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 3.5rem 4.5rem;
  min-width: min(100%, 420px);
  overflow: visible;
}

.hero-brand {
  font-family: var(--font-brand);
  font-size: clamp(3.35rem, 12vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--c-forest);
  margin: 0;
  position: relative;
  z-index: 2;
}
[data-theme="dark"] .hero-brand { color: var(--c-lime); }
.hero-brand span.sift { color: var(--c-lime); }
[data-theme="dark"] .hero-brand span.sift { color: #c8e850; }

.hero-veggies {
  position: absolute;
  inset: -10% -8%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.veg {
  position: absolute;
  display: block;
  object-fit: contain;
  animation: floaty 5.5s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.12));
  will-change: transform;
  user-select: none;
}
/* Symmetric orbit around BioSift */
.veg-1 { top: 4%; left: 0; width: 52px; height: 52px; animation-delay: 0s; }
.veg-2 { top: 4%; right: 0; width: 48px; height: 48px; animation-delay: 0.7s; }
.veg-3 { top: 40%; left: 0; width: 50px; height: 50px; animation-delay: 1.4s; }
.veg-4 { top: 40%; right: 0; width: 48px; height: 48px; animation-delay: 0.35s; }
.veg-5 { bottom: 6%; left: 10%; width: 50px; height: 50px; animation-delay: 2s; }
.veg-6 { bottom: 6%; right: 10%; width: 46px; height: 46px; animation-delay: 1.1s; }
.veg-7 { top: 20%; left: 14%; width: 42px; height: 42px; animation-delay: 2.5s; }
.veg-8 { top: 20%; right: 14%; width: 44px; height: 44px; animation-delay: 1.8s; }

@media (max-width: 560px) {
  .hero-brand-wrap {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 3.5rem 0 3.75rem;
  }
  .hero-brand {
    font-size: clamp(3.5rem, 15vw, 4.6rem);
    text-align: center;
  }
  .hero-veggies {
    inset: 0;
    width: 100%;
  }
  /* Strict L/R pairs — nothing piles on one side */
  .veg-1 { top: 2%; left: 8%; width: 40px; height: 40px; }
  .veg-2 { top: 2%; right: 8%; left: auto; width: 38px; height: 38px; }
  .veg-3 { top: 38%; left: 6%; width: 42px; height: 42px; }
  .veg-4 { top: 38%; right: 6%; left: auto; width: 40px; height: 40px; }
  .veg-5 { bottom: 4%; left: 14%; width: 40px; height: 40px; }
  .veg-6 { bottom: 4%; right: 14%; left: auto; width: 38px; height: 38px; }
  .veg-7 { top: 18%; left: 26%; width: 34px; height: 34px; }
  .veg-8 { top: 18%; right: 26%; left: auto; width: 36px; height: 36px; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

.hero h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4vw, 2.3rem);
  font-weight: 600;
  max-width: 22ch;
  margin: 0 auto 1rem;
  text-wrap: balance;
}
.hero p.lead {
  max-width: 34rem;
  color: var(--c-muted);
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  text-wrap: pretty;
}

.cta-stack { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.cta-auto-auth {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.cta-or { color: var(--c-muted); font-size: 0.9rem; font-weight: 600; }

/* Shared inline link hover — same as «открыть приложение на сайте» */
.cta-or a,
.soon-note a,
.faq-answer a,
.hub-adv-item a,
.cosmo-feedback-note a,
.reviews-fallback-link a,
.footer-links a,
.footer-contact a,
.footer-link-btn {
  border-radius: 6px;
  padding: 0.15em 0.35em;
  margin: -0.15em -0.35em;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.cta-or a,
.soon-note a,
.faq-answer a,
.hub-adv-item a,
.cosmo-feedback-note a,
.reviews-fallback-link a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-or a,
.faq-answer a,
.hub-adv-item a,
.reviews-fallback-link a {
  color: var(--c-forest);
}
.cta-or a:hover,
.soon-note a:hover,
.faq-answer a:hover,
.hub-adv-item a:hover,
.cosmo-feedback-note a:hover,
.reviews-fallback-link a:hover,
.footer-links a:hover,
.footer-contact a:hover,
.footer-link-btn:hover {
  color: var(--c-ink);
  background: rgba(135, 178, 12, 0.08);
  box-shadow: inset 0 0 0 1.5px var(--c-lime);
  text-decoration: none;
}
[data-theme="dark"] .cta-or a,
[data-theme="dark"] .faq-answer a,
[data-theme="dark"] .hub-adv-item a,
[data-theme="dark"] .reviews-fallback-link a {
  color: #b8e050;
}
[data-theme="dark"] .cta-or a:hover,
[data-theme="dark"] .soon-note a:hover,
[data-theme="dark"] .faq-answer a:hover,
[data-theme="dark"] .hub-adv-item a:hover,
[data-theme="dark"] .cosmo-feedback-note a:hover,
[data-theme="dark"] .reviews-fallback-link a:hover,
[data-theme="dark"] .footer-links a:hover,
[data-theme="dark"] .footer-contact a:hover,
[data-theme="dark"] .footer-link-btn:hover {
  color: #fff;
  background: rgba(135, 178, 12, 0.08);
  box-shadow: inset 0 0 0 1.5px var(--c-lime);
}

/* Cosmetics page: pink hover for content links (footer stays site-wide green) */
.cosmetics-body .cta-or a,
.cosmetics-body .soon-note a,
.cosmetics-body .faq-answer a,
.cosmetics-body .cosmo-feedback-note a {
  color: #9d174d;
}
.cosmetics-body .cta-or a:hover,
.cosmetics-body .soon-note a:hover,
.cosmetics-body .faq-answer a:hover,
.cosmetics-body .cosmo-feedback-note a:hover {
  color: var(--cosmo-ink);
  background: rgba(244, 114, 182, 0.1);
  box-shadow: inset 0 0 0 1.5px #f472b6;
  text-decoration: none;
}
[data-theme="dark"] .cosmetics-body .cta-or a,
[data-theme="dark"] .cosmetics-body .soon-note a,
[data-theme="dark"] .cosmetics-body .faq-answer a,
[data-theme="dark"] .cosmetics-body .cosmo-feedback-note a {
  color: #f9a8d4;
}
[data-theme="dark"] .cosmetics-body .cta-or a:hover,
[data-theme="dark"] .cosmetics-body .soon-note a:hover,
[data-theme="dark"] .cosmetics-body .faq-answer a:hover,
[data-theme="dark"] .cosmetics-body .cosmo-feedback-note a:hover {
  color: #fff;
  background: rgba(244, 114, 182, 0.14);
  box-shadow: inset 0 0 0 1.5px #f9a8d4;
}

/* Scroll cue pinned to the bottom of the first screen */
.hero .scroll-hint {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.75rem 1.25rem 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-muted);
  letter-spacing: 0.02em;
  animation: scroll-hint-in 0.65s ease 0.35s both;
}
@keyframes scroll-hint-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.scroll-hint-arrow {
  display: inline-flex;
  font-size: 1.15rem;
  line-height: 1;
  animation: scroll-hint-bounce 1.8s ease-in-out infinite;
}
.scroll-hint-arrow:last-child {
  animation-delay: 0.12s;
}
@keyframes scroll-hint-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ── Sections ── */
.section {
  padding: 5rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.75rem;
}
.section.centered { text-align: center; }
.section.centered .sub { margin-left: auto; margin-right: auto; }
.section .sub { color: var(--c-muted); max-width: 40rem; margin-bottom: 2rem; }

.usp-banner {
  margin: 0 auto 1rem;
  /* Match .section content width (1100px box minus horizontal padding) */
  max-width: calc(1100px - 2.5rem);
  width: calc(100% - 2.5rem);
  padding: 2.5rem 1.5rem;
  border-radius: 28px;
  background: linear-gradient(120deg, var(--c-forest), var(--c-green));
  color: #fff;
  text-align: center;
  box-sizing: border-box;
}
.usp-banner.reveal,
a.usp-banner.reveal {
  transition:
    opacity 0.75s ease,
    transform 0.75s ease,
    background 0.2s,
    box-shadow 0.2s,
    color 0.2s,
    filter 0.2s;
}
.usp-banner h3 { font-family: var(--font-display); margin: 0 0 0.5rem; color: #fff; }
.usp-banner p { margin: 0; opacity: 0.92; max-width: 36rem; margin-inline: auto; }

a.usp-banner {
  display: block;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, filter 0.2s, transform 0.2s;
}
/* Green clickable USP — same outline swap as pink cosmetics banner on /food */
a.usp-banner:hover {
  transform: none;
  filter: none;
  background: rgba(135, 178, 12, 0.1);
  box-shadow: inset 0 0 0 2px var(--c-lime);
  color: var(--c-forest);
}
a.usp-banner:hover h3,
a.usp-banner:hover p {
  color: var(--c-forest);
  opacity: 1;
}
[data-theme="dark"] a.usp-banner:hover {
  background: rgba(135, 178, 12, 0.12);
  box-shadow: inset 0 0 0 2px var(--c-lime);
  color: #fff;
}
[data-theme="dark"] a.usp-banner:hover h3,
[data-theme="dark"] a.usp-banner:hover p {
  color: #fff;
}
.usp-banner-cosmetics {
  background: linear-gradient(120deg, #9d174d, #ec4899 55%, #f9a8d4);
}
a.usp-banner.usp-banner-cosmetics:hover {
  transform: none;
  filter: none;
  background: rgba(219, 39, 119, 0.1);
  box-shadow: inset 0 0 0 2px #f472b6;
  color: #9d174d;
}
a.usp-banner.usp-banner-cosmetics:hover h3,
a.usp-banner.usp-banner-cosmetics:hover p {
  color: #9d174d;
  opacity: 1;
}
[data-theme="dark"] .usp-banner-cosmetics {
  background: linear-gradient(120deg, #4c0519, #be185d 50%, #db2777);
}
[data-theme="dark"] a.usp-banner.usp-banner-cosmetics:hover {
  background: rgba(244, 114, 182, 0.14);
  box-shadow: inset 0 0 0 2px #f9a8d4;
  color: #fff;
}
[data-theme="dark"] a.usp-banner.usp-banner-cosmetics:hover h3,
[data-theme="dark"] a.usp-banner.usp-banner-cosmetics:hover p {
  color: #fff;
}

/* ── Cosmetics landing (pink theme) ── */
.cosmetics-body {
  --cosmo-bio: #9d174d;
  --cosmo-sift: #f9a8d4;
  --cosmo-ink: #1a0a12;
  --cosmo-bg: #fff5f8;
}
.cosmetics-body::before {
  background:
    radial-gradient(ellipse 100% 70% at 0% 0%, rgba(244, 114, 182, 0.28), transparent 50%),
    radial-gradient(ellipse 80% 60% at 100% 8%, rgba(157, 23, 77, 0.16), transparent 45%),
    radial-gradient(ellipse 90% 70% at 50% 45%, rgba(249, 168, 212, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 55% at 10% 88%, rgba(219, 39, 119, 0.1), transparent 50%),
    radial-gradient(ellipse 60% 50% at 92% 92%, rgba(244, 114, 182, 0.14), transparent 48%),
    var(--cosmo-bg);
}
[data-theme="dark"] .cosmetics-body {
  --cosmo-bio: #fb7185;
  --cosmo-sift: #fbcfe8;
  --cosmo-ink: #fdf2f8;
  --cosmo-bg: #1a0f14;
}
[data-theme="dark"] .cosmetics-body::before {
  background:
    radial-gradient(ellipse 100% 70% at 0% 0%, rgba(244, 114, 182, 0.22), transparent 50%),
    radial-gradient(ellipse 80% 60% at 100% 8%, rgba(157, 23, 77, 0.28), transparent 45%),
    radial-gradient(ellipse 90% 70% at 50% 40%, rgba(190, 24, 93, 0.14), transparent 55%),
    var(--cosmo-bg);
}

.cosmo-brand {
  color: var(--cosmo-bio);
}
.cosmo-brand span.sift { color: var(--cosmo-sift); }
[data-theme="dark"] .cosmo-brand { color: var(--cosmo-bio); }
[data-theme="dark"] .cosmo-brand span.sift { color: var(--cosmo-sift); }

.cosmo-brand-wrap {
  position: relative;
}

.cosmo-brand-stack {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.cosmo-subbrand {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  margin: 0.08rem 0 0;
  white-space: nowrap;
  font-family: var(--font-brand);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.05rem, 3.2vw, 1.65rem);
  letter-spacing: 0.02em;
  color: var(--cosmo-ink);
  line-height: 1;
  pointer-events: none;
}

.cosmo-hero-title {
  max-width: none;
  text-wrap: unset;
  margin-left: auto;
  margin-right: auto;
}

.cosmo-title-line {
  display: block;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .cosmo-hero-title {
    font-size: clamp(1.15rem, 5vw, 1.45rem);
  }
  .cosmo-title-line {
    white-space: normal;
  }
}

.cosmo-lead {
  max-width: 40rem;
}

/* Match homepage brand position: same hero box + invisible homepage-sized block. */
.cosmetics-body .hero {
  min-height: calc(100vh - var(--nav-h));
}

.cosmo-hero-content {
  justify-content: center;
}

.cosmo-hero-anchor {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cosmo-hero-slot {
  position: relative;
  width: 100%;
  display: grid;
}

.cosmo-hero-ghost {
  grid-area: 1 / 1;
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

.cosmo-hero-ghost .cosmo-ghost-btn,
.cosmo-hero-ghost .cosmo-ghost-link {
  display: inline-flex;
}

.cosmo-hero-visible {
  grid-area: 1 / 1;
  width: 100%;
  position: relative;
}

.cosmetics-body .btn-primary {
  background: linear-gradient(135deg, #ec4899, #9d174d);
  border-color: #db2777;
  box-shadow: 0 8px 24px rgba(157, 23, 77, 0.35);
}
.cosmetics-body .btn-primary:hover {
  background: rgba(219, 39, 119, 0.1);
  border-color: #f472b6;
  color: #9d174d !important;
  -webkit-text-fill-color: #9d174d;
  box-shadow: none;
}
[data-theme="dark"] .cosmetics-body .btn-primary {
  background: linear-gradient(135deg, #f472b6, #9d174d);
  border-color: rgba(249, 168, 212, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .cosmetics-body .btn-primary:hover {
  background: rgba(244, 114, 182, 0.14);
  border-color: #f9a8d4;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  box-shadow: none;
}
.cosmetics-body .btn-ghost:hover {
  border-color: #f472b6;
  background: rgba(244, 114, 182, 0.1);
}

/* ── Why BioSift: alternating rows + scroll-scrubbed demos ── */
.why-section { max-width: 1100px; }
.why-intro {
  text-align: center;
}
.why-intro h3 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 0 0 0.75rem;
}
.why-intro .sub {
  margin: 0 auto 2.5rem;
  max-width: 36rem;
}

.why-rows {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.why-row {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2rem 1.5rem;
  border-radius: 28px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
}
@media (min-width: 800px) {
  .why-row {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    padding: 2.5rem 2.75rem;
  }
  .why-row-flip .why-row-copy { order: 2; }
  .why-row-flip .why-row-visual { order: 1; }
}

.why-row-copy h4 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
}
.why-row-copy p {
  margin: 0;
  color: var(--c-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 36rem;
}

.why-row-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 220px;
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 800px) {
  .why-row-visual { min-height: 260px; }
}

/* Label scan demo */
.bs-label {
  position: relative;
  width: 100%;
  max-width: 320px;
  padding: 1.65rem 1.45rem 1.85rem;
  border-radius: 20px;
  border: 2px solid var(--c-border);
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
[data-theme="dark"] .bs-label { background: rgba(0, 0, 0, 0.25); }
.bs-label-line {
  height: 13px;
  border-radius: 7px;
  background: rgba(34, 84, 56, 0.18);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0.35;
}
[data-theme="dark"] .bs-label-line { background: rgba(135, 178, 12, 0.28); }
.bs-label-line.short { width: 62%; }
.bs-label-check {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 48px;
  height: 48px;
  color: var(--c-lime);
  opacity: 0;
  transform: scale(0.6);
}
.bs-label-check svg { width: 100%; height: 100%; }

/* Score circle – как в app */
.bs-score {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.45);
}
[data-theme="dark"] .bs-score {
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.12);
}
.bs-score-inner {
  position: relative;
  z-index: 1;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  border-radius: 50%;
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px var(--c-border);
}
.bs-score-num {
  font-size: 2.65rem;
  font-weight: 900;
  line-height: 1;
  color: var(--c-ink);
  font-variant-numeric: tabular-nums;
}
.bs-score-label {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--c-muted);
}

/* Pref toggles */
.bs-pref-list {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.bs-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  border-radius: 16px;
  background: rgba(34, 84, 56, 0.04);
  border: 1px solid var(--c-border);
  font-size: 1rem;
  font-weight: 700;
  opacity: 0.4;
  transform: translateX(8px);
}
[data-theme="dark"] .bs-pref-row { background: rgba(0, 0, 0, 0.2); }

.bs-toggle {
  position: relative;
  width: 56px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(180, 180, 180, 0.45);
  padding: 0;
  cursor: default;
  flex-shrink: 0;
  pointer-events: none;
}
.bs-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.bs-toggle.active {
  background: #649527;
  border-color: rgba(255, 255, 255, 0.25);
}
.bs-toggle.active .bs-toggle-thumb { transform: translateX(24px); }

/* Tags */
.bs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  max-width: 380px;
}
.bs-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
}
.bs-tag .star { color: #f59e0b; font-size: 1rem; line-height: 1; }
.bs-tag.red { background: #fee2e2; color: #991b1b; }
.bs-tag.amber { background: #fef3c7; color: #92400e; }
.bs-tag.green { background: #d1fae5; color: #065f46; }
[data-theme="dark"] .bs-tag.red { background: rgba(239, 68, 68, 0.25); color: #fecaca; }
[data-theme="dark"] .bs-tag.amber { background: rgba(245, 158, 11, 0.25); color: #fde68a; }
[data-theme="dark"] .bs-tag.green { background: rgba(16, 185, 129, 0.25); color: #a7f3d0; }

.soon-note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.4rem;
  border-radius: 18px;
  border: 1px dashed rgba(135, 178, 12, 0.45);
  background: rgba(135, 178, 12, 0.06);
}
.soon-note-mark {
  flex-shrink: 0;
  color: var(--c-lime);
  font-size: 1.1rem;
  line-height: 1.4;
}
.soon-note strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}
.soon-note p {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.landing-promo {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.25rem;
  width: 100%;
  box-sizing: border-box;
  padding: 1.1rem 1.25rem;
  border-radius: 18px;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 48%, #fef3c7 100%);
  border: 1px solid rgba(234, 88, 12, 0.42);
  color: #9a3412;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.14);
}
.landing-promo:hover { opacity: 0.94; color: #9a3412; }
.landing-promo-icon {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(234, 88, 12, 0.14);
  color: #c2410c;
}
.landing-promo-copy { min-width: 0; flex: 1; }
.landing-promo-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-bottom: 0.2rem;
}
.landing-promo-body {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.4;
}
[data-theme="dark"] .landing-promo {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.18), rgba(249, 115, 22, 0.16));
  border-color: rgba(251, 191, 36, 0.42);
  color: #fde68a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}
[data-theme="dark"] .landing-promo:hover { color: #fde68a; }
[data-theme="dark"] .landing-promo-icon {
  background: rgba(251, 191, 36, 0.16);
  color: #facc15;
}
.landing-promo + .faq-block { margin-top: 1.75rem; }

/* FAQ */
.faq-block {
  margin-top: 3rem;
}
.faq-block h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 1.25rem;
  text-align: center;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  border-radius: 18px;
  border: 1px solid var(--c-border);
  background: var(--c-card);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  padding-right: 3rem;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.45;
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  transform: translateY(-50%) rotate(0deg);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--c-lime);
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.is-open summary::after {
  content: "×";
  transform: translateY(-50%) rotate(90deg);
}
.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.is-open .faq-answer-wrap,
.faq-item[open].is-open .faq-answer-wrap {
  grid-template-rows: 1fr;
}
.faq-answer {
  overflow: hidden;
  min-height: 0;
  padding: 0 1.35rem;
  color: var(--c-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 52rem;
  opacity: 0;
  transform: translateY(-2px);
  transition:
    opacity 0.2s ease,
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.is-open .faq-answer {
  opacity: 1;
  transform: translateY(0);
  padding: 0 1.35rem 1.25rem;
}

/* vs comparison cards */
.vs-section { max-width: 1100px; }
.vs-section h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 0.5rem;
  text-align: center;
}
.vs-section .sub { text-align: center; margin-inline: auto; margin-bottom: 1.5rem; }
.vs-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.vs-card {
  border-radius: 20px;
  border: 1px solid var(--c-border);
  background: var(--c-card);
  padding: 1.1rem 1.2rem 1.2rem;
}
.vs-card-feature {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.85rem;
  color: var(--c-ink);
}
.vs-card-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
@media (max-width: 560px) {
  .vs-card-cols { grid-template-columns: 1fr; }
}
.vs-col {
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  background: rgba(34, 84, 56, 0.05);
  border: 1px solid transparent;
}
[data-theme="dark"] .vs-col { background: rgba(0, 0, 0, 0.22); }
.vs-col-win {
  background: rgba(135, 178, 12, 0.14);
  border-color: rgba(135, 178, 12, 0.28);
}
.vs-col-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  margin-bottom: 0.3rem;
}
.vs-col-win .vs-col-label { color: var(--c-forest); }
[data-theme="dark"] .vs-col-win .vs-col-label { color: var(--c-lime); }
.vs-col-value {
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--c-ink);
}
.vs-col-win .vs-col-value { font-weight: 700; color: var(--c-forest); }
[data-theme="dark"] .vs-col-win .vs-col-value { color: var(--c-lime); }

/* Individual report demo – starred tags like «Аллергены и метки» */
.bs-pref-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.bs-pref-tag .star { color: #f59e0b; font-size: 1rem; line-height: 1; }
.bs-pref-tag.red { background: #fee2e2; color: #991b1b; }
.bs-pref-tag.amber { background: #fef3c7; color: #92400e; }
.bs-pref-tag.green { background: #d1fae5; color: #065f46; }
[data-theme="dark"] .bs-pref-tag.red { background: rgba(239, 68, 68, 0.35); color: #fecaca; }
[data-theme="dark"] .bs-pref-tag.amber { background: rgba(245, 158, 11, 0.35); color: #fde68a; }
[data-theme="dark"] .bs-pref-tag.green { background: rgba(16, 185, 129, 0.35); color: #a7f3d0; }
@media (max-width: 560px) {
  .bs-pref-tag {
    font-size: 0.8rem;
    padding: 0.42rem 0.7rem;
  }
}

/* Comedogenicity scale demo */
.bs-comedo-frame {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem 0.85rem 1.05rem;
  border: 1px solid var(--c-border);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 24px rgba(26, 46, 34, 0.08);
}
[data-theme="dark"] .bs-comedo-frame {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}
.bs-comedo-caption {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  width: auto;
  max-width: 100%;
  flex: 0 1 auto;
  color: var(--c-muted);
}
.bs-comedo-scale {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.bs-comedo-bars {
  display: flex;
  gap: 0.28rem;
  flex-shrink: 0;
}
.bs-comedo-bar {
  width: 1.15rem;
  height: 0.72rem;
  border-radius: 3px;
  background: #cbd5e1;
  transition: background 0.18s ease, transform 0.18s ease;
}
[data-theme="dark"] .bs-comedo-bar { background: rgba(255, 255, 255, 0.18); }
.bs-comedo-bar.on { transform: scaleY(1.08); }
.bs-comedo-num {
  min-width: 1.1rem;
  font-size: 1.15rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--c-ink);
  flex-shrink: 0;
}
@media (max-width: 560px) {
  .bs-comedo-frame {
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 0.9rem;
  }
}
.bs-skin-demo { max-width: 420px; }
.bs-skin-demo .bs-tag { white-space: nowrap; }
.bs-skin-match {
  --flip: 0;
  background: color-mix(in srgb, #d1fae5 calc((1 - var(--flip)) * 100%), #fee2e2 calc(var(--flip) * 100%));
  color: color-mix(in srgb, #065f46 calc((1 - var(--flip)) * 100%), #991b1b calc(var(--flip) * 100%));
}
[data-theme="dark"] .bs-skin-match {
  background: color-mix(in srgb, rgba(16, 185, 129, 0.35) calc((1 - var(--flip)) * 100%), rgba(239, 68, 68, 0.35) calc(var(--flip) * 100%));
  color: color-mix(in srgb, #a7f3d0 calc((1 - var(--flip)) * 100%), #fecaca calc(var(--flip) * 100%));
}
.bs-skin-label-stack {
  display: grid;
  justify-items: start;
}
.bs-skin-label-stack > * {
  grid-area: 1 / 1;
}
.bs-skin-ok { opacity: calc(1 - var(--flip)); }
.bs-skin-bad { opacity: var(--flip); }
.bs-skin-ing { font-family: var(--font-body); letter-spacing: 0.01em; }
@media (max-width: 420px) {
  .bs-skin-demo .bs-tag { white-space: normal; }
}

.soon-note a {
  /* Montserrat + slight stroke: Latin «Telegram» and Cyrillic match in weight */
  font-family: var(--font-brand);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--c-ink);
  white-space: nowrap;
  -webkit-text-stroke: 0.35px currentColor;
  paint-order: stroke fill;
}
[data-theme="dark"] .soon-note a { color: var(--c-ink); }

/* about page */
.about-page { max-width: 800px; }
.about-page h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
  text-align: center;
}
.about-page > .sub { text-align: center; margin-inline: auto; }
.about-blocks { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.about-blocks article {
  padding: 1.25rem 1.4rem;
  border-radius: 18px;
  border: 1px solid var(--c-border);
  background: var(--c-card);
}
.about-blocks h4 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.about-blocks p { margin: 0; color: var(--c-muted); line-height: 1.65; }

/* reviews page */
.reviews-page { max-width: 640px; }
.reviews-page h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
  text-align: center;
}
.reviews-page > .sub {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}
.reviews-widget-wrap {
  width: 100%;
  max-width: 560px;
  height: min(800px, 80vh);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-card);
}
.reviews-widget-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.reviews-fallback {
  max-width: 36rem;
  margin: 0 auto 0.5rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  border-radius: 18px;
  border: 1px dashed var(--c-border);
  background: var(--c-card);
  color: var(--c-muted);
}
.reviews-fallback p { margin: 0; line-height: 1.55; }
.reviews-fallback-link { margin-top: 0.85rem !important; }
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  transition-delay: calc(var(--d, 0) * 0.07s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ── Plans ── */
.plans-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.plans-wrap {
  width: 100%;
}
@media (min-width: 900px) {
  .plans-grid { grid-template-columns: repeat(4, 1fr); }
}

.plans-page.centered .plan-card {
  text-align: left;
}

.plan-card {
  border-radius: 22px;
  padding: 1.5rem;
  background: var(--c-card);
  border: 2px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.plan-card.featured {
  border-color: var(--c-lime);
  box-shadow: 0 8px 32px rgba(135, 178, 12, 0.22);
}
.plan-card.pro {
  border: none;
  position: relative;
  background: var(--c-card);
  box-shadow: 0 12px 40px rgba(135, 178, 12, 0.25);
}
.plan-card.pro::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 25px;
  background: linear-gradient(135deg, #d4f070, #87b20c, #225438, #7c3aed, #87b20c);
  z-index: -1;
}
.plan-card.pro::after {
  content: none;
  display: none;
}
.plan-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: linear-gradient(135deg, #87b20c, #225438);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  z-index: 1;
}

.plan-card h4 { margin: 0; font-family: var(--font-display); font-size: 1.45rem; }
.plan-price { font-size: 1.75rem; font-weight: 800; color: var(--c-forest); }
.plan-price-free { font-weight: 600; letter-spacing: -0.01em; }
[data-theme="dark"] .plan-price { color: #b8e050; }
.plan-meta { font-size: 0.82rem; color: var(--c-muted); min-height: 1.1em; }
.plan-card ul { list-style: none; padding: 0; margin: 0; flex: 1; text-align: left; }
.plan-card li {
  padding: 0.35rem 0;
  font-size: 0.86rem;
  border-bottom: 1px solid var(--c-border);
  display: flex;
  gap: 0.4rem;
  text-align: left;
  justify-content: flex-start;
}
.plan-card li.off { opacity: 0.38; }

/* ── Legal ── */
.legal-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 520px;
  margin: 1.5rem auto 0;
}
.legal-list a {
  display: block;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: var(--c-card);
  border: 2px solid var(--c-border);
  color: var(--c-ink);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.legal-list a:hover {
  border-color: var(--c-lime);
  background: rgba(135, 178, 12, 0.08);
}

.not-found {
  min-height: 50vh;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--c-muted);
}

/* ── Modal / cookie ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal-card {
  background: var(--c-bg);
  border-radius: 24px;
  padding: 1.75rem;
  max-width: 360px;
  width: 100%;
  border: 1px solid var(--c-border);
  text-align: center;
  transform: translateY(14px) scale(0.96);
  opacity: 0.85;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}
.modal.open .modal-card {
  transform: none;
  opacity: 1;
}
.modal-card h3 { margin: 0 0 1rem; font-family: var(--font-display); }

.cookie-bar {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  width: min(560px, calc(100% - 2rem));
  padding: 1rem;
  border-radius: 16px;
  background: var(--c-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--c-border);
  display: none;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.cookie-bar.show { display: flex; }
.cookie-bar p { margin: 0; font-size: 0.85rem; color: var(--c-muted); flex: 1; }

/* ── Footer: horizontal on desktop ── */
.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 1.25rem 2rem;
  border-top: 2px solid var(--c-border);
  background: rgba(34, 84, 56, 0.05);
}
[data-theme="dark"] .site-footer { background: rgba(0,0,0,0.25); }

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
  }
  .footer-brand { flex: 0 1 260px; }
  .footer-col { flex: 0 1 auto; }
}

.footer-brand .footer-logo {
  font-family: var(--font-brand);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--c-forest);
  margin-bottom: 0.35rem;
}
.footer-brand .footer-logo span.sift { color: var(--c-lime); }
[data-theme="dark"] .footer-brand .footer-logo { color: var(--c-lime); }
[data-theme="dark"] .footer-brand .footer-logo span.sift { color: #c8e850; }
.footer-brand p { margin: 0; font-size: 0.86rem; color: var(--c-muted); }

.footer-col h5 {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--c-muted);
  font-weight: 700;
}

.footer-links-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.5rem;
}
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links a,
.footer-contact a {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-ink);
  text-decoration: none;
}
.footer-link-btn {
  display: inline;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-ink);
  background: none;
  border: 0;
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  /* Match .footer-links a hover chrome (rounded selection) */
  border-radius: 6px;
  padding: 0.15em 0.35em;
  margin: -0.15em -0.35em;
  line-height: inherit;
}
[data-theme="dark"] .footer-links a,
[data-theme="dark"] .footer-contact a,
[data-theme="dark"] .footer-link-btn {
  color: var(--c-ink);
}

.footer-support {
  display: block;
  margin: 0 -0.35em 0.3rem;
  padding: 0.15em 0.35em;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.5;
}
.footer-support a {
  display: inline;
  padding: 0.1em 0.25em;
  margin: -0.1em -0.25em;
  border-radius: 6px;
}

.footer-contact > a { display: block; margin-bottom: 0.3rem; }

.footer-bottom {
  max-width: 1100px;
  margin: 1.75rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-direction: column-reverse;
  gap: 0.35rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}
.footer-bottom p { margin: 0; font-size: 0.8rem; color: var(--c-muted); }
.footer-entity { opacity: 0.85; font-size: 0.76rem !important; }

/* --- Hub home (/) --- */
.hub-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 0 !important;
  box-sizing: border-box;
  min-height: 0 !important;
  overflow: visible;
}
.hub-hero-fold {
  --hub-slot: min(400px, calc(100% - 2.5rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100svh - var(--nav-h));
  padding: 1.25rem 1.25rem 0.5rem;
  box-sizing: border-box;
}
/* Mobile: vertically center text card in the first fold */
@media (max-width: 899px) {
  .hub-hero-fold .hub-panel-stack {
    margin-top: auto;
    margin-bottom: auto;
  }
}
.hub-hero-media {
  --hub-slot: min(400px, calc(100% - 2.5rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.25rem 1.5rem;
  box-sizing: border-box;
}
.hub-hero-panel,
.hub-adv-panel {
  width: var(--hub-slot);
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: 22px;
  background: var(--c-card, rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(50, 80, 50, 0.12);
  box-shadow: 0 10px 28px rgba(20, 40, 20, 0.08);
  box-sizing: border-box;
  text-align: left;
}
[data-theme="dark"] .hub-hero-panel,
[data-theme="dark"] .hub-adv-panel {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.hub-panel-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.95rem;
  width: var(--hub-slot, min(400px, calc(100% - 2.5rem)));
  max-width: 100%;
  box-sizing: border-box;
}
.hub-panel-stack .hub-hero-panel,
.hub-panel-stack .hub-adv-panel {
  width: 100%;
}
.hub-emoji-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.45rem;
  padding: 0.15rem 0.1rem;
  pointer-events: none;
  user-select: none;
}
.hub-emoji {
  width: clamp(2.05rem, 5.8vw, 2.85rem);
  height: clamp(2.05rem, 5.8vw, 2.85rem);
  object-fit: contain;
  flex: 0 0 auto;
  animation: floaty 5.5s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.14));
  will-change: transform;
}
.hub-emoji-row .hub-emoji:nth-child(1) { animation-delay: 0s; }
.hub-emoji-row .hub-emoji:nth-child(2) { animation-delay: 0.55s; }
.hub-emoji-row .hub-emoji:nth-child(3) { animation-delay: 1.1s; }
.hub-emoji-row .hub-emoji:nth-child(4) { animation-delay: 0.3s; }
.hub-emoji-row .hub-emoji:nth-child(5) { animation-delay: 1.65s; }
.hub-emoji-row--bottom .hub-emoji:nth-child(1) { animation-delay: 0.8s; }
.hub-emoji-row--bottom .hub-emoji:nth-child(2) { animation-delay: 1.35s; }
.hub-emoji-row--bottom .hub-emoji:nth-child(3) { animation-delay: 0.2s; }
.hub-emoji-row--bottom .hub-emoji:nth-child(4) { animation-delay: 1.9s; }
.hub-emoji-row--bottom .hub-emoji:nth-child(5) { animation-delay: 0.95s; }
@media (prefers-reduced-motion: reduce) {
  .hub-emoji { animation: none; }
}
.hub-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.7rem);
  line-height: 1.12;
  margin: 0 0 0.85rem;
  color: var(--c-ink);
  text-align: left;
  max-width: none;
}
.hub-cta.cta-stack {
  align-items: flex-start;
  gap: 0.45rem;
  margin-bottom: 0.15rem;
}
.hub-hero-panel .cta-auto-auth {
  margin: 0;
  text-align: left;
  color: var(--c-muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.hub-hero-panel .cta-or {
  text-align: left;
  width: 100%;
}
.hub-methods-label {
  margin: 0.95rem 0 0.55rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-ink);
  text-align: left;
}
.hub-methods {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.hub-methods li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--c-ink);
}
.hub-method-ico {
  width: 1.55rem;
  height: 1.55rem;
  display: inline-flex;
  color: var(--c-green, #337b3b);
  flex-shrink: 0;
}
.hub-method-ico svg { width: 100%; height: 100%; }
.hub-lead {
  margin: 0.95rem 0 0 !important;
  max-width: none;
  text-align: left;
}
.hub-hero-phone,
.hub-adv-phone {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hub-hero-actions,
.hub-adv-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.hub-mock-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: min(400px, 100%);
  max-width: 100%;
  box-sizing: border-box;
}
/* Actions inherit phone width (don't let a wide button widen the column) */
.hub-mock-col .hub-hero-actions,
.hub-mock-col .hub-adv-actions {
  width: 0;
  min-width: 100%;
  align-items: center;
}
.hub-mock-col .hub-hero-actions .btn,
.hub-mock-col .hub-adv-actions .btn,
.hub-mock-col .btn-cosmetics-more {
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}
.hub-phone-mockup {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(20, 40, 20, 0.18));
}
.hub-hero-phone .hub-phone-mockup,
.hub-adv-phone .hub-phone-mockup {
  width: 100%;
  max-width: 100%;
  max-height: min(520px, 62svh);
}
.hub-mock-caption {
  margin: 0;
  font-size: 0.72rem;
  color: var(--c-muted);
  opacity: 0.75;
  text-align: center;
  max-width: 100%;
}
.btn-cosmetics-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  background: linear-gradient(135deg, #ec4899, #9d174d);
  border: 2px solid #db2777;
  box-shadow: 0 8px 24px rgba(157, 23, 77, 0.35);
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, -webkit-text-fill-color 0.2s, transform 0.15s;
}
.btn-cosmetics-more:hover {
  transform: translateY(-1px);
  background: rgba(219, 39, 119, 0.1);
  border-color: #f472b6;
  color: #9d174d !important;
  -webkit-text-fill-color: #9d174d;
  box-shadow: none;
  filter: none;
}
[data-theme="dark"] .btn-cosmetics-more {
  background: linear-gradient(135deg, #f472b6, #9d174d);
  border-color: rgba(249, 168, 212, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .btn-cosmetics-more:hover {
  background: rgba(244, 114, 182, 0.14);
  border-color: #f9a8d4;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  box-shadow: none;
}
/* Mobile: pin scroll hint to bottom of first fold, like /food */
.hub-scroll-hint {
  position: static !important;
  inset: auto !important;
  margin: auto 0 0 !important;
  padding: 0.75rem 0 0.35rem !important;
  justify-content: center;
  text-align: center;
  align-self: stretch;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .hub-hero {
    /* Same content width as .section / .soon-note (1100px − horizontal padding) */
    --hub-gap: 2.75rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-areas:
      "panel mock"
      "hint hint";
    column-gap: var(--hub-gap);
    row-gap: 0.55rem;
    align-items: center;
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 1.1rem 1.25rem 0.35rem;
    height: auto;
    min-height: calc(100svh - var(--nav-h));
    max-height: none;
    overflow: visible;
    box-sizing: border-box;
  }
  .hub-hero-fold,
  .hub-hero-media {
    display: contents;
  }
  .hub-hero .hub-panel-stack {
    grid-area: panel;
    align-self: center;
    justify-self: stretch;
    width: 100%;
    max-width: none;
  }
  .hub-hero-panel {
    width: 100%;
    max-width: none;
  }
  .hub-hero .hub-mock-col {
    grid-area: mock;
    align-self: center;
    justify-self: end;
    width: fit-content;
    max-width: 100%;
    /* Eat PNG transparent pad (~50px @1419) so bezel meets content edge */
    margin-right: -0.65rem;
  }
  .hub-scroll-hint {
    grid-area: hint;
    margin: 0 !important;
    padding: 0.2rem 0 0.1rem !important;
    justify-self: center;
  }
  .hub-hero-phone .hub-phone-mockup,
  .hub-adv-phone .hub-phone-mockup {
    width: auto;
    max-width: min(100%, 420px);
    height: auto;
    max-height: calc(100svh - var(--nav-h) - 9rem);
  }
}

.hub-adv-section {
  padding-top: 2.75rem;
  padding-bottom: 2rem;
}
.hub-adv-grid {
  --hub-slot: min(400px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  margin-bottom: 2rem;
}
/* Mobile: phone → caption/button → advantages; extra air for emoji rows */
@media (max-width: 899px) {
  .hub-adv-grid > .hub-mock-col { order: 1; }
  .hub-adv-grid > .hub-adv-stack { order: 2; }
  .hub-adv-section {
    padding-top: 1.35rem;
    padding-bottom: 2.5rem;
  }
  .hub-adv-grid {
    gap: 2.35rem;
    margin-bottom: 2.75rem;
  }
  .hub-adv-stack.hub-panel-stack {
    gap: 1.05rem;
    margin-block: 0.35rem 0.85rem;
  }
  .hub-hero .hub-panel-stack {
    gap: 0.9rem;
  }
  .hub-adv-section::before {
    content: "";
    display: block;
    width: min(11rem, 42%);
    height: 1px;
    margin: 0.35rem auto 2.15rem;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(50, 80, 50, 0.35) 20%,
      rgba(50, 80, 50, 0.35) 80%,
      transparent
    );
  }
  [data-theme="dark"] .hub-adv-section::before {
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.22) 20%,
      rgba(255, 255, 255, 0.22) 80%,
      transparent
    );
  }
}
.hub-adv-copy {
  width: var(--hub-slot);
  text-align: left;
  min-width: 0;
  box-sizing: border-box;
}
.hub-adv-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 1rem;
  text-align: left;
}
.hub-adv-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
}
/* Accordion chips contrast against panel (same panel as hero) */
.hub-adv-item.faq-item {
  background: var(--c-bg);
  border: 1px solid rgba(50, 80, 50, 0.14);
  overflow: hidden;
  border-radius: 14px;
  transition: background 0.28s ease, border-color 0.28s ease;
}
[data-theme="dark"] .hub-adv-item.faq-item {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.12);
}
.hub-adv-item.faq-item > summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  padding: 0.85rem 3rem 0.85rem 1rem;
  border-radius: 14px;
  background: transparent;
  border: 0;
  text-align: left;
}
.hub-adv-item.faq-item > summary::-webkit-details-marker { display: none; }
.hub-adv-item.faq-item > summary::after {
  left: auto;
  right: 1rem;
}
.hub-adv-item .faq-answer {
  text-align: left;
}
@media (min-width: 900px) {
  .hub-adv-grid {
    --hub-gap: 2.75rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "mock copy";
    column-gap: var(--hub-gap);
    row-gap: 0.55rem;
    align-items: center;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
  .hub-adv-grid > .hub-mock-col {
    grid-area: mock;
    align-self: center;
    justify-self: start;
    width: fit-content;
    max-width: 100%;
    /* Eat PNG transparent pad so bezel meets soon-note edge */
    margin-left: -0.65rem;
  }
  .hub-adv-copy {
    width: 100%;
    max-width: none;
  }
  .hub-adv-stack {
    grid-area: copy;
    align-self: center;
    justify-self: stretch;
    width: 100%;
    max-width: none;
  }
}

.hub-adv-section > .soon-note {
  margin-top: 0.5rem;
  clear: both;
}

/* Cosmetics page expansions */
.soon-note-cosmetics {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.16), rgba(219, 39, 119, 0.1));
  border-color: rgba(219, 39, 119, 0.28);
}
.soon-note-cosmetics .soon-note-mark {
  color: #db2777;
}
[data-theme="dark"] .soon-note-cosmetics {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(157, 23, 77, 0.14));
}
[data-theme="dark"] .soon-note-cosmetics .soon-note-mark {
  color: #f9a8d4;
}
.cosmetics-body .section.cosmo-below {
  padding-top: 1.25rem;
}
/* Cosmetics USP banners stay centered like /food */
.cosmetics-body .usp-banner.cosmo-skin-banner,
.cosmetics-body .usp-banner.cosmo-food-banner {
  text-align: center;
}
.cosmetics-body .usp-banner.cosmo-skin-banner p,
.cosmetics-body .usp-banner.cosmo-food-banner p {
  margin-inline: auto;
  max-width: 36rem;
}
/* Feedback note matches soon-note footprint (shared .soon-note styles) */
.cosmo-feedback-note {
  margin: 0 0 1rem;
  width: 100%;
  box-sizing: border-box;
}
.cosmetics-body .cta-auto-auth { color: var(--cosmo-ink); opacity: 0.65; }

/* Cosmetics FAQ — pink accents; dark theme uses deep pink cards */
.cosmetics-body .faq-item summary::after {
  color: #db2777;
}
[data-theme="dark"] .cosmetics-body .faq-item {
  background: rgba(88, 28, 50, 0.55);
  border-color: rgba(244, 114, 182, 0.28);
}
[data-theme="dark"] .cosmetics-body .faq-item summary::after {
  color: #f9a8d4;
}
[data-theme="dark"] .cosmetics-body .faq-item.is-open summary::after {
  color: #fbcfe8;
}

/* Bad photos carousel */
.badphotos-page { padding: 5.5rem 1.25rem 3rem; width: min(900px, 100%); margin: 0 auto; }
.badphotos-heading {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.9rem);
  text-align: center;
  margin: 0 0 1.5rem;
  line-height: 1.25;
}
.badphotos-carousel {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(50, 80, 50, 0.12);
}
[data-theme="dark"] .badphotos-carousel { background: rgba(255,255,255,0.04); }
.badphotos-viewport { overflow: hidden; }
.badphotos-track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
  touch-action: pan-y;
}
.badphotos-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a08;
}
.badphotos-slide img {
  display: block;
  width: 100%;
  max-height: min(70vh, 640px);
  object-fit: contain;
}
.badphotos-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.88);
  color: #1f2937;
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
[data-theme="dark"] .badphotos-nav {
  background: rgba(30, 30, 30, 0.88);
  color: #f5f5f5;
}
.badphotos-nav.prev { left: 0.65rem; }
.badphotos-nav.next { right: 0.65rem; }
