/* =============================================
   想说云 / Cloudmo — style.css
   Alimama FangYuan font, fixed position layout
   Brand: yellow + brown, soft healing aesthetic
   ============================================= */

/* ── Alimama Font ─────────────────────────── */
@font-face {
  font-family: "AlimamaFangYuan";
  src: url("./assets/fonts/alimama.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* Global font application */
body,
button,
a,
input,
textarea,
nav,
.nav-logo,
.nav-links a,
.label,
.headline,
.subtitle,
.body-text,
#about-overlay,
#about-overlay *,
#safety-overlay,
#safety-overlay *,
#privacy-overlay,
#privacy-overlay *,
#terms-overlay,
#terms-overlay *,
#side-drawer,
#side-drawer * {
  font-family: "AlimamaFangYuan", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand colors */
  --brand-yellow: #F6D76B;
  --brand-yellow-light: #FFE066;
  --brand-brown: #5C3A1E;
  --brand-brown-dark: #4B2F18;
  --brand-cream: #FFF8EF;
  --brand-sky: #DDEFFC;
  --brand-grass: #DDE8C7;
  --warm-cream: #FFF7EC;
  --warm-cream-deep: #F8EAD8;
  --soft-peach: #F5D8C7;
  --soft-apricot: #F1C995;
  --warm-yellow: #F3D66F;
  --warm-brown: #5B3A27;
  --warm-brown-soft: #7A5945;
  --soft-rose: #E8B6A6;
  --soft-sage: #D9E2C4;
  --terra-soft: #DFA08B;
  --garden-cream: #FFF9F0;
  --garden-cream-deep: #F7EDDD;
  --garden-green: #AFC98A;
  --garden-green-light: #DDE8C8;
  --garden-green-deep: #6F8658;
  --garden-orange: #E9A56F;
  --garden-orange-light: #F5D5B7;
  --garden-yellow: #F4D66E;
  --garden-brown: #5A3D2C;
  --garden-brown-soft: #836553;

  /* Supporting */
  --charcoal: #1A1714;
  --warm: #C9A87C;
  --accent: #E8A598;
  --fade: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
  background: var(--charcoal);
  color: var(--brand-cream);
  overflow: hidden;
  height: 100%;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

/* =============================================
   NAVBAR — soft, minimal, Apple-like
   ============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2.2rem;
  pointer-events: none;
}

#navbar > * {
  pointer-events: auto;
}

/* Top-left logo — no glass pill, just text */
.nav-logo {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #FFF8EF;
  text-decoration: none;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.20);
  background: transparent;
  border: none;
  box-shadow: none;
  transition: opacity 0.2s;
}

.nav-logo:hover {
  opacity: 0.85;
}

.nav-slash {
  color: var(--brand-yellow);
  margin: 0 0.3em;
}

/* Top-right nav — very subtle glass pill */
.nav-links {
  list-style: none;
  display: flex;
  gap: 0.2rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: #FFF8EF;
  text-decoration: none;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.18);
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--brand-yellow);
}

/* Nav CTA — Join Beta, visually clear */
.nav-cta {
  position: relative;
  z-index: 25;
  background: #FFD95A !important;
  color: #5C3A1E !important;
  font-weight: 750 !important;
  border-radius: 999px !important;
  padding: 9px 16px !important;
  box-shadow: 0 4px 14px rgba(92, 58, 30, 0.14) !important;
  text-shadow: none !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 58, 30, 0.22) !important;
  background: #FFE066 !important;
  color: #5C3A1E !important;
}

/* Beta trigger buttons - explicit pointer-events */
.beta-trigger {
  position: relative;
  z-index: 25;
  pointer-events: auto;
}

#nav-lang {
  font-weight: 650;
  cursor: pointer;
}

/* =============================================
   COMING SOON MODAL
   ============================================= */
#coming-soon-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 23, 20, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#coming-soon-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.coming-soon-inner {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(92, 58, 30, 0.08);
  border-radius: 20px;
  padding: 2.5rem 2.2rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 16px 40px rgba(92, 58, 30, 0.12);
  transform: translateY(12px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#coming-soon-modal.is-open .coming-soon-inner {
  transform: translateY(0) scale(1);
}

.coming-soon-text {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.7;
  color: #5C3A1E;
  margin-bottom: 1.8rem;
}

.coming-soon-close {
  font-family: "AlimamaFangYuan", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #5C3A1E;
  background: var(--brand-yellow);
  border: none;
  border-radius: 999px;
  padding: 0.9rem 2.4rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(246, 215, 107, 0.4);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.coming-soon-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(246, 215, 107, 0.55);
  background: var(--brand-yellow-light);
}

.coming-soon-close:focus-visible {
  outline: 2px solid var(--brand-brown);
  outline-offset: 3px;
}

/* =============================================
   SCROLL INDICATOR — bottom center, first screen only
   ============================================= */
.scroll-indicator {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.8rem 1.2rem;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-indicator.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
  pointer-events: none;
}

.scroll-indicator-text {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--brand-cream);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
}

.scroll-indicator-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cream);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
  animation: chevronBounce 2.2s ease-in-out infinite;
}

.scroll-indicator-chevron svg {
  width: 28px;
  height: 28px;
}

@keyframes chevronBounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateY(10px);
    opacity: 0.4;
  }
}

/* =============================================
   ABOUT OVERLAY
   ============================================= */
#about-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background:
    radial-gradient(circle at 20% 15%, rgba(245, 216, 199, 0.65), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(243, 214, 111, 0.28), transparent 32%),
    linear-gradient(155deg, #FFF7EC 0%, #F8EAD8 48%, #E7E4C9 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#about-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* About page nav adjustments — switch to brown */
body.about-open #navbar .nav-logo {
  color: #5C3A1E;
  text-shadow: none;
}

body.about-open #navbar .nav-links {
  background: rgba(255, 248, 239, 0.72);
  border: 1px solid rgba(92, 58, 30, 0.10);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

body.about-open #navbar .nav-links a:not(.nav-cta) {
  color: #5C3A1E;
  text-shadow: none;
}

body.about-open #navbar .nav-links a:not(.nav-cta):hover {
  background: rgba(92, 58, 30, 0.08);
  color: #5C3A1E;
}

body.about-open #navbar .nav-slash {
  color: #5C3A1E;
}

.about-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 5rem 2.5rem 4rem;
  position: relative;
}

.about-inner::before {
  content: "";
  position: fixed;
  top: 8rem;
  left: 2rem;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(245, 216, 199, 0.18);
  opacity: 0.8;
  filter: blur(10px);
  pointer-events: none;
  z-index: 1;
}

.about-inner::after {
  content: "";
  position: fixed;
  bottom: 4rem;
  right: 2rem;
  width: 150px;
  height: 90px;
  border-radius: 999px;
  background: rgba(217, 226, 196, 0.22);
  opacity: 0.9;
  filter: blur(12px);
  pointer-events: none;
  z-index: 1;
}

.about-close {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  z-index: 210;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(92, 58, 30, 0.08);
  color: var(--brand-brown);
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.about-close:hover {
  background: rgba(92, 58, 30, 0.18);
  transform: rotate(90deg);
}

.about-hero {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.about-title {
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--brand-brown);
  margin-bottom: 1.5rem;
}

.about-lead {
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: var(--brand-brown-dark);
  max-width: 680px;
  margin: 0 auto;
}

.about-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(92, 58, 30, 0.1);
  border-radius: 24px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  z-index: 2;
}

.about-card p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--brand-brown);
  margin-bottom: 1.2rem;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-section {
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.about-section h3 {
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  line-height: 1.3;
  color: var(--brand-brown-dark);
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--brand-yellow);
}

.about-section ul {
  margin-left: 0;
  margin-bottom: 1rem;
  list-style: none;
}

.about-section li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--brand-brown);
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 1.8rem;
}

.about-section li::before {
  content: "🌱";
  position: absolute;
  left: 0;
  top: 0.15rem;
  font-size: 0.9rem;
  opacity: 0.6;
}

.method-card {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(92, 58, 30, 0.08);
}

.method-card h4 {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-brown-dark);
  margin-bottom: 0.5rem;
}

.method-card h4 span {
  font-weight: 400;
  opacity: 0.8;
}

.method-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--brand-brown);
  margin-bottom: 0;
}

.garden-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(221,232,199,0.3) 100%);
}

.belief-box {
  background: rgba(246, 215, 107, 0.15);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin-top: 1.5rem;
  border-left: 4px solid var(--brand-yellow);
}

.belief-box p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--brand-brown-dark);
  margin-bottom: 0.6rem;
}

.belief-box p:first-child {
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-closing {
  text-align: center;
  padding: 3rem 0 2rem;
  position: relative;
  z-index: 2;
}

.about-end {
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--brand-brown-dark);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.about-end::before,
.about-end::after {
  content: " ~ ";
  color: var(--brand-yellow);
}

.about-cta {
  position: relative;
  z-index: 25;
  display: inline-block;
  padding: 1rem 2.8rem;
  background: var(--brand-yellow);
  color: var(--brand-brown-dark);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 20px rgba(246, 215, 107, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.about-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 28px rgba(246, 215, 107, 0.55);
}

/* =============================================
   VIDEO BACKGROUNDS
   ============================================= */
#video-container {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background: linear-gradient(to bottom, #AEE2FF, #DDEFC8);
  pointer-events: none;
}

.bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
  background: transparent;
}

.bg-video.active {
  opacity: 1;
}

/* =============================================
   OVERLAY
   ============================================= */
#overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(26, 23, 20, 0.15) 0%,
    rgba(26, 23, 20, 0.02) 40%,
    rgba(26, 23, 20, 0.06) 70%,
    rgba(26, 23, 20, 0.35) 100%
  );
  pointer-events: none;
}

/* =============================================
   TEXT LAYER
   ============================================= */
#text-layer {
  position: fixed;
  inset: 0;
  z-index: 25;
  pointer-events: none;
}

/* =============================================
   TEXT PANELS
   ============================================= */
.text-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--fade);
}

.text-panel.is-visible {
  opacity: 1;
}

/* =============================================
   TEXT CONTENT — unified text block
   ============================================= */
.text-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  text-align: left;
  pointer-events: none;
}

.text-content > * {
  pointer-events: none;
}

.text-panel.is-visible a,
.text-panel.is-visible button {
  pointer-events: auto;
}

/* Width variants */
.text-content {
  max-width: min(42vw, 680px);
}

.text-content.narrow {
  max-width: min(34vw, 560px);
}

/* ── Fixed position classes ── */
.pos-safe-left-top {
  left: 4vw;
  top: 12vh;
}

.pos-safe-right-top {
  right: 5vw;
  top: 12vh;
  align-items: flex-start;
}

.pos-safe-left-mid {
  left: 4vw;
  top: 22vh;
}

.pos-safe-right-mid {
  right: 5vw;
  top: 22vh;
  align-items: flex-start;
}

.pos-safe-center-top {
  left: 50%;
  top: 10vh;
  transform: translateX(-50%);
  text-align: left;
  align-items: flex-start;
}

/* =============================================
   TYPOGRAPHY — Homepage
   ============================================= */
.label {
  font-size: clamp(0.9rem, 1.2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #FFD95A;
  margin-bottom: 18px;
  text-transform: none;
}

.headline {
  font-weight: 700;
  font-size: clamp(52px, 5vw, 86px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #FFF8EF;
  margin-bottom: 0.3rem;
}

.subtitle {
  font-weight: 400;
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: rgba(255, 248, 239, 0.94);
  margin-top: 24px;
}

.body-text {
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: rgba(255, 248, 239, 0.85);
  margin-top: 16px;
}

/* Text shadow for legibility on video */
.label,
.headline,
.subtitle,
.body-text {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

/* =============================================
   SCROLL NUDGE (legacy, kept for compatibility)
   ============================================= */
.scroll-nudge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 2.5rem;
  opacity: 0.45;
  pointer-events: auto;
}

.nudge-line {
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, var(--brand-yellow), transparent);
  border-radius: 1px;
  animation: nudgePulse 2.2s ease-in-out infinite;
}

.nudge-text {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--brand-cream);
  opacity: 0.75;
}

@keyframes nudgePulse {
  0%,100% { opacity: 0.35; transform: scaleY(1); }
  50%      { opacity: 0.9; transform: scaleY(0.5); }
}

/* =============================================
   CTA — brand yellow, single button
   ============================================= */
.cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  margin-top: 2.5rem;
  pointer-events: none;
}

.cta-group a {
  pointer-events: auto;
}

.text-panel:not(.is-visible) a,
.text-panel:not(.is-visible) button {
  pointer-events: none !important;
}

.cta-primary {
  position: relative;
  z-index: 25;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  letter-spacing: 0.03em;
  color: var(--brand-brown-dark);
  background: var(--brand-yellow);
  text-decoration: none;
  padding: 1.1rem 3rem;
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(246, 215, 107, 0.45);
  transition: background 0.22s, transform 0.18s, box-shadow 0.22s;
  white-space: nowrap;
}

.cta-primary:hover {
  background: var(--brand-yellow-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(246, 215, 107, 0.6);
}

/* =============================================
   SCROLL SNAP ROOT
   ============================================= */
#scroll-root {
  position: fixed;
  inset: 0;
  z-index: 20;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  pointer-events: auto;
  width: 100vw;
  height: 100vh;
}

.snap-sec {
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  pointer-events: none;
}

/* =============================================
   PROGRESS DOTS
   ============================================= */
#progress-dots {
  position: fixed;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: auto;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(244, 239, 230, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.dot.active {
  background: var(--brand-yellow);
  transform: scale(1.6);
}

/* Screen 6 specific fix - smaller headline to avoid overlapping Little Cloud */
.screen-6-fix .headline {
  font-size: clamp(48px, 4.5vw, 78px);
}

.screen-6-fix .subtitle {
  font-size: clamp(24px, 2vw, 32px);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  #navbar {
    padding: 0.8rem 0.85rem;
    gap: 0.45rem;
  }

  .nav-logo {
    font-size: 0.76rem;
    line-height: 1.2;
    flex: 1 1 24vw;
    min-width: 4.4rem;
    max-width: 24vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links {
    flex: 0 1 auto;
    padding: 4px 4px;
    gap: 0.02rem;
    max-width: calc(100vw - 2.2rem - 24vw);
    overflow: visible;
  }

  .nav-links li {
    display: flex;
    align-items: center;
  }

  .nav-links a {
    font-size: 0.68rem;
    line-height: 1;
    padding: 6px 6px;
    white-space: nowrap;
  }

  .nav-cta {
    padding: 7px 9px !important;
    min-height: 32px;
    display: inline-flex !important;
    align-items: center;
  }

  .text-content,
  .text-content.narrow {
    max-width: 88vw;
    left: 6vw !important;
    right: auto !important;
    top: 10vh !important;
    transform: none !important;
    align-items: flex-start;
    text-align: left;
  }

  .headline {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.15;
    letter-spacing: 0;
  }

  .subtitle {
    font-size: clamp(18px, 4.8vw, 22px);
    line-height: 1.5;
    margin-top: 14px;
  }

  .label {
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 10px;
  }

  .screen-6-fix .headline {
    font-size: clamp(34px, 10vw, 48px);
  }

  .screen-6-fix .subtitle {
    font-size: clamp(18px, 4.8vw, 22px);
  }

  .cta-primary { 
    white-space: normal; 
    text-align: center; 
    padding: 0.9rem 1.45rem;
    min-height: 44px;
    max-width: 88vw;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1.25;
  }

  .cta-group {
    margin-top: 1.6rem;
    align-items: flex-start;
  }

  .bg-video {
    object-fit: cover;
    object-position: center center;
  }

  #vid-0,
  #vid-9 {
    object-position: center center;
  }

  #vid-1,
  #vid-8 {
    object-position: 42% center;
  }

  #vid-2,
  #vid-3,
  #vid-4 {
    object-position: 38% center;
  }

  #vid-5,
  #vid-6,
  #vid-7 {
    object-position: 50% center;
  }

  .scroll-indicator {
    bottom: 1.4rem;
    gap: 0.45rem;
    padding: 0.6rem 0.9rem;
  }

  .scroll-indicator-text {
    font-size: 0.62rem;
  }

  .scroll-indicator-chevron svg {
    width: 22px;
    height: 22px;
  }

  .coming-soon-inner {
    padding: 2rem 1.8rem;
  }

  .coming-soon-text {
    font-size: 1rem;
  }

  #progress-dots {
    display: none;
  }

  .about-inner {
    padding: 5rem 1.2rem 3rem;
  }

  .about-title {
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 1.15;
  }

  .about-lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .about-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .about-card {
    padding: 1.4rem;
    border-radius: 20px;
  }

  .about-card p,
  .about-section li {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .about-section h3 {
    font-size: clamp(1.18rem, 5vw, 1.42rem);
    margin-bottom: 1.1rem;
  }

  .method-card {
    padding: 1.1rem;
  }

  .about-cta,
  .coming-soon-close {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .bg-video,
  .text-panel {
    transition: none;
  }
  .nudge-line {
    animation: none;
  }
  .scroll-indicator-chevron {
    animation: none;
  }
  .coming-soon-inner {
    transition: none;
  }
}


/* =============================================
   SIDE DRAWER + SUPPORT OVERLAYS
   ============================================= */
.nav-menu-btn {
  width: 38px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.18);
  color: var(--brand-cream);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-menu-btn span {
  width: 15px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.nav-menu-btn:hover,
.nav-menu-btn[aria-expanded="true"] {
  background: rgba(255, 248, 239, 0.28);
  transform: translateY(-1px);
}

body.about-open .nav-menu-btn,
body.support-open .nav-menu-btn,
body.drawer-open .nav-menu-btn {
  color: var(--warm-brown);
  text-shadow: none;
  background: rgba(91, 58, 39, 0.08);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(45, 31, 22, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 260;
  width: min(410px, 100vw);
  height: 100vh;
  padding: 1.35rem;
  background:
    radial-gradient(circle at 20% 10%, rgba(245, 216, 199, 0.6), transparent 35%),
    linear-gradient(155deg, rgba(255, 247, 236, 0.97), rgba(248, 234, 216, 0.97));
  color: var(--warm-brown);
  box-shadow: -24px 0 60px rgba(91, 58, 39, 0.18);
  transform: translateX(105%);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.side-drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.drawer-brand {
  font-weight: 750;
  color: var(--warm-brown);
  letter-spacing: 0.02em;
}

.drawer-close,
.page-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(91, 58, 39, 0.08);
  background: rgba(255, 255, 255, 0.48);
  color: var(--warm-brown);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.drawer-close:hover,
.page-close:hover {
  background: rgba(245, 216, 199, 0.7);
  transform: rotate(90deg);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer-link,
.drawer-cta {
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.34);
  color: var(--warm-brown);
  font-size: 1rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.drawer-link:hover,
.drawer-link:focus-visible {
  background: rgba(245, 216, 199, 0.58);
  transform: translateX(-2px);
}

.drawer-link-featured {
  background: rgba(243, 214, 111, 0.34);
  box-shadow: inset 0 0 0 1px rgba(91, 58, 39, 0.06);
}

.drawer-cta {
  justify-content: center;
  background: var(--warm-yellow);
  box-shadow: 0 8px 24px rgba(91, 58, 39, 0.12);
}

.drawer-separator {
  height: 1px;
  margin: 0.55rem 0;
  background: rgba(91, 58, 39, 0.12);
}

.drawer-social-section {
  margin-top: 0.65rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(90, 61, 44, 0.12);
}

.drawer-section-label {
  margin-bottom: 0.65rem;
  color: rgba(90, 61, 44, 0.68);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.drawer-social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-social-link {
  min-height: 52px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem;
  border-radius: 16px;
  color: var(--garden-brown, var(--warm-brown));
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(90, 61, 44, 0.08);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 650;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.drawer-social-link:hover {
  background: rgba(221, 232, 200, 0.62);
  border-color: rgba(111, 134, 88, 0.22);
  transform: translateY(-1px);
}

.drawer-social-link:focus-visible {
  outline: 2px solid var(--garden-yellow, var(--warm-yellow));
  outline-offset: 3px;
  background: rgba(255, 255, 255, 0.62);
}

.external-link-icon {
  flex: 0 0 auto;
  font-size: 0.95rem;
  opacity: 0.62;
}

.page-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  transition: opacity 0.35s ease;
  -webkit-overflow-scrolling: touch;
}

.page-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.safety-overlay,
.legal-overlay {
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 216, 199, 0.68), transparent 34%),
    radial-gradient(circle at 86% 16%, rgba(217, 226, 196, 0.36), transparent 30%),
    linear-gradient(155deg, #FFF7EC 0%, #F8EAD8 50%, #EFE5CC 100%);
}

.page-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 5rem 2.4rem 4rem;
  color: var(--warm-brown);
  position: relative;
}

.page-close {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  z-index: 215;
}

.safety-hero {
  max-width: 820px;
  margin-bottom: 2rem;
}

.safety-hero h1,
.legal-card h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.12;
  margin-bottom: 0.85rem;
  color: var(--warm-brown);
}

.safety-hero h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  margin-bottom: 1rem;
  color: var(--warm-brown-soft);
}

.safety-hero p,
.support-card p,
.legal-card p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--warm-brown-soft);
}

.safety-tabs {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.4rem;
  margin: 0 0 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(91, 58, 39, 0.08);
}

.safety-tab {
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: transparent;
  color: var(--warm-brown-soft);
  font-weight: 700;
  cursor: pointer;
}

.safety-tab.active,
.safety-tab[aria-selected="true"] {
  color: var(--warm-brown);
  background: var(--warm-yellow);
  box-shadow: 0 6px 18px rgba(91, 58, 39, 0.1);
}

.safety-region {
  display: none;
}

.safety-region.active {
  display: block;
}

.support-card,
.legal-card {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(91, 58, 39, 0.08);
  border-radius: 22px;
  padding: 1.45rem;
  margin-bottom: 1rem;
  box-shadow: 0 14px 34px rgba(91, 58, 39, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.support-card h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--warm-brown);
  margin-bottom: 0.7rem;
}

.urgent-card {
  background: linear-gradient(135deg, rgba(245, 216, 199, 0.88), rgba(232, 182, 166, 0.48));
  border-color: rgba(122, 89, 69, 0.16);
}

.primary-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(243, 214, 111, 0.22));
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.support-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--warm-brown);
  background: var(--warm-yellow);
  text-decoration: none;
  font-weight: 750;
  box-shadow: 0 6px 16px rgba(91, 58, 39, 0.1);
}

.support-actions a:hover,
.support-actions a:focus-visible {
  background: var(--brand-yellow-light);
}

.support-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.support-tags span {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(217, 226, 196, 0.6);
  color: var(--warm-brown);
  font-size: 0.82rem;
  font-weight: 700;
}

.two-col,
.safety-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.support-list .support-card,
.two-col .support-card,
.safety-footer-grid .support-card {
  margin-bottom: 0;
}

.legal-inner {
  max-width: 760px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.legal-card {
  padding: clamp(2rem, 5vw, 3.2rem);
}

body.drawer-open,
body.support-open,
body.modal-open {
  overflow: hidden;
}

body.support-open #navbar .nav-logo,
body.support-open #navbar .nav-links a:not(.nav-cta),
body.drawer-open #navbar .nav-logo,
body.drawer-open #navbar .nav-links a:not(.nav-cta) {
  color: var(--warm-brown);
  text-shadow: none;
}

body.support-open #navbar .nav-links,
body.drawer-open #navbar .nav-links {
  background: rgba(255, 248, 239, 0.74);
  border-color: rgba(91, 58, 39, 0.1);
}

@media (max-width: 768px) {
  .nav-menu-btn {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
  }

  .side-drawer {
    width: min(100vw, 430px);
    padding: 1.1rem;
  }

  .drawer-social-section {
    margin-top: 0.55rem;
    padding-top: 0.75rem;
  }

  .drawer-social-link {
    min-height: 48px;
    padding: 0 0.9rem;
    font-size: 0.95rem;
  }

  .drawer-social-links {
    gap: 0.45rem;
  }


  .page-inner {
    padding: 5rem 1.15rem 3rem;
  }

  .page-close {
    top: 1rem;
    right: 1rem;
  }

  .safety-tabs {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    border-radius: 20px;
  }

  .safety-tab {
    min-height: 44px;
  }

  .support-list,
  .two-col,
  .safety-footer-grid {
    grid-template-columns: 1fr;
  }

  .support-card,
  .legal-card {
    padding: 1.2rem;
    border-radius: 20px;
  }

  .support-actions {
    flex-direction: column;
  }

  .safety-overlay::before {
    opacity: 0.055;
    height: 18vh;
  }

  .safety-inner::before,
  .safety-inner::after,
  .support-card::after {
    opacity: 0.04;
  }

  .safety-hero::before {
    opacity: 0.2;
  }

  .trust-card {
    padding: 1rem 1rem 1rem 2.75rem;
  }

  .cloudmo-footer-note {
    padding-left: 1.7rem;
  }

  .treatment-card {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .side-drawer {
    justify-content: flex-start;
  }

  .support-actions a {
    width: 100%;
  }
}



/* Safety garden refinement */
.safety-overlay {
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 213, 183, 0.7), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(221, 232, 200, 0.75), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(175, 201, 138, 0.28), transparent 38%),
    linear-gradient(155deg, var(--garden-cream) 0%, #F8ECDD 52%, #EEF1DA 100%);
}

.safety-overlay::before {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28vh;
  pointer-events: none;
  opacity: 0.09;
  background:
    radial-gradient(ellipse at 18% 100%, var(--garden-green-deep), transparent 54%),
    radial-gradient(ellipse at 82% 100%, var(--garden-green), transparent 48%),
    linear-gradient(to top, var(--garden-green), transparent 72%);
}

.safety-inner {
  max-width: 1040px;
  isolation: isolate;
}

.safety-inner > * {
  position: relative;
  z-index: 1;
}

.safety-inner::before,
.safety-inner::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.09;
  filter: blur(1px);
  transform: rotate(-18deg);
}

.safety-inner::before {
  width: 180px;
  height: 96px;
  right: -2rem;
  top: 7rem;
  border-radius: 80% 20% 75% 25%;
  background: var(--garden-green-deep);
}

.safety-inner::after {
  width: 150px;
  height: 76px;
  left: -3rem;
  top: 24rem;
  border-radius: 20% 80% 25% 75%;
  background: var(--garden-orange);
}

.safety-hero::before {
  content: "";
  display: block;
  width: 34px;
  height: 22px;
  margin-bottom: 1rem;
  opacity: 0.28;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 55%, var(--garden-green-deep) 0 38%, transparent 40%),
    radial-gradient(ellipse at 70% 45%, var(--garden-green) 0 36%, transparent 38%),
    linear-gradient(var(--garden-green-deep), var(--garden-green-deep));
  background-size: 18px 15px, 18px 15px, 2px 18px;
  background-position: 3px 5px, 15px 2px, 16px 8px;
  background-repeat: no-repeat;
}

.safety-hero h1,
.legal-card h1 {
  color: var(--garden-brown);
}

.safety-hero h2,
.safety-hero p,
.support-card p,
.legal-card p,
.cloudmo-footer-note p,
.trust-card p {
  color: var(--garden-brown-soft);
}

.safety-tabs {
  background: rgba(255, 249, 240, 0.74);
  border-color: rgba(111, 134, 88, 0.18);
  box-shadow: 0 12px 28px rgba(90, 61, 44, 0.06);
}

.safety-tab {
  color: var(--garden-brown-soft);
}

.safety-tab.active,
.safety-tab[aria-selected="true"] {
  color: var(--garden-brown);
  background: linear-gradient(135deg, var(--garden-yellow), var(--garden-orange-light));
  box-shadow: 0 7px 18px rgba(90, 61, 44, 0.1);
}

.support-card,
.legal-card {
  background: rgba(255, 249, 240, 0.72);
  border-color: rgba(111, 134, 88, 0.14);
  box-shadow: 0 14px 32px rgba(90, 61, 44, 0.07);
}

.support-card {
  position: relative;
  overflow: hidden;
}

.support-card::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  top: 1rem;
  width: 48px;
  height: 24px;
  border-top: 1.5px solid rgba(111, 134, 88, 0.18);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
}

.support-card h3,
.trust-card h3,
.cloudmo-footer-note h3 {
  color: var(--garden-brown);
}

.urgent-card {
  background: linear-gradient(135deg, rgba(245, 213, 183, 0.88), rgba(233, 165, 111, 0.25));
  border-color: rgba(160, 96, 61, 0.22);
  border-left: 5px solid rgba(160, 96, 61, 0.55);
}

.urgent-card::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(160, 96, 61, 0.44);
  box-shadow: 0 0 0 5px rgba(233, 165, 111, 0.16);
  pointer-events: none;
}

.urgent-card h3 {
  padding-left: 1.15rem;
}

.primary-card {
  background: linear-gradient(135deg, rgba(255, 249, 240, 0.86), rgba(221, 232, 200, 0.44));
  border-color: rgba(111, 134, 88, 0.24);
  box-shadow: 0 18px 38px rgba(111, 134, 88, 0.14);
}

.find-card {
  background: linear-gradient(135deg, rgba(221, 232, 200, 0.42), rgba(255, 249, 240, 0.75));
  border-color: rgba(111, 134, 88, 0.18);
  box-shadow: 0 10px 24px rgba(111, 134, 88, 0.09);
}

.compact-card {
  background: rgba(255, 255, 255, 0.54);
  border-color: rgba(90, 61, 44, 0.08);
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.compact-card:hover,
.compact-card:focus-within {
  background: rgba(245, 213, 183, 0.24);
  box-shadow: 0 12px 28px rgba(111, 134, 88, 0.1);
}

.treatment-card {
  padding-top: 1.05rem;
  padding-bottom: 1.05rem;
  background: rgba(255, 249, 240, 0.74);
  border-top: 3px solid rgba(175, 201, 138, 0.6);
  box-shadow: 0 10px 24px rgba(111, 134, 88, 0.08);
}

.treatment-card:hover,
.treatment-card:focus-within {
  box-shadow: 0 13px 26px rgba(111, 134, 88, 0.14);
}

.support-actions a {
  background: linear-gradient(135deg, var(--garden-yellow), #F7DF86);
  color: var(--garden-brown);
}

.support-actions a:hover,
.support-actions a:focus-visible {
  background: linear-gradient(135deg, #F7DF86, var(--garden-green-light));
  box-shadow: 0 8px 18px rgba(111, 134, 88, 0.14);
}

.support-tags span {
  background: rgba(221, 232, 200, 0.8);
  color: var(--garden-green-deep);
}

.safety-footer {
  margin-top: 1.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(111, 134, 88, 0.22);
  background: linear-gradient(to bottom, rgba(221, 232, 200, 0.14), rgba(221, 232, 200, 0.04));
  border-radius: 24px 24px 0 0;
}

.trust-card {
  position: relative;
  width: 100%;
  margin-bottom: 1.35rem;
  padding: 1.1rem 1.25rem 1.1rem 3.15rem;
  border-radius: 20px;
  background: rgba(221, 232, 200, 0.46);
  border: 1px solid rgba(111, 134, 88, 0.16);
  color: var(--garden-brown);
}

.trust-card::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 1.35rem;
  width: 28px;
  height: 18px;
  border-left: 2px solid rgba(111, 134, 88, 0.54);
  border-top: 2px solid rgba(111, 134, 88, 0.54);
  border-radius: 80% 20% 80% 20%;
  transform: rotate(-25deg);
  pointer-events: none;
}

.trust-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.trust-card p {
  font-size: 0.98rem;
  line-height: 1.65;
}

.cloudmo-footer-note {
  position: relative;
  padding: 1.1rem 0 0.35rem 2.1rem;
  color: var(--garden-brown-soft);
  box-shadow: none;
}

.cloudmo-footer-note::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.45rem;
  width: 22px;
  height: 14px;
  border: 1.5px solid rgba(111, 134, 88, 0.32);
  border-right: 0;
  border-bottom: 0;
  border-radius: 90% 10% 90% 10%;
  transform: rotate(-25deg);
  pointer-events: none;
}

.cloudmo-footer-note h3 {
  font-size: 1rem;
  margin-bottom: 0.55rem;
}

.cloudmo-footer-note p {
  max-width: 760px;
  font-size: 0.94rem;
  line-height: 1.68;
  margin-bottom: 0.65rem;
}

@media (prefers-reduced-motion: reduce) {
  .side-drawer,
  .drawer-backdrop,
  .page-overlay {
    transition: none;
  }
}

@media (max-width: 768px) {
  .safety-overlay::before {
    opacity: 0.055;
    height: 18vh;
  }

  .safety-inner::before,
  .safety-inner::after,
  .support-card::after {
    opacity: 0.04;
  }

  .safety-hero::before {
    opacity: 0.2;
  }
}

/* Fine garden details for Safety resource cards */
.safety-overlay::after {
  content: "";
  position: fixed;
  right: 1.8vw;
  bottom: 7vh;
  width: 92px;
  height: 132px;
  pointer-events: none;
  opacity: 0.055;
  background:
    linear-gradient(74deg, transparent 0 46%, rgba(111, 134, 88, 0.7) 47% 49%, transparent 50%),
    radial-gradient(ellipse at 34% 44%, rgba(111, 134, 88, 0.72) 0 16%, transparent 17%),
    radial-gradient(ellipse at 61% 34%, rgba(175, 201, 138, 0.8) 0 14%, transparent 15%),
    radial-gradient(ellipse at 48% 66%, rgba(111, 134, 88, 0.62) 0 13%, transparent 14%);
  background-repeat: no-repeat;
  background-size: 100% 100%, 42px 24px, 36px 22px, 40px 24px;
  background-position: center, 8px 44px, 45px 30px, 35px 73px;
  transform: rotate(-8deg);
}

.youth-card,
.women-card {
  isolation: isolate;
}

.youth-card::before,
.women-card::before,
.youth-card::after,
.women-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.youth-card > *,
.women-card > * {
  position: relative;
  z-index: 1;
}

.youth-card::before {
  right: 1.35rem;
  top: 1.05rem;
  width: 28px;
  height: 32px;
  opacity: 0.14;
  border-left: 1.5px solid rgba(111, 134, 88, 0.72);
  border-radius: 60% 40% 50% 50%;
  transform: rotate(-16deg);
}

.youth-card::after {
  right: 1rem;
  top: 0.85rem;
  width: 46px;
  height: 30px;
  opacity: 0.13;
  background:
    radial-gradient(ellipse at 30% 58%, rgba(111, 134, 88, 0.72) 0 33%, transparent 35%),
    radial-gradient(ellipse at 68% 43%, rgba(175, 201, 138, 0.78) 0 31%, transparent 33%);
  background-size: 24px 18px, 24px 18px;
  background-position: 3px 9px, 20px 4px;
  background-repeat: no-repeat;
  transform: rotate(-12deg);
}

.women-card::before {
  right: 1.25rem;
  top: 1.15rem;
  width: 34px;
  height: 28px;
  opacity: 0.12;
  border-top: 1.5px solid rgba(111, 134, 88, 0.68);
  border-right: 1.5px solid rgba(111, 134, 88, 0.58);
  border-radius: 10% 90% 14% 86%;
  transform: rotate(18deg);
}

.women-card::after {
  right: 0.95rem;
  top: 0.9rem;
  width: 48px;
  height: 32px;
  opacity: 0.12;
  background:
    radial-gradient(ellipse at 35% 45%, rgba(175, 201, 138, 0.74) 0 30%, transparent 32%),
    radial-gradient(ellipse at 67% 60%, rgba(111, 134, 88, 0.62) 0 28%, transparent 30%);
  background-size: 25px 18px, 24px 17px;
  background-position: 6px 5px, 22px 12px;
  background-repeat: no-repeat;
  transform: rotate(14deg);
}

.trust-card::before {
  width: 34px;
  height: 28px;
  border: 0;
  opacity: 0.16;
  background:
    radial-gradient(ellipse at 28% 48%, rgba(111, 134, 88, 0.86) 0 32%, transparent 34%),
    radial-gradient(ellipse at 70% 40%, rgba(175, 201, 138, 0.9) 0 31%, transparent 33%),
    linear-gradient(rgba(111, 134, 88, 0.78), rgba(111, 134, 88, 0.78));
  background-size: 18px 15px, 18px 15px, 2px 18px;
  background-position: 3px 9px, 16px 5px, 16px 12px;
  background-repeat: no-repeat;
  border-radius: 0;
  transform: rotate(-10deg);
}

.trust-card::after {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.02rem;
  width: 42px;
  height: 34px;
  border: 1px solid rgba(111, 134, 88, 0.16);
  border-right: 0;
  border-bottom: 0;
  border-radius: 90% 10% 90% 10%;
  transform: rotate(-24deg);
  pointer-events: none;
}

.cloudmo-footer-note::before {
  opacity: 0.14;
}

.cloudmo-footer-note::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 86px;
  height: 1px;
  background: linear-gradient(to right, rgba(111, 134, 88, 0.24), transparent);
  pointer-events: none;
}

@media (max-width: 768px) {
  .safety-overlay::after {
    opacity: 0.035;
    width: 64px;
    height: 96px;
    right: -0.5rem;
    bottom: 4vh;
  }

  .youth-card::before,
  .women-card::before {
    opacity: 0.07;
    right: 0.95rem;
    top: 0.9rem;
  }

  .youth-card::after,
  .women-card::after {
    opacity: 0.065;
    right: 0.72rem;
    top: 0.7rem;
    transform: scale(0.8) rotate(-8deg);
  }

  .women-card::after {
    transform: scale(0.8) rotate(10deg);
  }

  .trust-card::before {
    opacity: 0.14;
    transform: scale(0.88) rotate(-10deg);
    transform-origin: left top;
  }

  .trust-card::after,
  .cloudmo-footer-note::after {
    opacity: 0.45;
  }
}


/* Routed page visibility */
body[data-route="about"] #about-overlay,
body[data-route="safety"] #safety-overlay,
body[data-route="privacy"] #privacy-overlay,
body[data-route="terms"] #terms-overlay {
  opacity: 1;
  pointer-events: auto;
}

body[data-route] .about-close,
body[data-route] .page-close,
.drawer-close,
.page-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

body[data-route] #navbar .nav-logo,
body[data-route] #navbar .nav-links a:not(.nav-cta) {
  color: var(--warm-brown);
  text-shadow: none;
}

body[data-route] #navbar .nav-links {
  background: rgba(255, 248, 239, 0.74);
  border-color: rgba(91, 58, 39, 0.1);
}
