/* Site-specific styles for Try Vibemakr. Uses the theme's variables only. */

.logo img { border-radius: 8px; }

/* Hero */
.hero { padding-block: var(--space-xl) var(--space-2xl); overflow: hidden; }
.hero__split { gap: var(--space-l); }
@media (min-width: 56rem) {
  .hero__split { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
}
.hero h1 { max-width: 14ch; }
.hero__note { font-size: var(--step--1); }
.hero-art { width: 100%; max-width: 34rem; margin-inline: auto; overflow: visible; }
.hero-art .bubble, .hero-art .floatcard { filter: drop-shadow(0 10px 14px rgb(0 0 0 / 0.18)); }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .floatcard { animation: bob 5s ease-in-out infinite; }
  .hero-art .bubble { animation: bob 6s ease-in-out -2s infinite; }
}
@keyframes bob { 50% { transform: translateY(-8px); } }

.section-head h2 { max-width: 20ch; }
.section-head .lead { max-width: 50ch; }

/* How it works */
.steps { list-style: none; padding: 0; counter-reset: none; }
.step { position: relative; padding: var(--space-l) var(--space-m) var(--space-m); }
.step__num {
  display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem; margin-bottom: var(--space-s);
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  background: var(--color-pop); font-size: var(--step-3);
}
.step h3 { margin-bottom: var(--space-2xs); }

/* Who it's for */
.who { list-style: none; padding: 0; }
.who__item .icon {
  width: 2.75rem; height: 2.75rem; padding: 0.6rem; margin-bottom: var(--space-xs);
  border-radius: 50%; background: var(--color-accent); color: var(--color-accent-text);
}
.who__item h3 { font-size: var(--step-1); margin-bottom: var(--space-3xs); }
.textlink { font-weight: 700; }
.icon { width: 24px; height: 24px; flex: none; }
.icon--big { width: 3rem; height: 3rem; color: var(--color-accent); margin-bottom: var(--space-s); }

/* Examples */
.example { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2xs); }
.example__art { align-self: stretch; margin-bottom: var(--space-xs); }
.example__art svg { width: 100%; }
.example h3 { margin-top: var(--space-3xs); }

/* FAQs */
.faq-list { display: grid; gap: var(--space-xs); }
.faq { background: var(--color-surface); border-radius: var(--radius); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-s);
  padding: var(--space-s) var(--space-m); min-height: 56px;
  font-family: var(--font-heading); font-weight: var(--heading-weight);
  font-size: var(--step-1); line-height: 1.25; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 0.65em; height: 0.65em;
  border-right: 3px solid var(--color-accent); border-bottom: 3px solid var(--color-accent);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq[open] summary::after { transform: rotate(-135deg); }
.faq p { padding: 0 var(--space-m) var(--space-m); color: var(--color-muted); }
.faq p a { color: var(--color-text); }

/* Call to action */
.cta h2 { font-size: var(--step-5); max-width: 16ch; }
.cta__action { display: flex; }
@media (min-width: 56rem) { .cta__action { justify-content: flex-end; } }

/* Contact */
.contact { align-items: start; }
.contact__card { padding: var(--space-l) var(--space-m); box-shadow: var(--shadow-lg); border-radius: var(--radius-lg); }
@media (min-width: 40rem) { .contact__card { padding: var(--space-l); } }
.contact .field-error:not(:empty) { color: var(--color-text); }
.form-summary { padding: var(--space-xs) var(--space-s); border-radius: var(--radius-sm); background: var(--color-surface); }
.thanks:focus { outline: none; }
.thanks[hidden] { display: none; }
.thanks > * + * { margin-top: var(--space-s); }

/* Footer */
.site-footer__grid { display: grid; gap: var(--space-l); }
@media (min-width: 48rem) { .site-footer__grid { grid-template-columns: 2fr 1fr; } }
.site-footer__name { font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: var(--step-2); }
.site-footer__links { list-style: none; padding: 0; display: grid; gap: var(--space-2xs); }
.site-footer__links a { display: inline-block; padding: 0.35rem 0; font-weight: 600; }
.site-footer p { max-width: 52ch; }
.example .tag { background: var(--color-bg); box-shadow: var(--shadow-sm); }
html { scroll-padding-top: 8rem; }
