:root {
  --bg-cream: #FFF9F7;
  --bg-blush: #F8ECE9;
  --surface: #FFFFFF;
  --surface-tint: #FBF4F2;
  --primary: #9E3356;
  --primary-deep: #7F1A3F;
  --primary-container: #FCE2EA;
  --on-primary-container: #561228;
  --secondary: #286757;
  --secondary-container: #DDF0E9;
  --on-secondary-container: #0E382D;
  --tertiary: #5B457E;
  --tertiary-container: #EDE5FA;
  --on-tertiary-container: #2E1E4A;
  --gold-coral: #D9824E;
  --gold-glow: #FBEDE2;
  --on-gold-glow: #592A0E;
  --text-primary: #241B20;
  --text-secondary: #584951;
  --outline: rgba(122, 104, 113, 0.22);
  --outline-strong: rgba(158, 51, 86, 0.28);
  --error: #B3261E;
  --error-bg: #FCE8E6;
  --shadow-soft: 0 12px 32px rgba(158, 51, 86, 0.08);
  --shadow-elevated: 0 22px 54px rgba(36, 27, 32, 0.11);
  --radius-card: 24px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --max-width: 1220px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-cream);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.hidden {
  display: none !important;
}

/* Mode switching (zero FOUC when arriving via /auth/action?mode=...&oobCode=...) */
html.is-auth-action #marketing-view {
  display: none !important;
}

html:not(.is-auth-action) #auth-action-view {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  font-weight: 700;
  z-index: 200;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: 12px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Pills & Typography */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  max-width: 100%;
  flex-wrap: wrap;
}

.pill-sage {
  background: var(--secondary-container);
  color: var(--on-secondary-container);
}

.pill-rose {
  background: var(--primary-container);
  color: var(--on-primary-container);
}

.pill-lavender {
  background: var(--tertiary-container);
  color: var(--on-tertiary-container);
}

.pill-gold {
  background: var(--gold-glow);
  color: var(--on-gold-glow);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-heading {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 660px;
}

/* Buttons (>= 48px height for WCAG / Android & iOS tap target compliance) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(158, 51, 86, 0.24);
}

.btn-primary:hover {
  background: var(--primary-deep);
}

.btn-secondary {
  background: var(--primary-container);
  color: var(--on-primary-container);
}

.btn-secondary:hover {
  background: #F9D2DF;
}

.btn-outline {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--outline-strong);
}

.btn-outline:hover {
  background: var(--bg-blush);
}

.btn-white {
  background: #FFFFFF;
  color: var(--primary-deep);
  box-shadow: 0 10px 24px rgba(36, 27, 32, 0.16);
}

.btn-white:hover {
  background: var(--primary-container);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 247, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--outline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-height: 48px;
  flex-shrink: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(217, 130, 78, 0.45);
  background: #FFFFFF;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-wordmark {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
  white-space: nowrap;
}

.brand-domain {
  display: none;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-blush);
  color: var(--text-secondary);
  white-space: nowrap;
}

@media (min-width: 520px) and (max-width: 959px), (min-width: 1140px) {
  .brand-domain {
    display: inline-block;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 10px 4px;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--outline);
  background: var(--surface);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.lang-toggle:hover {
  background: var(--bg-blush);
}

.nav-cta {
  display: none;
  white-space: nowrap;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1.5px solid var(--outline);
  background: var(--surface);
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-drawer {
  background: var(--surface);
  border-bottom: 1px solid var(--outline);
  padding: 16px 20px 22px;
}

.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-drawer a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  color: var(--text-primary);
}

.mobile-drawer a:hover {
  background: var(--bg-blush);
}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
  }
  .menu-btn {
    display: none;
  }
  .mobile-drawer {
    display: none !important;
  }
}

/* Hero Section */
.hero {
  position: relative;
  padding: 40px 0 64px;
  background:
    radial-gradient(circle at 82% 18%, rgba(252, 226, 234, 0.85) 0%, transparent 45%),
    radial-gradient(circle at 12% 84%, rgba(221, 240, 233, 0.72) 0%, transparent 42%),
    linear-gradient(180deg, #FDF0F4 0%, var(--bg-cream) 65%, #F8F3FB 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.hero-grid > *,
.showcase-wrap > *,
.split-grid > *,
.ate-spotlight > *,
.cta-banner > *,
.bento-grid-4 > *,
.bento-grid-3 > *,
.gallery-grid > * {
  min-width: 0;
}

@media (min-width: 980px) {
  .hero {
    padding: 58px 0 84px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: 48px;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero-title {
  font-size: clamp(34px, 4.8vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--primary-deep);
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 560px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-top: 16px;
  border-top: 1px solid var(--outline);
  width: 100%;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.trust-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

.hero-visual-wrap {
  position: relative;
  padding-bottom: 24px;
}

.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--outline);
  box-shadow: var(--shadow-elevated);
  background: var(--surface);
  aspect-ratio: 16 / 11;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.hero-photo-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 27, 32, 0.62) 0%, transparent 48%, rgba(36, 27, 32, 0.28) 100%);
  pointer-events: none;
}

.hero-photo-caption {
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  color: #FFFFFF;
}

.hero-photo-caption span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary-container);
  margin-bottom: 4px;
}

.hero-photo-caption strong {
  font-size: 17px;
  font-weight: 700;
}

.floating-bloom-card {
  margin-top: -40px;
  margin-left: auto;
  margin-right: 12px;
  position: relative;
  z-index: 2;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  padding: 16px 18px;
  border: 1px solid var(--outline-strong);
  box-shadow: var(--shadow-elevated);
}

@media (min-width: 980px) {
  .floating-bloom-card {
    position: absolute;
    left: -24px;
    right: auto;
    bottom: 0;
    margin: 0;
    width: 315px;
  }
}

.floating-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--outline);
}

.floating-week {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
}

.floating-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

.floating-mid h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-deep);
}

.floating-mid p {
  font-size: 12px;
  color: var(--text-secondary);
}

.ring-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0 34%, #F2E3E8 34% 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ring-badge span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
}

.floating-ate-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-glow);
  border-radius: 14px;
  padding: 9px 11px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--on-gold-glow);
}

.floating-ate-row img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
  background: #FFFFFF;
  flex-shrink: 0;
}

/* Section Layout */
.section {
  padding: 68px 0;
}

.section-tint {
  background: linear-gradient(180deg, #FDF6F5 0%, var(--bg-cream) 100%);
}

.section-header-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 34px;
}

@media (min-width: 860px) {
  .section-header-row {
    flex-direction: row;
    align-items: flex-end;
  }
}

/* 4-Card Sanctuary Pillars Bento */
.bento-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .bento-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1060px) {
  .bento-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.icon-medallion {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.medallion-rose {
  background: var(--primary-container);
  color: var(--on-primary-container);
}

.medallion-sage {
  background: var(--secondary-container);
  color: var(--on-secondary-container);
}

.medallion-lavender {
  background: var(--tertiary-container);
  color: var(--on-tertiary-container);
}

.medallion-gold {
  background: var(--gold-glow);
  color: var(--on-gold-glow);
}

.bento-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.bento-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  flex: 1;
}

.card-link {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
}

/* Interactive Real App Preview Showcase */
.showcase-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 920px) {
  .showcase-wrap {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    padding: 44px;
    gap: 48px;
  }
}

.screen-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.screen-tab {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--outline);
  background: var(--bg-cream);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.screen-tab[aria-selected="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.showcase-detail-box {
  background: var(--surface-tint);
  border: 1px solid var(--outline);
  border-radius: 20px;
  padding: 22px;
}

.showcase-detail-box h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.showcase-detail-box p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.bullet-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-primary);
}

.check-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--secondary-container);
  color: var(--on-secondary-container);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.phone-stage {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 100%;
  max-width: 310px;
  border-radius: 38px;
  padding: 12px;
  background: #241B20;
  box-shadow: 0 26px 60px rgba(36, 27, 32, 0.25);
  border: 4px solid #3A2C34;
}

.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg-cream);
  aspect-ratio: 9 / 19.5;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Split Editorial Feature Sections */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

@media (min-width: 920px) {
  .split-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 52px;
  }
  .split-grid.reverse .split-media {
    order: 2;
  }
}

.editorial-card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.editorial-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-elevated);
  aspect-ratio: 16 / 10;
  background: var(--surface);
}

.editorial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Interactive Week Preview inside Baby Bloom card */
.week-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.week-chip {
  min-height: 44px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--outline);
  background: var(--bg-cream);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.week-chip[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.bloom-preview-panel {
  background: linear-gradient(135deg, #FFF7FA 0%, #F4EEFA 100%);
  border: 1px solid var(--outline);
  border-radius: 20px;
  padding: 18px;
}

.bloom-metrics {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 12px;
}

@media (min-width: 480px) {
  .bloom-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.metric-tile {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 14px;
  padding: 11px 13px;
}

.metric-tile small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
}

.metric-tile strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-deep);
}

/* Non-diagnostic vitals preview cards */
.vitals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}

@media (min-width: 540px) {
  .vitals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.vital-card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.vital-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.vital-reading {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}

.vital-note {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.medical-callout {
  margin-top: 16px;
  background: var(--gold-glow);
  border: 1px solid rgba(217, 130, 78, 0.38);
  border-radius: 18px;
  padding: 15px 17px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--on-gold-glow);
}

/* Ate Care Section */
.ate-spotlight {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .ate-spotlight {
    grid-template-columns: 0.85fr 1.15fr;
    padding: 40px;
    gap: 44px;
  }
}

.ate-square-art {
  border-radius: 26px;
  overflow: hidden;
  border: 1.5px solid rgba(217, 130, 78, 0.4);
  background: var(--bg-cream);
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-elevated);
}

.ate-square-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ate-quote {
  font-size: clamp(21px, 2.5vw, 27px);
  font-weight: 800;
  line-height: 1.32;
  color: var(--primary-deep);
  margin-bottom: 14px;
}

.ate-pose-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pose-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 6px 14px 6px 6px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--outline);
  background: var(--bg-cream);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
}

.pose-chip[aria-pressed="true"] {
  background: var(--gold-glow);
  border-color: var(--gold-coral);
  color: var(--on-gold-glow);
}

.pose-chip img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #FFFFFF;
}

/* Marketing Campaign Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 680px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.gallery-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-blush);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.gallery-body {
  padding: 18px 20px 20px;
}

.gallery-body h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 8px 0 6px;
}

.gallery-body p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Privacy 3-Column Bento */
.bento-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 820px) {
  .bento-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Bottom Berry Sanctuary CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #7F1A3F 0%, #9E3356 58%, #5B457E 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-elevated);
}

@media (min-width: 860px) {
  .cta-banner {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 52px;
  }
}

.cta-banner h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  margin: 12px 0;
}

.cta-banner p {
  color: #FCE2EA;
  font-size: 16px;
  max-width: 540px;
}

.cta-card-box {
  background: #FFFFFF;
  color: var(--text-primary);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.cta-card-box img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 12px;
  border: 2px solid rgba(217, 130, 78, 0.5);
}

.cta-card-box small {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 4px;
}

.cta-card-box h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.cta-card-box p {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 16px;
}

/* Footer */
.site-footer {
  background: var(--bg-blush);
  border-top: 1px solid var(--outline);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--outline);
}

@media (min-width: 780px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-col a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-disclaimer {
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.footer-bottom {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* Auth Action Sanctuary View (?mode=...&oobCode=...) */
.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  background: linear-gradient(180deg, #FDF0F4 0%, var(--bg-cream) 52%, #F7F2FA 100%);
}

.auth-container {
  width: 100%;
  max-width: 480px;
}

.auth-badge-row {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.auth-eyebrow {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.auth-card {
  background: var(--surface);
  border-radius: 26px;
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(158, 51, 86, 0.14);
  text-align: center;
}

.auth-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.auth-logo-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(217, 130, 78, 0.45);
  background: #FFFFFF;
}

.auth-mascot-img {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  object-fit: cover;
  border: 2px solid rgba(217, 130, 78, 0.55);
  background: #FFFFFF;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.auth-card h1 {
  font-size: clamp(20px, 4.5vw, 24px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.auth-subtitle {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.ate-care-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  background: var(--gold-glow);
  border: 1px solid rgba(217, 130, 78, 0.35);
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 20px;
}

.ate-care-note img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  background: #FFFFFF;
  border: 1.5px solid rgba(217, 130, 78, 0.45);
  flex-shrink: 0;
}

.ate-care-note-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--on-gold-glow);
  margin-bottom: 3px;
}

.ate-care-note-body {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-primary);
}

.form-group {
  text-align: left;
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.form-group input[type="password"] {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border-radius: 14px;
  border: 1.5px solid #D5C4CB;
  font-size: 15px;
  font-family: inherit;
}

.form-group input[type="password"]:focus {
  border-color: var(--primary);
}

.status-box {
  padding: 13px 15px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: left;
  display: none;
}

.status-error {
  display: block;
  background: var(--error-bg);
  color: var(--error);
}

.status-success {
  display: block;
  background: var(--secondary-container);
  color: var(--on-secondary-container);
}

.auth-footer {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 18px;
}
