/**
 * Appalassians — Design System (VibePress)
 * Palette: forest #0E281D, cream #F3F3E9 / #E7E6D2, orange #FF7E01, mint #BEF1EB
 * Headings: Adobe Fonts "conglomerate" (600/700)
 */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
@import url("https://use.typekit.net/gdm1xvg.css");

/* -------------------------------------------------------------------------- */
/* Design tokens                                                              */
/* -------------------------------------------------------------------------- */

:root {
  --background: 60 24% 93%;
  --foreground: 155 48% 11%;

  --card: 0 0% 100%;
  --card-foreground: 155 48% 11%;

  --primary: 29 100% 50%;
  --primary-foreground: 0 0% 100%;

  --secondary: 155 48% 11%;
  --secondary-foreground: 60 24% 93%;

  --muted: 57 28% 86%;
  --muted-foreground: 220 9% 40%;

  --accent: 173 62% 85%;
  --accent-foreground: 155 48% 11%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;

  --border: 57 28% 86%;
  --input: 57 28% 86%;
  --ring: 29 100% 50%;

  --radius: 0.5rem;

  --app-section-cream: 60 24% 90%;
  --app-forest-deep: 155 48% 8%;
  --app-mint-cta: 173 62% 85%;
  --app-mint-cta-text: 155 48% 11%;

  --app-shadow-dark: 0 4px 24px hsl(155 48% 5% / 0.25);
  --app-shadow-dark-hover: 0 12px 40px hsl(155 48% 5% / 0.35);
  --app-shadow-light: 0 4px 24px hsl(155 48% 11% / 0.07);
  --app-shadow-light-hover: 0 12px 40px hsl(155 48% 11% / 0.12);
}

/* -------------------------------------------------------------------------- */
/* Base                                                                       */
/* -------------------------------------------------------------------------- */

body {
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: conglomerate, Georgia, serif;
  font-weight: 600;
}

/* -------------------------------------------------------------------------- */
/* Section shells & atmosphere                                                */
/* -------------------------------------------------------------------------- */

.app-section-shell {
  position: relative;
  overflow: hidden;
}

.app-section-shell--dark {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.app-section-shell--cream {
  background-color: hsl(var(--app-section-cream));
}

.app-section-shell--light {
  background-color: hsl(var(--background));
}

.app-glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  pointer-events: none;
}

.app-glow--mint {
  background-color: hsl(var(--accent) / 0.35);
}

.app-glow--orange {
  background-color: hsl(var(--primary) / 0.25);
}

.app-glow--tl {
  top: -4rem;
  left: -6rem;
  width: 22rem;
  height: 22rem;
}

.app-glow--tr {
  top: -3rem;
  right: -5rem;
  width: 18rem;
  height: 18rem;
}

.app-glow--bl {
  bottom: -5rem;
  left: -4rem;
  width: 16rem;
  height: 16rem;
}

.app-glow--br {
  bottom: -5rem;
  right: -4rem;
  width: 18rem;
  height: 18rem;
}

.app-section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.app-section-bg--hero {
  background-image: url("https://images.unsplash.com/photo-1519608487953-e999c86e7455?q=80&w=2070&auto=format&fit=crop");
  opacity: 0.06;
  mix-blend-mode: overlay;
}

.app-section-bg--studio {
  background-image: url("https://appalassiandev.wpenginepowered.com/wp-content/uploads/2026/01/Appalassians_Hero.webp");
  opacity: 0.04;
}

.app-section-bg--roadmap {
  background-image: url("/my-vibe-theme/assets/images/brand/Appalassians-Whats-Next.webp");
}

/* -------------------------------------------------------------------------- */
/* Eyebrows & badges                                                          */
/* -------------------------------------------------------------------------- */

.app-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-eyebrow--on-dark {
  border: 1px solid hsl(var(--accent) / 0.45);
  background-color: hsl(var(--accent) / 0.15);
  color: hsl(var(--accent));
}

.app-eyebrow--on-light {
  border: 1px solid hsl(var(--primary) / 0.3);
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.app-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-pill--featured {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.app-pill--soon {
  background-color: hsl(var(--primary) / 0.18);
  border: 1px solid hsl(var(--primary) / 0.35);
  color: hsl(var(--primary));
}

.app-pill--ideal {
  border-radius: calc(var(--radius) - 2px);
  background-color: hsl(var(--muted));
  padding: 0.125rem 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  color: hsl(var(--muted-foreground));
}

.app-pill--ideal-on-dark {
  background-color: hsl(var(--secondary-foreground) / 0.1);
  color: hsl(var(--secondary-foreground) / 0.85);
}

/* -------------------------------------------------------------------------- */
/* Glass cards                                                                */
/* -------------------------------------------------------------------------- */

.app-glass-card {
  position: relative;
  border-radius: 1.5rem;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-glass-card--dark {
  padding: 2rem;
  border: 1px solid hsl(var(--secondary-foreground) / 0.12);
  background: linear-gradient(
    145deg,
    hsl(var(--secondary-foreground) / 0.08) 0%,
    hsl(var(--secondary-foreground) / 0.03) 100%
  );
  box-shadow: var(--app-shadow-dark), inset 0 1px 0 hsl(var(--secondary-foreground) / 0.08);
}

.app-glass-card--dark:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--accent) / 0.35);
  box-shadow: var(--app-shadow-dark-hover), inset 0 1px 0 hsl(var(--secondary-foreground) / 0.12);
}

.app-glass-card--light {
  padding: 2rem;
  border: 1px solid hsl(var(--foreground) / 0.08);
  background: linear-gradient(
    145deg,
    hsl(var(--card)) 0%,
    hsl(var(--background) / 0.6) 100%
  );
  box-shadow: var(--app-shadow-light), inset 0 1px 0 hsl(var(--card));
}

.app-glass-card--light:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--primary) / 0.25);
  box-shadow: var(--app-shadow-light-hover), inset 0 1px 0 hsl(var(--card));
}

.app-glass-card--compact {
  padding: 1.25rem;
  border-radius: 0.75rem;
}

.app-glass-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

/* -------------------------------------------------------------------------- */
/* Icon boxes                                                                 */
/* -------------------------------------------------------------------------- */

.app-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 1rem;
}

.app-icon-box--lg {
  width: 3.5rem;
  height: 3.5rem;
}

.app-icon-box--md {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
}

.app-icon-box--on-dark {
  background: linear-gradient(
    135deg,
    hsl(var(--primary) / 0.25) 0%,
    hsl(var(--accent) / 0.35) 100%
  );
  border: 1px solid hsl(var(--accent) / 0.4);
  color: hsl(var(--accent));
}

.app-icon-box--on-light {
  background: linear-gradient(
    135deg,
    hsl(var(--primary) / 0.12) 0%,
    hsl(var(--accent) / 0.25) 100%
  );
  border: 1px solid hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
}

/* -------------------------------------------------------------------------- */
/* Header / nav                                                               */
/* -------------------------------------------------------------------------- */

.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid hsl(var(--border));
  background-color: hsl(var(--background) / 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px hsl(155 48% 11% / 0.06);
}

.app-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-logo {
  height: 2rem;
  width: auto;
}

.app-nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.app-nav-desktop li,
.app-nav-desktop .menu-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .app-nav-desktop {
    display: flex;
  }
}

.app-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.75);
  text-decoration: none;
  transition: color 0.15s ease;
}

.app-nav-link:hover,
.app-nav-link.is-active {
  color: hsl(var(--primary));
}

.app-nav-cta {
  display: inline-flex;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) - 2px);
  background-color: hsl(var(--primary));
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary-foreground));
  text-decoration: none;
  box-shadow: 0 2px 8px hsl(var(--primary) / 0.35);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.app-nav-cta:hover {
  background-color: hsl(var(--primary) / 0.9);
  transform: translateY(-1px);
}

.app-mobile-toggle {
  display: flex;
  padding: 0.5rem;
  color: hsl(var(--foreground));
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .app-mobile-toggle {
    display: none;
  }
}

.app-mobile-menu {
  display: none;
  border-bottom: 1px solid hsl(var(--border));
  background-color: hsl(var(--background));
  padding: 1rem;
  list-style: none;
  margin: 0;
}

.app-mobile-menu li,
.app-mobile-menu .menu-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.app-mobile-menu.is-open {
  display: block;
}

@media (min-width: 768px) {
  .app-mobile-menu {
    display: none !important;
  }
}

.app-mobile-menu a {
  display: block;
  padding: 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  text-decoration: none;
}

.app-mobile-menu .app-nav-cta {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  text-align: center;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */

.app-footer {
  position: relative;
  overflow: hidden;
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 3.5rem 0 2rem;
}

.app-footer-inner {
  position: relative;
  z-index: 1;
}

.app-footer-logo {
  height: 2rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 1rem;
}

.app-footer-link {
  color: hsl(var(--secondary-foreground) / 0.7);
  text-decoration: none;
  transition: color 0.15s ease;
}

.app-footer-link:hover {
  color: hsl(var(--accent));
}

.app-footer-divider {
  border-color: hsl(var(--secondary-foreground) / 0.1);
}

/* -------------------------------------------------------------------------- */
/* Buttons                                                                    */
/* -------------------------------------------------------------------------- */

.app-btn-primary {
  display: inline-flex;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) - 2px);
  background-color: hsl(var(--primary));
  padding: 0 2rem;
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--primary-foreground));
  text-decoration: none;
  box-shadow: 0 4px 14px hsl(var(--primary) / 0.35);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.app-btn-primary:hover {
  background-color: hsl(var(--primary) / 0.9);
  transform: translateY(-1px);
}

.app-btn-outline {
  display: inline-flex;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--secondary-foreground) / 0.25);
  background-color: hsl(var(--secondary-foreground) / 0.05);
  padding: 0 2rem;
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--secondary-foreground));
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.app-btn-outline:hover {
  background-color: hsl(var(--secondary-foreground) / 0.12);
  border-color: hsl(var(--accent) / 0.5);
}

.app-btn-mint {
  display: inline-flex;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) - 2px);
  background-color: hsl(var(--app-mint-cta));
  padding: 0 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--app-mint-cta-text));
  text-decoration: none;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  transition: transform 0.15s ease;
}

.app-btn-mint:hover {
  transform: scale(1.03);
}

/* -------------------------------------------------------------------------- */
/* Content utilities                                                          */
/* -------------------------------------------------------------------------- */

.app-section-header {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.app-blog-header {
  background-color: rgb(242 242 233);
}

.app-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid hsl(var(--secondary-foreground) / 0.15);
  background-color: hsl(var(--app-forest-deep));
  box-shadow: var(--app-shadow-dark);
}

.app-video-frame__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-video-frame__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  background: linear-gradient(
    135deg,
    hsl(var(--primary) / 0.25) 0%,
    hsl(var(--accent) / 0.3) 100%
  );
  border: 1px solid hsl(var(--accent) / 0.45);
  margin-bottom: 1.5rem;
  color: hsl(var(--accent));
}

.app-image-frame {
  border-radius: 1.5rem;
  overflow: hidden;
  padding: 12%;
}

.app-stat-card {
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--foreground) / 0.08);
  background: linear-gradient(
    145deg,
    hsl(var(--card)) 0%,
    hsl(var(--background) / 0.5) 100%
  );
  box-shadow: var(--app-shadow-light);
}

.app-ecosystem-strip {
  border-top: 1px solid hsl(var(--secondary-foreground) / 0.08);
  border-bottom: 1px solid hsl(var(--secondary-foreground) / 0.08);
  background: linear-gradient(
    90deg,
    hsl(var(--secondary) / 0.03) 0%,
    hsl(var(--accent) / 0.08) 50%,
    hsl(var(--secondary) / 0.03) 100%
  );
}

.app-ecosystem-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground) / 0.45);
}

.app-check-list li {
  display: flex;
  align-items: flex-start;
}

.app-check-list .lucide {
  height: 1.25rem;
  width: 1.25rem;
  margin-right: 0.75rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.app-check-list--on-dark .lucide {
  color: hsl(var(--accent));
}

.app-check-list--on-light .lucide {
  color: hsl(var(--primary));
}

.app-marketplace-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: hsl(var(--primary));
  text-decoration: none;
  transition: color 0.15s ease;
}

.app-marketplace-link:hover {
  color: hsl(var(--primary) / 0.8);
}

.app-app-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  box-shadow: var(--app-shadow-light);
}

/* -------------------------------------------------------------------------- */
/* Legal / policy pages                                                       */
/* -------------------------------------------------------------------------- */

.app-legal-content {
  padding: 0;
}

.app-legal-section + .app-legal-section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid hsl(var(--border));
}

.app-legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.app-legal-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
}

.app-legal-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

.app-legal-content p + p {
  margin-top: 1rem;
}

.app-legal-content ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
  list-style-type: disc;
}

.app-legal-content li {
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

.app-legal-content li + li {
  margin-top: 0.5rem;
}

.app-legal-address {
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

.app-legal-content a {
  color: hsl(var(--primary));
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.app-legal-content a:hover {
  color: hsl(var(--primary) / 0.8);
  text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/* Contact page                                                               */
/* -------------------------------------------------------------------------- */

.app-support-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.app-sla-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--foreground) / 0.08);
  background: linear-gradient(
    145deg,
    hsl(var(--card)) 0%,
    hsl(var(--background) / 0.5) 100%
  );
  box-shadow: var(--app-shadow-light);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.app-sla-card:hover {
  border-color: hsl(var(--primary) / 0.2);
  transform: translateX(4px);
}

/* Contact Form 7 */
.app-contact-form-slot .wpcf7 {
  margin: 0;
}

.app-contact-form-slot .wpcf7-form-control-wrap {
  display: block;
  margin-top: 7px;
}

.app-contact-form-slot .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.app-contact-form-slot label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.app-contact-form-slot .wpcf7-form-control-wrap {
  display: block;
}

.app-contact-form-slot input[type="text"],
.app-contact-form-slot input[type="email"],
.app-contact-form-slot input[type="tel"],
.app-contact-form-slot input[type="url"],
.app-contact-form-slot select,
.app-contact-form-slot textarea {
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--input));
  background-color: hsl(var(--background));
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  color: hsl(var(--foreground));
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.app-contact-form-slot input:focus,
.app-contact-form-slot select:focus,
.app-contact-form-slot textarea:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.app-contact-form-slot textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.app-contact-form-slot input[type="submit"],
.app-contact-form-slot .wpcf7-submit {
  display: flex;
  width: 100%;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  padding: 0 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--primary-foreground));
  cursor: pointer;
  background-color: hsl(var(--primary));
  box-shadow: 0 4px 14px hsl(var(--primary) / 0.35);
  transition: background-color 0.15s ease;
}

.app-contact-form-slot input[type="submit"]:hover,
.app-contact-form-slot .wpcf7-submit:hover {
  background-color: hsl(var(--primary) / 0.9);
}

.app-contact-form-slot .wpcf7-not-valid-tip {
  font-size: 0.8125rem;
  color: hsl(var(--destructive));
  margin-top: 0.25rem;
}

.app-contact-form-slot .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  border: 1px solid hsl(var(--border));
}

.app-contact-form-slot .wpcf7 form.sent .wpcf7-response-output {
  border-color: hsl(var(--primary));
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--foreground));
}

.app-contact-form-slot .wpcf7 form.invalid .wpcf7-response-output,
.app-contact-form-slot .wpcf7 form.failed .wpcf7-response-output {
  border-color: hsl(var(--destructive));
  background-color: hsl(var(--destructive) / 0.1);
  color: hsl(var(--destructive));
}

/* Mailchimp embed / newsletter */
.app-newsletter-slot #mc_embed_shell,
.app-newsletter-slot #mc_embed_signup {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  width: 100%;
}

.app-newsletter-slot #mc_embed_signup_scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.app-newsletter-slot .mc-field-group {
  flex: 1 1 100%;
  margin: 0;
}

.app-newsletter-slot .mc-field-group--half {
  flex: 1 1 calc(50% - 0.5rem);
}

.app-newsletter-slot .mc-field-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.app-newsletter-slot .mc-field-group .asterisk {
  color: hsl(var(--destructive));
}

.app-newsletter-slot .mc-field-group input {
  box-sizing: border-box;
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--input));
  background-color: hsl(var(--background));
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  color: hsl(var(--foreground));
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.app-newsletter-slot .mc-field-group input:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.app-newsletter-slot .mc-submit-row {
  flex: 1 1 100%;
  margin: 0;
}

.app-newsletter-slot #mc-embedded-subscribe {
  display: flex;
  width: 100%;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  padding: 0 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  color: hsl(var(--primary-foreground));
  cursor: pointer;
  background-color: hsl(var(--primary));
  box-shadow: 0 4px 14px hsl(var(--primary) / 0.35);
  transition: background-color 0.15s ease;
}

.app-newsletter-slot #mc-embedded-subscribe:hover {
  background-color: hsl(var(--primary) / 0.9);
}

.app-newsletter-slot #mce-responses {
  flex: 1 1 100%;
  margin: 0;
}

.app-newsletter-slot #mce-responses .response {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  border: 1px solid hsl(var(--border));
}

.app-newsletter-slot #mce-success-response {
  border-color: hsl(var(--primary));
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--foreground));
}

.app-newsletter-slot #mce-error-response {
  border-color: hsl(var(--destructive));
  background-color: hsl(var(--destructive) / 0.1);
  color: hsl(var(--destructive));
}

/* -------------------------------------------------------------------------- */
/* Blog — single post (moodr-*)                                               */
/* -------------------------------------------------------------------------- */

.moodr-home {
  background-color: hsl(var(--background));
}

/* Hero */
.moodr-hero .hero-mesh {
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, hsl(var(--accent) / 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 60%, hsl(var(--primary) / 0.12) 0%, transparent 70%);
}

.moodr-hero .hero-vignette {
  background: radial-gradient(ellipse at center, transparent 40%, hsl(var(--secondary) / 0.45) 100%);
}

.moodr-blog-post__categories a {
  color: hsl(var(--secondary-foreground) / 0.85);
  text-decoration: none;
  transition: color 0.15s ease;
}

.moodr-blog-post__categories a:hover {
  color: hsl(var(--accent));
}

/* Featured image */
.moodr-image-frame {
  background-color: hsl(var(--card));
}

/* Prose body */
.moodr-prose {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: hsl(var(--foreground));
}

.moodr-prose > *:first-child {
  margin-top: 0;
}

.moodr-prose > *:last-child {
  margin-bottom: 0;
}

.moodr-prose p,
.moodr-prose .wp-block-paragraph {
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: hsl(var(--foreground) / 0.88);
}

.moodr-prose p:empty,
.moodr-prose .wp-block-paragraph:empty {
  display: none;
}

.moodr-prose h2,
.moodr-prose h2.wp-block-heading {
  font-family: conglomerate, Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.35;
  color: hsl(var(--foreground));
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.moodr-prose h2:first-child,
.moodr-prose h3:first-child {
  margin-top: 0;
}

.moodr-prose h3,
.moodr-prose h3.wp-block-heading {
  font-family: conglomerate, Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: hsl(var(--foreground));
  margin-top: 1.75rem;
  margin-bottom: 0.625rem;
}

.moodr-prose h4 {
  font-family: conglomerate, Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: hsl(var(--foreground));
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.moodr-prose strong {
  font-weight: 600;
  color: hsl(var(--foreground));
}

.moodr-prose a {
  color: hsl(var(--primary));
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.moodr-prose a:hover {
  color: hsl(var(--primary) / 0.8);
}

.moodr-prose ul,
.moodr-prose .wp-block-list {
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.5rem;
  list-style-type: disc;
}

.moodr-prose ol {
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.5rem;
  list-style-type: decimal;
}

.moodr-prose li {
  margin-bottom: 0.375rem;
  padding-left: 0.25rem;
  color: hsl(var(--foreground) / 0.88);
  line-height: 1.7;
}

.moodr-prose li:last-child {
  margin-bottom: 0;
}

.moodr-prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid hsl(var(--primary));
  background-color: hsl(var(--muted) / 0.5);
  border-radius: 0 0.5rem 0.5rem 0;
  color: hsl(var(--foreground) / 0.85);
  font-style: italic;
}

.moodr-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
}

.moodr-prose hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid hsl(var(--border));
}

/* Tags */
.moodr-blog-post__tags a {
  display: inline-block;
  margin: 0.25rem 0.375rem 0.25rem 0;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.75);
  background-color: hsl(var(--muted));
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.moodr-blog-post__tags a:hover {
  background-color: hsl(var(--primary) / 0.15);
  color: hsl(var(--primary));
}

/* Prev / Next */
.moodr-blog-post__nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .moodr-blog-post__nav {
    grid-template-columns: 1fr 1fr;
  }
}

.moodr-blog-post__nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.moodr-blog-post__nav-link:hover {
  border-color: hsl(var(--primary) / 0.3);
  box-shadow: var(--app-shadow-light);
  transform: translateY(-2px);
}

.moodr-blog-post__nav-link--next {
  text-align: right;
}

.moodr-blog-post__nav-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
}

.moodr-blog-post__nav-title {
  font-family: conglomerate, Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: hsl(var(--foreground));
}
