/* Frosted cards for How I can help. Icons follow lucide-animated. */

.help-hazeglow-section .help-cards {
  display: grid;
  width: 100%;
  margin: 3rem 0;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.help-hazeglow-section .help-card {
  position: relative;
  display: flex;
  min-width: 0;
  height: auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.1), 0 10px 28px rgba(16, 24, 40, 0.12);
  color: #1d2939;
  text-align: left;
}

.help-hazeglow-section .help-card-lens {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
}

.help-hazeglow-section .help-card > :not(.help-card-lens) {
  position: relative;
  z-index: 1;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .help-hazeglow-section .help-card {
    background-color: rgba(255, 255, 255, 0.46);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
    backdrop-filter: blur(16px) saturate(1.15);
  }
}

.help-hazeglow-section.is-liquid {
  overflow: hidden;
}

.help-hazeglow-section.is-liquid .help-card {
  border-color: transparent;
  box-shadow: none;
  background-color: transparent;
  background-image: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.help-hazeglow-section .help-card-title {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1d2939;
  text-align: left;
}

.help-hazeglow-section .help-card-copy {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #344054;
  text-align: left;
}

.help-hazeglow-section .help-icon {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  color: #344054;
}

.help-hazeglow-section .help-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.help-hazeglow-section .help-icon [data-draw] {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.help-hazeglow-section .help-icon.is-playing .help-nudge {
  animation: help-nudge 0.5s ease 1 both;
}

.help-hazeglow-section .help-icon.is-playing [data-draw="line"] {
  animation: help-draw 0.4s ease 1 both;
}

.help-hazeglow-section .help-icon.is-playing [data-draw="arrow"] {
  animation: help-draw 0.3s ease 0.3s 1 both;
}

.help-hazeglow-section .help-icon.is-playing .help-check {
  transform-box: fill-box;
  transform-origin: center;
  animation: help-check 0.4s ease 1 both;
}

.help-hazeglow-section .help-icon.is-playing .help-users {
  animation: help-users 0.6s cubic-bezier(0.2, 0.8, 0.2, 1.15) 0.1s 1 both;
}

.help-hazeglow-section .help-icon.is-playing .help-search {
  animation: help-search 1s cubic-bezier(0.34, 1.2, 0.64, 1) 1 both;
}

.help-hazeglow-section .help-icon.is-playing .help-bubbles {
  transform-box: fill-box;
  transform-origin: center;
  animation: help-bubbles 0.8s linear 1 both;
}

.help-hazeglow-section .help-icon.is-playing .help-flask {
  transform-box: fill-box;
  transform-origin: center;
  animation: help-flask 0.8s linear 1 both;
}

.help-hazeglow-section .help-icon.is-playing .help-align {
  animation: help-align 1s linear 1 both;
}

@keyframes help-draw {
  from { stroke-dashoffset: 1; opacity: 0; }
  25% { opacity: 1; }
  to { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes help-nudge {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(2px, -2px); }
}

@keyframes help-check {
  from { stroke-dashoffset: 1; opacity: 0; transform: scale(0.5); }
  to { stroke-dashoffset: 0; opacity: 1; transform: scale(1); }
}

@keyframes help-users {
  from { transform: translateX(-6px); }
  70% { transform: translateX(1px); }
  to { transform: translateX(0); }
}

@keyframes help-search {
  0% { transform: translate(0, 0); }
  35% { transform: translate(0, -4px); }
  70% { transform: translate(-3px, 0); }
  100% { transform: translate(0, 0); }
}

@keyframes help-bubbles {
  0% { transform: translateY(0) rotate(0deg); }
  35% { transform: translateY(-12px) rotate(5deg); }
  55% { transform: translateY(-12px) rotate(-5deg); }
  75% { transform: translateY(-6px) rotate(3deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes help-flask {
  0% { transform: scale(1) rotate(0deg); }
  20% { transform: scale(0.9) rotate(6deg); }
  45% { transform: scale(0.9) rotate(-6deg); }
  70% { transform: scale(0.95) rotate(3deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes help-align {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(3px); }
  40% { transform: translateX(-3px); }
  60% { transform: translateX(2px); }
  80% { transform: translateX(-2px); }
}

@media (min-width: 45rem) {
  .help-hazeglow-section .help-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 68.75rem) {
  .help-hazeglow-section .help-cards {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .help-hazeglow-section .help-icon,
  .help-hazeglow-section .help-icon * {
    animation: none !important;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .help-hazeglow-section.is-liquid .help-card > :not(.help-card-lens) {
    translate: var(--glass-content-offset, 0px 0px);
  }
}
