:root {
  color-scheme: light;
  font-family: "Trebuchet MS", "Avenir Next", Avenir, system-ui, sans-serif;
  --ink: #2f1744;
  --purple: #7032a0;
  --pink: #ff6f91;
  --yellow: #ffde59;
  --aqua: #67ded4;
  --cream: #fff9e9;
}

* { box-sizing: border-box; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html, body { margin: 0; min-height: 100%; }

body {
  min-height: 100svh;
  color: var(--ink);
  overflow-x: hidden;
  background: #4d7d52;
}

.experience {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr;
  gap: 1rem;
  padding: max(1.25rem, env(safe-area-inset-top)) max(1.1rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(1.1rem, env(safe-area-inset-left));
  background: url("daily-mind-bubble-background.webp") center center / cover no-repeat;
}

.experience::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(to bottom, rgba(255,255,255,.08), transparent 38%, rgba(11,50,27,.14));
}

.bubble-card {
  position: absolute;
  top: 43%;
  left: 50%;
  width: min(77%, 30rem);
  margin: 0;
  transform: translate(-50%, -50%);
  padding: 0;
  background: transparent;
  text-align: center;
}

.bubble-text {
  margin: 0;
  font-family: "Trebuchet MS", "Avenir Next", Avenir, system-ui, sans-serif;
  font-size: clamp(1.35rem, 5.8vw, 2.35rem);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.02em;
  text-wrap: balance;
  color: #155269;
  text-shadow: 0 1px 0 rgba(255,255,255,.5), 0 2px 9px rgba(255,255,255,.3);
}

.bubble-attribution {
  margin: 1.5rem 0 0;
  font-size: .95rem;
  font-weight: 700;
  color: #155269;
  text-shadow: 0 1px 4px rgba(255,255,255,.65);
}

.bubble-attribution::before { content: "— "; }

@media (min-width: 48rem) {
  .experience {
    width: min(100%, 43rem);
    margin-inline: auto;
    padding-inline: 2rem;
    box-shadow: 0 0 70px rgba(11,42,28,.38);
  }
}

@media (forced-colors: active) {
  .bubble-card { border: 3px solid CanvasText; background: Canvas; }
  .brand, .footer-note { color: CanvasText; text-shadow: none; }
}
