.font-newsreader {
  font-family: "Newsreader", serif;
}

.font-efica {
  font-family: "Manrope", "Noto Sans", sans-serif;
  letter-spacing: -0.03em;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

html {
  scroll-behavior: smooth;
}

:where(a[href], button, input, summary):focus-visible {
  outline: 2px solid var(--focus-outline);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgb(var(--focus-shadow-rgb) / 0.22);
}

:where(a[href], button, input, summary) {
  outline: none;
}

.dialog-open {
  overflow: hidden;
}

.subscribe-fallback-link {
  min-width: 0;
}

.hero-desktop-fallback {
  display: none;
}

.mdv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 500;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, opacity 200ms ease;
}

.mdv-btn-primary {
  background: var(--color-primary);
  color: #fff;
}

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

.mdv-link-accent {
  color: var(--color-primary);
  transition: color 200ms ease;
}

.mdv-link-accent:hover {
  color: var(--color-primary-hover);
}

.mdv-icon-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: rgb(var(--color-primary-rgb) / 0.1);
  color: var(--color-primary);
  transition: background-color 200ms ease, color 200ms ease;
}

.group:hover .mdv-icon-chip {
  background: var(--color-primary);
  color: #fff;
}

.mdv-testimonial-card {
  min-width: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--color-border-soft);
  border-radius: 1rem;
  background: var(--color-surface-light);
}


.mdv-legal-header {
  width: 100%;
  padding-block: 1.5rem;
  background: var(--color-surface-light);
  border-bottom: 1px solid var(--color-border-light);
}


.mdv-legal-footer {
  width: 100%;
  padding-block: 2rem;
  text-align: center;
  border-top: 1px solid var(--color-border-light);
}


.mdv-legal-prose {
  max-width: none;
}

.mdv-legal-prose :where(p, li) {
  color: var(--color-text-muted);
}


details summary::-webkit-details-marker {
  display: none;
}

.hero-static-mode .hero-static-image {
  display: block !important;
}

.hero-static-mode .hero-video {
  display: none !important;
}

.hero-video {
  display: block;
}

.hero-static-image {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-static-image {
    display: block !important;
  }
  .hero-video {
    display: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-video {
    display: none !important;
  }
}

/* Blog article shared styles */
#image-modal:not([open]) {
  display: none;
}

#image-modal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

#image-modal::backdrop {
  background: rgba(18, 13, 11, 0.95);
  backdrop-filter: blur(8px);
}

.modal-content {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  cursor: zoom-out;
}

.prose blockquote.pull-quote {
  margin: 3.5rem auto;
  max-width: 36rem;
  padding: 1.6rem 0 1.6rem 1.5rem;
  border-left: 3px solid rgba(238, 91, 43, 0.32);
  color: #5f4a43;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
}

.prose blockquote.pull-quote::before {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  margin-bottom: 1rem;
  background: rgba(238, 91, 43, 0.38);
}

.prose .footnote-ref {
  text-decoration: none;
  font-weight: 600;
}

.prose .footnote-ref:hover {
  color: #ee5b2b;
}

.prose .footnote-back {
  text-decoration: none;
  margin-right: 0.35em;
}

.prose .footnote-back:hover {
  color: #ee5b2b;
}

/* Blog article share bars */
.article-share-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}

.article-share {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-family: "Noto Sans", sans-serif;
}

.article-share--top {
  margin-top: 1.5rem;
}

.article-share--bottom {
  padding-top: 0.25rem;
}

.article-share__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #896b61;
}

.article-share__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid #e6dedb;
  border-radius: 9999px;
  background: #fff;
  color: #896b61;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.article-share__btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.article-share__btn:hover {
  transform: translateY(-1px);
}

.article-share__btn--native:hover {
  color: var(--color-primary);
  border-color: rgb(var(--color-primary-rgb) / 0.45);
}

.article-share__btn--whatsapp:hover {
  color: #25d366;
  border-color: rgb(37 211 102 / 0.4);
}

.article-share__btn--facebook:hover {
  color: #1877f2;
  border-color: rgb(24 119 242 / 0.4);
}

.article-share__btn--x:hover {
  color: #111;
  border-color: rgb(17 17 17 / 0.25);
}

.article-share__btn--linkedin:hover {
  color: #0a66c2;
  border-color: rgb(10 102 194 / 0.4);
}

.article-share__btn--instagram:hover {
  color: #e4405f;
  border-color: rgb(228 64 95 / 0.4);
}

.article-share__btn--email:hover {
  color: var(--color-primary);
  border-color: rgb(var(--color-primary-rgb) / 0.45);
}

.article-share__btn--copy:hover {
  color: #5f4a43;
  border-color: #d8ccc7;
}

.article-share__status {
  min-height: 1.25rem;
  font-size: 0.8rem;
  color: #5f4a43;
}

.instagram-share-modal {
  width: min(34rem, calc(100vw - 2rem));
  max-height: min(47rem, calc(100vh - 2rem));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #e6dedb;
  border-radius: 1.25rem;
  background: #fdfcf8;
  color: #181311;
  box-shadow: 0 1.5rem 5rem rgb(31 18 13 / 0.3);
}

.instagram-share-modal::backdrop {
  background: rgb(37 24 19 / 0.62);
  backdrop-filter: blur(4px);
}

.instagram-share-modal__content {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.instagram-share-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #896b61;
  font-family: "Noto Sans", sans-serif;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.instagram-share-modal__close:hover {
  background: #f3ece8;
  color: #181311;
}

.instagram-share-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  color: #b93654;
  font-family: "Noto Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.instagram-share-modal__eyebrow svg {
  width: 1rem;
  height: 1rem;
}

.instagram-share-modal h2 {
  margin: 0;
  padding-right: 2.25rem;
  font-family: "Newsreader", serif;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 400;
  line-height: 0.98;
}

.instagram-share-modal__intro,
.instagram-share-modal__note {
  margin: 0;
  font-family: "Noto Sans", sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #5f4a43;
}

.instagram-share-modal__intro {
  max-width: 28rem;
  margin-top: 0.85rem;
}

.instagram-share-modal__preview {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  margin: 1.6rem 0;
  overflow: hidden;
  border: 1px solid #e6dedb;
  border-radius: 0.8rem;
  background: #f4ede8;
}

.instagram-share-modal__image {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  object-fit: cover;
}

.instagram-share-modal__preview-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem;
  background: #f4ede8;
}

.instagram-share-modal__preview-brand {
  margin-bottom: 0.65rem;
  color: #b14f32;
  font-family: "Noto Sans", sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.instagram-share-modal__preview-title {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 400;
  line-height: 1.06;
}

.instagram-share-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.instagram-share-modal__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  font-family: "Noto Sans", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.instagram-share-modal__action:hover {
  transform: translateY(-1px);
}

.instagram-share-modal__action--primary {
  background: #ee5b2b;
  color: #fff;
}

.instagram-share-modal__action--primary:hover {
  background: #d94f23;
}

.instagram-share-modal__action--secondary {
  border-color: #d8ccc7;
  background: #fff;
  color: #5f4a43;
}

.instagram-share-modal__action--secondary:hover {
  border-color: #b14f32;
  color: #b14f32;
}

.instagram-share-modal__note {
  margin-top: 1rem;
  font-size: 0.78rem;
}

@media (min-width: 768px) {
  .article-share--bottom .article-share__label {
    text-align: center;
  }

  .article-share--bottom .article-share__list {
    justify-content: center;
  }

  .article-share--bottom .article-share__status {
    text-align: center;
  }
}

@media (max-width: 430px) {
  .instagram-share-modal__preview {
    grid-template-columns: 1fr;
  }

  .instagram-share-modal__image {
    max-height: 14rem;
  }

  .instagram-share-modal__preview-copy {
    min-height: 8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-share__btn,
  .instagram-share-modal__action {
    transition: none;
  }

  .article-share__btn:hover {
    transform: none;
  }
}
