html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
}
.modal-open {
  overflow: hidden;
}
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}
.nav-link-underline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  background-color: #000;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.nav-link-underline:hover::after,
.nav-link-underline:focus-visible::after {
  transform: scaleX(1);
}
.video-hero-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.45);
}
.video-hero-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.05) 100%);
  pointer-events: none;
}
.video-hero-wrapper video {
  position: relative;
  z-index: 1;
  display: block;
}
.blog-content {
  color: #1f2937;
  font-size: 1.0625rem;
  line-height: 1.8;
}
.dark .blog-content {
  color: #cbd5f5;
}
.blog-content p {
  margin-bottom: 1.5rem;
}
.blog-content h1 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #0f172a;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.2;
}
.dark .blog-content h1 {
  color: #f8fafc;
}
.blog-content h2 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #0f172a;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
}
.dark .blog-content h2 {
  color: #f8fafc;
}
.blog-content h3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #0f172a;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
}
.dark .blog-content h3 {
  color: #f8fafc;
}
.dark .blog-content h2,
.dark .blog-content h3 {
  color: #f8fafc;
}
.blog-content ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  list-style: disc;
}
.blog-content li + li {
  margin-top: 0.75rem;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes scroll-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.animate-scroll-left {
  animation: scroll-left 60s linear infinite;
}
.animate-scroll-right {
  animation: scroll-right 60s linear infinite;
}
.animate-ticker-scroll {
  animation: scroll-left 40s linear infinite;
}
.cookie-banner {
  position: fixed;
  inset: auto auto 1rem 1rem;
  z-index: 60;
  max-width: 30rem;
  margin-left: 0;
  margin-right: auto;
  border-radius: 1.25rem;
  background: rgba(0, 0, 0, 0.92);
  color: #f8fafc;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(16px);
}
.cookie-banner.hidden,
.cookie-modal.hidden {
  display: none;
}
.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem;
}
.cookie-banner__copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cookie-banner__title {
  font-size: 1.25rem;
  font-weight: 700;
}
.cookie-banner__text {
  color: rgba(248, 250, 252, 0.85);
  line-height: 1.6;
}
.cookie-banner__preferences {
  align-self: flex-start;
  padding: 0.4rem 0;
  margin-top: 0.25rem;
  border-bottom: 1px solid rgba(166, 255, 248, 0.6);
  color: #a6fff8;
  font-size: 0.9rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}
.cookie-button {
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.footer-heart {
  color: inherit;
  font-variation-settings: 'FILL' 1, 'wght' 700;
  vertical-align: middle;
}
.enterprise-card-bg {
  position: relative;
  background: black;
}
.enterprise-card-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 1) 100%), url('../images/factuprox-promo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: rotate(-5deg) scale(1.3);
  z-index: 0;
  opacity: 0.1;
}
.cookie-button--primary {
  background: #a6fff8;
  color: #0f172a;
}
.cookie-button--primary:hover {
  opacity: 0.85;
}
.cookie-button--secondary {
  background: rgba(148, 163, 184, 0.25);
  color: #f8fafc;
}
.cookie-button--secondary:hover {
  opacity: 0.75;
}
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
}
.cookie-modal__content {
  width: min(100%, 42rem);
  background: #ffffff;
  color: #0f172a;
  border-radius: 1.5rem;
  box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.35);
  overflow: hidden;
}
.dark .cookie-modal__content {
  background: #0f172a;
  color: #f8fafc;
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem 1rem;
}
.cookie-modal__body {
  padding: 0 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.cookie-modal__intro {
  color: rgba(15, 23, 42, 0.7);
  line-height: 1.6;
}
.dark .cookie-modal__intro {
  color: rgba(248, 250, 252, 0.7);
}
.cookie-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgba(148, 163, 184, 0.12);
}
.dark .cookie-switch {
  background: rgba(148, 163, 184, 0.15);
}
.cookie-switch h3 {
  font-weight: 600;
  font-size: 1.05rem;
}
.cookie-switch p {
  margin-top: 0.4rem;
  color: rgba(15, 23, 42, 0.65);
}
.dark .cookie-switch p {
  color: rgba(248, 250, 252, 0.65);
}
.cookie-switch__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.6);
}
.cookie-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 2rem 1.75rem;
}
.cookie-modal__close {
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  border-radius: 0.75rem;
  background: transparent;
  color: inherit;
}
.cookie-modal__close:hover {
  background: rgba(148, 163, 184, 0.2);
}
.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 3rem;
  height: 1.5rem;
}
.toggle input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.toggle__track {
  width: 100%;
  height: 100%;
  background: rgba(148, 163, 184, 0.55);
  border-radius: 999px;
  transition: background 0.2s ease;
}
.toggle__thumb {
  position: absolute;
  top: 0.2rem;
  left: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}
.toggle input:checked ~ .toggle__track {
  background: rgba(166, 255, 248, 0.75);
}
.toggle input:checked ~ .toggle__thumb {
  transform: translateX(1.35rem);
}
.rich-editor {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  background: rgba(248, 250, 252, 0.35);
  overflow: hidden;
}
.dark .rich-editor {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(71, 85, 105, 0.8);
}
.rich-editor__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.75rem;
  background: rgba(148, 163, 184, 0.15);
}
.dark .rich-editor__toolbar {
  background: rgba(71, 85, 105, 0.3);
}
.rich-editor__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: transparent;
  color: inherit;
  font-size: 1.1rem;
}
.rich-editor__button:hover {
  background: rgba(148, 163, 184, 0.25);
}
.rich-editor__content {
  min-height: 16rem;
  padding: 1.25rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1.01rem;
  line-height: 1.7;
  color: inherit;
}
.rich-editor__content:focus {
  outline: none;
}
.dropzone {
  position: relative;
  border: 2px dashed rgba(148, 163, 184, 0.6);
  border-radius: 1rem;
  padding: 1.75rem;
  background: rgba(248, 250, 252, 0.6);
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.dark .dropzone {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.45);
}
.dropzone--active {
  border-color: #a6fff8;
  background: rgba(166, 255, 248, 0.12);
}
.dropzone__preview {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.dropzone__preview img {
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 12px 24px -12px rgba(15, 23, 42, 0.45);
}
.dropzone__meta {
  font-size: 0.85rem;
  color: rgba(15, 23, 42, 0.7);
}
.dark .dropzone__meta {
  color: rgba(248, 250, 252, 0.65);
}
.dropzone__remove {
  color: #ef4444;
  font-size: 0.85rem;
  font-weight: 600;
}
.breadcrumb {
  font-size: 0.875rem;
  color: #64748b;
}
.dark .breadcrumb {
  color: #94a3b8;
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
}
.breadcrumb__item + .breadcrumb__item::before {
  content: '/';
  color: #cbd5f5;
}
.dark .breadcrumb__item + .breadcrumb__item::before {
  color: rgba(148, 163, 184, 0.6);
}
.breadcrumb__item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb__item a:hover {
  color: #0f172a;
}
.dark .breadcrumb__item a:hover {
  color: #f8fafc;
}
.breadcrumb__item:last-child span {
  font-weight: 600;
  color: #0f172a;
}
.dark .breadcrumb__item:last-child span {
  color: #f8fafc;
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
  border: 1px solid #a6fff8;
  background: #a6fff8;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}
.dark .tag-pill {
  border-color: #1e293b;
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
}
.tag-pill--link {
  cursor: pointer;
}
.tag-pill--link:hover {
  background: #0f172a;
  color: #f8fafc;
  border-color: #0f172a;
}
.dark .tag-pill--link:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #f8fafc;
}
.tag-pill--active {
  background: #0f172a;
  border-color: #0f172a;
  color: #f8fafc;
}
.tag-pill--active:hover {
  color: #f8fafc;
}
.dark .tag-pill--active {
  background: #f8fafc;
  border-color: #f8fafc;
  color: #0f172a;
}
.dark .tag-pill--active:hover {
  color: #0f172a;
}
.table-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.table-actions__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: rgba(148, 163, 184, 0.18);
  color: #0f172a;
  transition: background 0.2s ease;
}
.table-actions__button:hover {
  background: rgba(166, 255, 248, 0.4);
}
.dark .table-actions__button {
  color: #f8fafc;
  background: rgba(148, 163, 184, 0.25);
}
.dark .table-actions__button:hover {
  background: rgba(166, 255, 248, 0.25);
}
.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(248, 250, 252, 0.8);
  height: 100%;
}
.dark .blog-card {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(71, 85, 105, 0.7);
}
.blog-card__media {
  position: relative;
  padding-top: 62%;
  overflow: hidden;
}
.blog-card__media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card__body {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  flex-grow: 1;
}
.blog-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(15, 23, 42, 0.55);
}
.dark .blog-card__meta {
  color: rgba(248, 250, 252, 0.55);
}
.blog-card__title {
  margin-top: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}
.dark .blog-card__title {
  color: #f8fafc;
}
.blog-card__excerpt {
  margin-top: 0.75rem;
  color: rgba(15, 23, 42, 0.68);
  flex-grow: 1;
}
.dark .blog-card__excerpt {
  color: rgba(248, 250, 252, 0.68);
}
.blog-card__cta {
  margin-top: 1.5rem;
  align-self: flex-start;
}
@media (max-width: 768px) {
  .cookie-banner {
    inset: auto 1rem 1rem 1rem;
    max-width: none;
  }
  .cookie-banner__actions {
    flex-wrap: wrap;
    justify-content: stretch;
  }
  .cookie-button {
    flex: 1 1 45%;
    text-align: center;
  }
}

/* Table styles for blog content and admin editor */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  border: 1px solid #e5e7eb;
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

thead th {
  background-color: #f3f4f6;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

tbody tr:hover {
  background-color: #f3f4f6;
}

.dark table {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dark th, .dark td {
  border-color: #4b5563;
  color: #f9fafb;
}

.dark thead th {
  background-color: #1f2937;
  color: #f9fafb;
}

.dark tbody tr:nth-child(even) {
  background-color: #111827;
}

.dark tbody tr:hover {
  background-color: #1f2937;
}

/* Responsive table wrapper */
.table-container {
  overflow-x: auto;
  margin: 1rem 0;
}

.table-container table {
  min-width: 600px;
}