:root {
  --nexum-navy: #0b1f3a;
  --nexum-slate: #1d2f44;
  --nexum-accent: #1a6fb3;
  --nexum-cyan: #2ccbff;
  --nexum-green: #26a93e;
  --nexum-lime: #9cd62f;
  --nexum-surface: #f4f7fb;
  --nexum-border: #e2e8f0;
  --nexum-text: #0f172a;
  --nexum-surface-2: #ffffff;
  --nexum-card-bg: #ffffff;
  --nexum-muted: #5d6f86;
  --nexum-shadow: rgba(15, 23, 42, 0.12);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--nexum-text);
  background-color: var(--nexum-surface);
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: #fff;
  color: var(--nexum-navy);
  border: 1px solid var(--nexum-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto Slab", serif;
}

section[id] {
  scroll-margin-top: 90px;
}

.navbar {
  backdrop-filter: blur(16px);
}

.nexum-brand-link {
  min-width: 172px;
  padding: 0.15rem 0;
}

.navbar-brand-mark {
  display: grid;
  align-items: center;
  width: 172px;
  height: 46px;
}

.navbar-logo,
.navbar-logo-symbol {
  grid-area: 1 / 1;
  display: block;
  object-fit: contain;
}

.navbar-logo {
  width: 172px;
  height: 46px;
}

.navbar-logo-dark,
.navbar-logo-symbol {
  display: none;
}

.navbar-logo-symbol {
  width: 44px;
  height: 44px;
}

.nexum-navbar {
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nexum-nav-primary {
  gap: 4px;
}

.navbar .top-nav-link {
  color: var(--nexum-slate);
  font-weight: 600;
  border-radius: 10px;
  padding: 0.45rem 0.72rem;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.navbar .top-nav-link:hover,
.navbar .top-nav-link:focus {
  color: var(--nexum-accent);
  background: rgba(26, 111, 179, 0.1);
}

.navbar .top-nav-link.active {
  color: var(--nexum-navy);
  background: rgba(26, 111, 179, 0.18);
  box-shadow: inset 0 0 0 1px rgba(26, 111, 179, 0.16);
}

.nexum-nav-more-toggle {
  border: 0;
  background: transparent;
}

.nexum-nav-more-toggle::after {
  margin-left: 0.45rem;
  font-size: 0.72rem;
}

.nexum-nav-more-menu {
  border-radius: 14px;
  border: 1px solid var(--nexum-border);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
  padding: 0.45rem;
  min-width: 220px;
}

.top-nav-link-secondary {
  font-weight: 600;
}

.nexum-nav-more-menu .dropdown-item {
  border-radius: 10px;
  padding: 0.48rem 0.72rem;
}

.theme-mode-item {
  display: flex;
  align-items: center;
}

.nexum-navbar-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

@media (min-width: 1200px) {
  .nexum-navbar-tools {
    margin-top: 0;
  }
}

.theme-mode-item,
.nexum-user-menu-wrap {
  display: flex;
  align-items: center;
}

.theme-mode-toggle {
  min-width: 178px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.theme-mode-menu {
  min-width: 220px;
  border-radius: 14px;
  border: 1px solid var(--nexum-border);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
}

.theme-mode-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--nexum-slate);
}

.theme-mode-option .theme-mode-check {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.theme-mode-option.active {
  background: rgba(26, 111, 179, 0.12);
  color: var(--nexum-navy);
}

.theme-mode-option.active .theme-mode-check {
  opacity: 1;
  transform: scale(1);
}

.nexum-user-toggle {
  max-width: min(340px, 56vw);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nexum-user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(26, 111, 179, 0.13);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--nexum-accent);
}

.nexum-user-name {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nexum-user-menu {
  min-width: 230px;
  border-radius: 14px;
  border: 1px solid var(--nexum-border);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
}

.nexum-user-menu .dropdown-item {
  border-radius: 10px;
  font-weight: 600;
}

.nexum-logout-item {
  color: #b42318;
}

.nexum-logout-item:hover,
.nexum-logout-item:focus {
  color: #8d1d13;
  background: rgba(231, 76, 60, 0.12);
}

.side-nav {
  position: fixed;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1040;
}

.side-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--nexum-slate);
  text-decoration: none;
  font-weight: 600;
}

.side-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid rgba(26, 111, 179, 0.35);
  background: #fff;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.side-nav-label {
  font-size: 0.85rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.side-nav-link:hover .side-nav-label,
.side-nav-link:focus .side-nav-label,
.side-nav-link.active .side-nav-label {
  opacity: 1;
  transform: translateX(0);
}

.side-nav-link.active .side-nav-dot {
  background: linear-gradient(135deg, var(--nexum-accent), var(--nexum-cyan));
  border-color: transparent;
  transform: scale(1.1);
}

.side-nav-link:focus-visible,
.navbar .nav-link:focus-visible,
.back-to-top:focus-visible,
.floating-cta:focus-visible,
.floating-whatsapp:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
  outline: 2px solid rgba(26, 111, 179, 0.45);
  outline-offset: 2px;
}

.bg-gradient-primary {
  background-image: linear-gradient(135deg, var(--nexum-accent), var(--nexum-cyan));
}

.btn.bg-gradient-primary {
  color: #fff;
  border: none;
}

.btn.bg-gradient-primary:hover {
  filter: brightness(0.96);
}

.badge.bg-gradient-primary {
  color: #fff;
}


.hero-section {
  background: radial-gradient(ellipse at 88% 16%, rgba(44, 203, 255, 0.26), transparent 38%),
    radial-gradient(ellipse at 10% 72%, rgba(38, 169, 62, 0.16), transparent 34%),
    linear-gradient(135deg, #081a31, #102947 58%, #081a31);
  color: #fff;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section .reveal {
  opacity: 1;
  transform: none;
}

.hero-section .display-4 {
  line-height: 1.08;
  overflow-wrap: break-word;
}

.hero-section .lead {
  max-width: 640px;
}

.hero-logo-mark {
  position: absolute;
  right: -72px;
  top: 68px;
  width: 560px;
  opacity: 0.16;
  filter: drop-shadow(0 24px 56px rgba(3, 7, 18, 0.36));
  pointer-events: none;
  z-index: 1;
}

.hero-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f8fbff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 6px 12px 6px 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  font-weight: 700;
  line-height: 1;
}

.hero-brand-chip img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.hero-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-proof-item {
  font-size: 0.78rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-card-dark {
  background: var(--nexum-navy);
  color: #fff;
}

.stat-number {
  font-size: 1.15rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.7;
}

.section {
  padding: 90px 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--nexum-navy);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--nexum-slate);
  margin-bottom: 20px;
}

.nexum-card {
  border: 1px solid var(--nexum-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(44, 203, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #f5f8fc 0%, #eef3f8 100%);
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}

.services-intro {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  min-height: 100%;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 10%, rgba(44, 203, 255, 0.32), transparent 34%),
    linear-gradient(145deg, #0b1f3a 0%, #123f69 58%, #1a6fb3 100%);
  box-shadow: 0 28px 60px rgba(11, 31, 58, 0.2);
}

.services-intro::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 270px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(255, 255, 255, 0.035),
    0 0 0 76px rgba(255, 255, 255, 0.025);
  z-index: -1;
}

.services-intro-content {
  position: relative;
  width: 100%;
  padding: clamp(32px, 4vw, 52px);
}

.services-brand-mark {
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.services-kicker {
  margin-bottom: 14px;
  color: #aeeaff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-title {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.services-lead {
  max-width: 34rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.75;
}

.services-cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--nexum-navy);
  box-shadow: 0 12px 24px rgba(3, 7, 18, 0.18);
}

.services-cta:hover,
.services-cta:focus-visible {
  color: var(--nexum-accent);
  transform: translateY(-2px);
}

.services-cta:focus-visible {
  outline: 3px solid #aeeaff;
  outline-offset: 3px;
}

.services-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  column-gap: clamp(24px, 4vw, 48px);
}

.service-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-content: start;
  padding: 28px 0;
  border-top: 1px solid var(--nexum-border);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-item:nth-child(-n + 2) {
  border-top-color: transparent;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(26, 111, 179, 0.16);
  border-radius: 8px;
  color: var(--nexum-accent);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.service-item h3 {
  margin: 1px 0 9px;
  color: var(--nexum-navy);
  font-size: 1.18rem;
  line-height: 1.35;
}

.service-item p {
  margin: 0;
  color: var(--nexum-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

@media (hover: hover) {
  .service-item:hover {
    transform: translateY(-3px);
    border-top-color: rgba(26, 111, 179, 0.34);
  }

  .service-item:hover .service-icon {
    color: #fff;
    background: var(--nexum-accent);
    transform: translateY(-2px);
  }
}

@media (hover: hover) {
  .nexum-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  }
}

.contact-card {
  border: 1px solid var(--nexum-border);
}

.contact-benefits {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.benefit-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--nexum-slate);
  font-weight: 500;
}

.contact-trust {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--nexum-border);
  background: #fff;
  margin-bottom: 24px;
}

.trust-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--nexum-slate);
  font-weight: 500;
}

.form-intro {
  padding: 12px 0 6px;
}

.validation-summary:empty {
  display: none;
}

.validation-summary ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.step-card {
  border: 1px solid var(--nexum-border);
  background: #fff;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(44, 203, 255, 0.14);
  color: var(--nexum-accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nexum-slate);
  display: block;
}

.contact-value {
  font-weight: 600;
  color: var(--nexum-navy);
}

.text-sm {
  font-size: 0.875rem;
}

.trust-highlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--nexum-border);
  background: #fff;
}

.logo-card {
  min-height: 132px;
  border-radius: 10px;
  border: 1px solid var(--nexum-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.logo-card-img {
  width: 92px;
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
  filter: saturate(1.04);
}

.logo-card-img-wide {
  width: min(100%, 190px);
  max-height: 54px;
}

.logo-card-caption {
  color: #5b6b7f;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 600;
}

.logo-card-note strong {
  color: var(--nexum-navy);
  font-size: 0.92rem;
}

.faq-accordion .accordion-item {
  border: 1px solid var(--nexum-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #fff;
}

.faq-accordion .accordion-button {
  font-weight: 600;
}

.cta-band {
  background: linear-gradient(120deg, #0b1f3a, #1a6fb3 45%, #26a93e 95%);
}

.floating-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 12px);
  background: linear-gradient(135deg, #0b1f3a, #1a6fb3);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.2);
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1050;
}

.floating-cta.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.floating-cta:hover {
  color: #fff;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: linear-gradient(135deg, #1b8f39, #26a93e);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.2);
  font-weight: 600;
  gap: 8px;
  align-items: center;
  z-index: 1050;
}

.floating-whatsapp:hover {
  color: #fff;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b1f3a, #1a6fb3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1060;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  color: #fff;
}

.swal2-container {
  backdrop-filter: blur(4px);
}

.nexum-swal-popup {
  border: 1px solid var(--nexum-border);
  border-radius: 18px;
  padding: 2rem 2rem 1.5rem;
  background: #fff;
  color: var(--nexum-text);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
}

.nexum-swal-title {
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  color: var(--nexum-navy);
}

.nexum-swal-text {
  color: var(--nexum-slate);
  font-size: 0.95rem;
}

.swal2-actions {
  gap: 12px;
}

.nexum-swal-confirm,
.nexum-swal-cancel {
  min-width: 120px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.newsletter-page {
  padding-top: 58px;
  min-height: calc(100vh - 220px);
}

.newsletter-library-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 4%, rgba(44, 203, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #f6f9fc 0%, var(--nexum-surface) 42%);
}

.newsletter-library-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--nexum-navy), var(--nexum-accent) 58%, var(--nexum-cyan));
}

.newsletter-library-header {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: end;
  padding: clamp(34px, 5vw, 68px) 0 30px;
  border-bottom: 1px solid var(--nexum-border);
}

.newsletter-library-heading {
  max-width: 780px;
}

.newsletter-library-heading h1 {
  max-width: 720px;
  margin: 0 0 20px;
  color: var(--nexum-navy);
  font-size: clamp(2.55rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.newsletter-library-heading > p {
  max-width: 660px;
  margin: 0;
  color: var(--nexum-muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
}

.newsletter-library-actions {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.newsletter-library-actions .btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}

.newsletter-editorial-link {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  padding: 12px 2px 4px;
  color: var(--nexum-slate);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.newsletter-editorial-link:hover,
.newsletter-editorial-link:focus-visible {
  color: var(--nexum-accent);
}

.newsletter-editorial-link:focus-visible,
.newsletter-featured-link:focus-visible,
.newsletter-read-link:focus-visible {
  outline: 3px solid rgba(44, 203, 255, 0.45);
  outline-offset: 4px;
}

.newsletter-library-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.newsletter-library-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  color: var(--nexum-muted);
  font-size: 0.86rem;
}

.newsletter-library-status strong {
  color: var(--nexum-navy);
  font-family: "Roboto Slab", serif;
  font-size: 1.45rem;
}

.newsletter-library-update::before {
  content: "•";
  margin-right: 7px;
  color: var(--nexum-accent);
}

.newsletter-library-page .newsletter-filter-scroll {
  justify-content: flex-end;
}

.newsletter-library-page .newsletter-filter-chip {
  margin: 0;
  padding: 7px 13px;
  border-color: transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--nexum-slate);
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
}

.newsletter-library-page .newsletter-filter-chip:hover {
  background: rgba(26, 111, 179, 0.08);
  transform: none;
}

.newsletter-library-page .newsletter-filter-chip.active {
  color: #fff;
  background: var(--nexum-navy);
  box-shadow: none;
}

.newsletter-featured {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--nexum-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.newsletter-featured-visual {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(44, 203, 255, 0.38), transparent 32%),
    linear-gradient(145deg, #0b1f3a 0%, #124c7a 62%, #1a6fb3 100%);
}

.newsletter-featured-visual::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 260px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(255, 255, 255, 0.035),
    0 0 0 76px rgba(255, 255, 255, 0.025);
  z-index: -1;
}

.newsletter-featured-visual img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.newsletter-featured-visual span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.newsletter-featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 64px);
}

.newsletter-featured-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 22px;
  color: var(--nexum-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.newsletter-featured-meta > span:not(:first-child)::before {
  content: "•";
  margin-right: 16px;
  color: var(--nexum-accent);
}

.newsletter-featured-content h2 {
  margin: 0 0 18px;
  color: var(--nexum-navy);
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.newsletter-featured-content > p {
  margin: 0 0 28px;
  color: var(--nexum-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.newsletter-featured-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--nexum-border);
  color: var(--nexum-slate);
  font-size: 0.86rem;
  font-weight: 600;
}

.newsletter-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--nexum-accent);
  font-weight: 800;
  text-decoration: none;
}

.newsletter-featured-link:hover {
  color: var(--nexum-navy);
}

.newsletter-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin: 64px 0 24px;
}

.newsletter-section-heading h2 {
  margin: 0 0 6px;
  color: var(--nexum-navy);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.newsletter-section-heading p {
  margin: 0;
  color: var(--nexum-muted);
}

.newsletter-section-heading > span {
  padding-bottom: 5px;
  color: var(--nexum-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsletter-library-page .newsletter-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.newsletter-library-page .newsletter-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--nexum-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.newsletter-card-topline {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--nexum-accent), var(--nexum-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.newsletter-card-body {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 26px;
}

.newsletter-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--nexum-muted);
  font-size: 0.78rem;
}

.newsletter-library-page .newsletter-card-title {
  margin: 0 0 14px;
  color: var(--nexum-navy);
  font-size: 1.32rem;
  line-height: 1.28;
}

.newsletter-library-page .newsletter-card-summary {
  display: -webkit-box;
  flex-grow: 1;
  margin: 0 0 26px;
  overflow: hidden;
  color: var(--nexum-muted);
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.newsletter-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--nexum-border);
}

.newsletter-card-footer > div {
  display: grid;
  gap: 4px;
}

.newsletter-read-link {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(26, 111, 179, 0.3);
  border-radius: 50%;
  color: var(--nexum-accent);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) {
  .newsletter-library-page .newsletter-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  }

  .newsletter-library-page .newsletter-card:hover .newsletter-card-topline {
    transform: scaleX(1);
  }

  .newsletter-read-link:hover {
    color: #fff;
    background: var(--nexum-accent);
    transform: translateX(2px);
  }
}

.newsletter-library-page .newsletter-empty {
  max-width: 760px;
  margin: 64px auto;
  padding: clamp(40px, 7vw, 72px);
  border: 1px dashed rgba(26, 111, 179, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.newsletter-library-page .newsletter-empty h2 {
  color: var(--nexum-navy);
}

.newsletter-library-page .newsletter-empty p {
  max-width: 560px;
  margin: 0 auto 24px;
  color: var(--nexum-muted);
}

.newsletter-create-page {
  background: radial-gradient(circle at top right, rgba(44, 203, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(244, 248, 253, 0.92), var(--nexum-surface) 44%);
}

.newsletter-create-page .btn {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.newsletter-header {
  border: 1px solid var(--nexum-border);
  background: radial-gradient(circle at top right, rgba(44, 203, 255, 0.26), transparent 52%),
    linear-gradient(145deg, #ffffff, #f7fbff 45%, #f2f8ff);
}

.newsletter-create-header {
  border: 1px solid var(--nexum-border);
  background: radial-gradient(circle at top right, rgba(44, 203, 255, 0.2), transparent 56%),
    linear-gradient(145deg, #ffffff, #f9fcff 50%, #f1f8ff);
  position: relative;
  overflow: hidden;
}

.newsletter-create-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(44, 203, 255, 0.2) 100%);
  pointer-events: none;
}

.newsletter-create-page .section-subtitle {
  color: #4e6480;
  font-size: 0.98rem;
}

.newsletter-create-page .form-label {
  color: #1b3550;
  font-weight: 600;
  font-size: 0.9rem;
}

.newsletter-create-page .form-control,
.newsletter-create-page .form-select {
  border: 1px solid #c7d8ea;
  border-radius: 10px;
  min-height: 44px;
  background: #fff;
}

.newsletter-create-page textarea.form-control {
  min-height: 106px;
  resize: vertical;
}

.newsletter-create-page .form-control:focus,
.newsletter-create-page .form-select:focus {
  border-color: #3ca7de;
  box-shadow: 0 0 0 0.2rem rgba(44, 165, 227, 0.18);
}

.newsletter-create-page .validation-summary {
  border: 1px solid #f4c7c9;
  background: #fff2f2;
  border-radius: 12px;
  padding: 12px 14px;
}

.newsletter-create-page .text-danger {
  font-size: 0.82rem;
}

.newsletter-field-help {
  color: #6a8099 !important;
  font-size: 0.84rem;
}

.newsletter-side-stack {
  position: sticky;
  top: 112px;
}

.newsletter-back-btn {
  min-width: 220px;
  border-color: #37a9e3;
  color: #1770a8;
}

.newsletter-create-panel {
  border: 1px solid #d3e1ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.newsletter-panel-heading {
  padding-bottom: 12px;
  border-bottom: 1px dashed #cfe0f2;
}

.newsletter-panel-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--nexum-navy);
  margin: 0;
}

.newsletter-panel-subtitle {
  font-size: 0.89rem;
  color: #5e7794;
}

.newsletter-counter {
  font-size: 0.74rem;
  font-weight: 700;
  color: #477194;
  border: 1px solid #d2e3f1;
  border-radius: 999px;
  background: #f4f9fe;
  padding: 3px 8px;
}

.newsletter-publish-toggle {
  background: #f4f9ff;
  border: 1px solid #d2e3f2;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.newsletter-publish-toggle.form-switch {
  padding-left: 14px;
}

.newsletter-publish-toggle .form-check-input {
  float: none;
  margin: 0;
  width: 2.3em;
  height: 1.2em;
  cursor: pointer;
}

.newsletter-publish-toggle .form-check-label {
  margin: 0;
  font-weight: 600;
  color: #35506b;
}

.newsletter-help-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.newsletter-help-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--nexum-slate);
  font-weight: 500;
  line-height: 1.45;
  font-size: 0.93rem;
}

.newsletter-help-list i {
  color: #1ea672;
  margin-top: 2px;
}

.newsletter-action-bar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d3e1ef;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  position: sticky;
  bottom: 14px;
  z-index: 20;
}

.newsletter-overline {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--nexum-accent);
  margin-bottom: 12px;
}

.newsletter-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.newsletter-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(26, 111, 179, 0.25);
  background: rgba(26, 111, 179, 0.08);
  color: var(--nexum-slate);
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.newsletter-create-btn {
  min-width: 190px;
}

.newsletter-hero {
  border: 1px solid var(--nexum-border);
  background: linear-gradient(140deg, rgba(26, 111, 179, 0.12), rgba(44, 203, 255, 0.1) 55%, rgba(38, 169, 62, 0.08));
}

.newsletter-filter-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.newsletter-filter-chip {
  border-radius: 999px;
  border: 1px solid rgba(26, 111, 179, 0.45);
  color: var(--nexum-accent);
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 9px 18px;
  transition: all 0.2s ease;
}

.newsletter-filter-chip:hover {
  transform: translateY(-1px);
  border-color: var(--nexum-accent);
  color: var(--nexum-accent);
}

.newsletter-filter-chip.active {
  color: #fff;
  border-color: transparent;
  background-image: linear-gradient(135deg, var(--nexum-accent), var(--nexum-cyan));
  box-shadow: 0 10px 24px rgba(26, 111, 179, 0.28);
}

.newsletter-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.newsletter-card,
.newsletter-form,
.newsletter-detail {
  border: 1px solid var(--nexum-border);
}

.newsletter-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
  .newsletter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.12);
  }
}

.newsletter-card h2 {
  color: var(--nexum-navy);
}

.newsletter-category {
    background: rgba(26, 111, 179, 0.12);
    color: var(--nexum-accent);
    font-weight: 600;
    align-content: center;
}

.newsletter-date-group {
  min-width: 115px;
}

.newsletter-read-time {
  color: #5c7ea0;
  font-size: 0.77rem;
  font-weight: 600;
}

.newsletter-card-title {
  line-height: 1.25;
}

.newsletter-card-summary {
  line-height: 1.6;
  color: #5d6f86;
}

.newsletter-author {
  font-weight: 600;
  color: var(--nexum-slate);
}

.newsletter-read-btn {
  border: 1px solid rgba(26, 111, 179, 0.45);
  color: var(--nexum-accent);
  font-weight: 700;
}

.newsletter-read-btn:hover {
  color: #fff;
  border-color: transparent;
  background-image: linear-gradient(135deg, var(--nexum-accent), var(--nexum-cyan));
}

.newsletter-empty {
  border: 1px dashed var(--nexum-border);
  text-align: center;
  padding: 36px 28px;
}

.newsletter-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(26, 111, 179, 0.12);
  color: var(--nexum-accent);
  font-size: 1.45rem;
}

.newsletter-quill-toolbar {
  border: 1px solid #c7d8ea;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: #fff;
}

.newsletter-quill-toolbar .ql-formats {
  margin-right: 8px;
}

.newsletter-editor {
  min-height: 300px;
  border: 1px solid #c7d8ea;
  border-radius: 0 0 12px 12px;
  background: #fff;
}

.newsletter-editor .ql-editor {
  min-height: 252px;
  font-size: 1rem;
  line-height: 1.72;
}

.newsletter-editor .ql-editor.ql-blank::before {
  color: #7690ab;
  font-style: normal;
}

.newsletter-content.ql-editor {
  padding: 0;
}

.newsletter-detail-page {
  background:
    radial-gradient(circle at 88% 3%, rgba(44, 203, 255, 0.08), transparent 22%),
    linear-gradient(180deg, #f8fafc 0%, var(--nexum-surface) 42%);
}

.newsletter-detail-container {
  max-width: 1120px;
}

.newsletter-detail-back {
  margin-bottom: 34px;
}

.newsletter-detail-back:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(44, 203, 255, 0.42);
  outline-offset: 5px;
}

.newsletter-detail {
  border: 0;
  background: transparent;
}

.newsletter-article-shell {
  box-shadow: none;
}

.newsletter-detail-header {
  max-width: 900px;
  margin-inline: auto;
  padding: 18px 0 clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--nexum-border);
}

.newsletter-article-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  color: var(--nexum-navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.newsletter-article-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.newsletter-back-link {
  display: inline-flex;
  align-items: center;
  color: #2a77ad;
  font-weight: 600;
  text-decoration: none;
}

.newsletter-back-link:hover,
.newsletter-back-link:focus-visible {
  color: #125f95;
}

.newsletter-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-bottom: 24px;
  color: var(--nexum-muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.newsletter-article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.newsletter-article-meta-item i {
  color: var(--nexum-accent);
}

.newsletter-detail-title {
  max-width: 860px;
  margin: 0 0 24px;
  color: var(--nexum-navy);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.newsletter-detail-lead {
  max-width: 760px;
  margin: 0 0 32px;
  color: var(--nexum-muted);
  font-family: "Roboto Slab", serif;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.7;
}

.newsletter-article-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.newsletter-author-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--nexum-navy);
  font-family: "Roboto Slab", serif;
  font-size: 1rem;
  font-weight: 700;
}

.newsletter-author-avatar-image {
  display: block;
  object-fit: cover;
  background: var(--nexum-surface-2);
}

.newsletter-article-author > div,
.newsletter-footer-byline > div {
  display: grid;
  gap: 2px;
}

.newsletter-article-author span:not(.newsletter-author-avatar),
.newsletter-footer-byline span {
  color: var(--nexum-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.newsletter-article-author strong,
.newsletter-footer-byline strong {
  color: var(--nexum-slate);
  font-size: 0.92rem;
}

.newsletter-content-wrapper {
  max-width: 760px;
  margin-inline: auto;
  padding-top: clamp(44px, 6vw, 72px);
}

.newsletter-ad-wrapper {
  padding-top: 28px;
}

.newsletter-ad-ins {
  display: block;
}

.newsletter-article-content.ql-editor {
  font-family: "Roboto", sans-serif;
  font-size: 1.08rem;
  line-height: 1.85;
}

.newsletter-content p {
  color: #2a3f55;
  line-height: 1.85;
  margin-bottom: 1.5rem;
  font-size: 1.08rem;
  max-width: 100%;
}

.newsletter-content p + p {
  margin-top: 0;
}

.newsletter-content h2,
.newsletter-content h3 {
  color: #0f2b4a;
  scroll-margin-top: 110px;
  margin-top: 2.8rem;
  margin-bottom: 1.15rem;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.newsletter-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.newsletter-content h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

.newsletter-content ul,
.newsletter-content ol {
  margin-bottom: 1.6rem;
  padding-left: 1.5rem;
  color: #2a3f55;
  line-height: 1.8;
}

.newsletter-content li + li {
  margin-top: 0.55rem;
}

.newsletter-content a {
  color: #126fa8;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(18, 111, 168, 0.38);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.newsletter-content a:hover {
  color: #0b4f7b;
  text-decoration-color: currentColor;
}

.newsletter-content a:focus-visible {
  border-radius: 3px;
  outline: 3px solid rgba(44, 203, 255, 0.42);
  outline-offset: 3px;
}

.newsletter-content img,
.newsletter-content video,
.newsletter-content iframe {
  max-width: 100%;
}

.newsletter-content img {
  height: auto;
  margin: 1.4rem auto;
  border-radius: 8px;
}

.newsletter-content figure {
  margin: 2rem 0;
}

.newsletter-content figcaption {
  margin-top: 0.7rem;
  color: var(--nexum-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

.newsletter-content .table,
.newsletter-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 2rem 0;
  overflow-x: auto;
  border-collapse: collapse;
  white-space: nowrap;
}

.newsletter-content th,
.newsletter-content td {
  padding: 12px 14px;
  border: 1px solid var(--nexum-border);
  text-align: left;
}

.newsletter-content th {
  color: var(--nexum-navy);
  background: rgba(26, 111, 179, 0.08);
}

.newsletter-content blockquote {
  border-left: 4px solid #49a7de;
  padding: 1.25rem 1.4rem;
  margin: 2rem 0;
  background: linear-gradient(120deg, #f2f9ff, #edf7ff);
  color: #35516d;
  border-radius: 0 8px 8px 0;
  font-family: "Roboto Slab", serif;
  font-size: 1.05rem;
  line-height: 1.75;
}

.newsletter-content :not(pre) > code {
  background: #e8f1fb;
  color: #0f2b4a;
  border-radius: 7px;
  padding: 0.14rem 0.42rem;
  font-size: 0.9em;
  border: 1px solid #d4e5f7;
}

.newsletter-content .ql-ui {
  display: none !important;
}

.newsletter-code-card {
  border: 1px solid #1f324f;
  border-radius: 8px;
  margin: 2rem 0;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.2);
  background: #0b1220;
}

.newsletter-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(120deg, #0f172a, #101827);
}

.newsletter-code-language {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #d8e6ff;
}

.newsletter-code-copy {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(148, 163, 184, 0.12);
  color: #f8fafc;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  transition: all 0.2s ease;
}

.newsletter-code-copy:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.55);
}

.newsletter-code-copy i {
  margin-right: 0.35rem;
}

.newsletter-code-card pre[class*="language-"] {
  border: 0;
  margin: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  padding: 16px 18px;
  overflow: auto;
}

.newsletter-content pre[class*="language-"] code[class*="language-"] {
  text-shadow: none;
  font-size: 0.9rem;
  line-height: 1.72;
}

.newsletter-detail-footer {
  max-width: 900px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin: clamp(56px, 8vw, 92px) auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--nexum-border);
}

.newsletter-footer-byline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.newsletter-footer-byline img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.newsletter-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.newsletter-detail-actions .btn {
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --nexum-navy: #e5efff;
  --nexum-slate: #c7d7ef;
  --nexum-accent: #56b4ff;
  --nexum-cyan: #78d8ff;
  --nexum-green: #39ca62;
  --nexum-lime: #9fdd43;
  --nexum-surface: #0b1322;
  --nexum-surface-2: #111a2b;
  --nexum-card-bg: #111a2b;
  --nexum-border: #2a3c56;
  --nexum-text: #edf4ff;
  --nexum-muted: #9eb2cf;
  --nexum-shadow: rgba(3, 7, 18, 0.5);
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at top right, rgba(86, 180, 255, 0.14), transparent 33%),
    linear-gradient(180deg, #0b1322 0%, #0d1628 52%, #0b1322 100%);
  color: var(--nexum-text);
}

:root[data-theme="dark"] .skip-link {
  background: #0f1a2d;
  color: var(--nexum-text);
  border-color: var(--nexum-border);
}

:root[data-theme="dark"] .navbar {
  background: rgba(11, 19, 34, 0.82) !important;
  border: 1px solid rgba(86, 180, 255, 0.18);
  box-shadow: 0 14px 32px rgba(2, 8, 20, 0.45);
}

:root[data-theme="dark"] .navbar-logo-light {
  display: none;
}

:root[data-theme="dark"] .navbar-logo-dark {
  display: block;
}

:root[data-theme="dark"] .navbar .top-nav-link {
  color: #d6e5ff;
}

:root[data-theme="dark"] .navbar .top-nav-link:hover,
:root[data-theme="dark"] .navbar .top-nav-link:focus,
:root[data-theme="dark"] .nexum-nav-more-menu .dropdown-item:hover,
:root[data-theme="dark"] .nexum-nav-more-menu .dropdown-item:focus,
:root[data-theme="dark"] .theme-mode-option:hover,
:root[data-theme="dark"] .nexum-user-menu .dropdown-item:hover,
:root[data-theme="dark"] .nexum-user-menu .dropdown-item:focus {
  color: #84d8ff;
  background: rgba(86, 180, 255, 0.12);
}

:root[data-theme="dark"] .navbar .top-nav-link.active,
:root[data-theme="dark"] .nexum-nav-more-toggle.active,
:root[data-theme="dark"] .theme-mode-option.active {
  background: rgba(86, 180, 255, 0.2);
  color: #f3f8ff;
}

:root[data-theme="dark"] .theme-mode-menu {
  background: #111a2b;
  border-color: var(--nexum-border);
}

:root[data-theme="dark"] .nexum-nav-more-menu,
:root[data-theme="dark"] .nexum-user-menu {
  background: #111a2b;
  border-color: var(--nexum-border);
}

:root[data-theme="dark"] .theme-mode-option,
:root[data-theme="dark"] .nexum-nav-more-menu .dropdown-item,
:root[data-theme="dark"] .nexum-user-menu .dropdown-item {
  color: #d8e7ff;
}

:root[data-theme="dark"] .nexum-user-avatar {
  background: rgba(86, 180, 255, 0.2);
  color: #bce9ff;
}

:root[data-theme="dark"] .nexum-logout-item {
  color: #ffbab7;
}

:root[data-theme="dark"] .nexum-logout-item:hover,
:root[data-theme="dark"] .nexum-logout-item:focus {
  color: #ffd6d4;
  background: rgba(248, 113, 113, 0.16);
}

:root[data-theme="dark"] .section-subtitle,
:root[data-theme="dark"] .newsletter-card-summary,
:root[data-theme="dark"] .newsletter-detail-lead,
:root[data-theme="dark"] .newsletter-panel-subtitle,
:root[data-theme="dark"] .newsletter-field-help,
:root[data-theme="dark"] .nexum-swal-text,
:root[data-theme="dark"] .text-muted {
  color: var(--nexum-muted) !important;
}

:root[data-theme="dark"] .section.bg-white,
:root[data-theme="dark"] .section.bg-gray-100 {
  background:
    radial-gradient(circle at top right, rgba(86, 180, 255, 0.1), transparent 36%),
    linear-gradient(180deg, #0f1a2d 0%, #0d1728 100%) !important;
}

:root[data-theme="dark"] .services-section {
  background:
    radial-gradient(circle at 92% 8%, rgba(86, 180, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #0f1a2d 0%, #0d1728 100%);
}

:root[data-theme="dark"] .services-intro {
  border: 1px solid rgba(120, 216, 255, 0.2);
  background:
    radial-gradient(circle at 82% 10%, rgba(86, 180, 255, 0.25), transparent 34%),
    linear-gradient(145deg, #101d32 0%, #123453 58%, #174f7c 100%);
  box-shadow: 0 28px 60px rgba(3, 7, 18, 0.32);
}

:root[data-theme="dark"] .service-item {
  border-top-color: rgba(120, 216, 255, 0.16);
}

:root[data-theme="dark"] .service-item:nth-child(-n + 2) {
  border-top-color: transparent;
}

:root[data-theme="dark"] .service-item h3 {
  color: var(--nexum-text);
}

:root[data-theme="dark"] .service-icon {
  color: #78d8ff;
  border-color: rgba(120, 216, 255, 0.24);
  background: rgba(86, 180, 255, 0.1);
  box-shadow: 0 12px 24px rgba(3, 7, 18, 0.2);
}

@media (hover: hover) {
  :root[data-theme="dark"] .service-item:hover .service-icon {
    color: #0b1f3a;
    background: #78d8ff;
  }
}

:root[data-theme="dark"] .nexum-card,
:root[data-theme="dark"] .contact-card,
:root[data-theme="dark"] .contact-trust,
:root[data-theme="dark"] .trust-highlight,
:root[data-theme="dark"] .step-card,
:root[data-theme="dark"] .logo-card,
:root[data-theme="dark"] .faq-accordion .accordion-item,
:root[data-theme="dark"] .newsletter-card,
:root[data-theme="dark"] .newsletter-detail,
:root[data-theme="dark"] .newsletter-create-panel,
:root[data-theme="dark"] .newsletter-empty,
:root[data-theme="dark"] .newsletter-action-bar,
:root[data-theme="dark"] .stat-card,
:root[data-theme="dark"] .nexum-swal-popup {
  background: var(--nexum-card-bg);
  border-color: var(--nexum-border);
  color: var(--nexum-text);
  box-shadow: 0 20px 36px var(--nexum-shadow);
}

:root[data-theme="dark"] #clientes .text-dark,
:root[data-theme="dark"] #processo .text-dark,
:root[data-theme="dark"] #sobre .text-dark,
:root[data-theme="dark"] #servicos .text-dark,
:root[data-theme="dark"] #diferenciais .text-dark,
:root[data-theme="dark"] #faq .text-dark,
:root[data-theme="dark"] #contato .text-dark,
:root[data-theme="dark"] .nexum-card .text-dark,
:root[data-theme="dark"] .trust-highlight .text-dark,
:root[data-theme="dark"] .stat-card .text-dark {
  color: var(--nexum-text) !important;
}

:root[data-theme="dark"] .logo-card-caption {
  color: #5b6b7f;
}

:root[data-theme="dark"] .logo-card-note strong {
  color: #0b1f3a;
}

:root[data-theme="dark"] .logo-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(120, 216, 255, 0.24);
  color: #0f172a;
  box-shadow: 0 20px 36px rgba(3, 7, 18, 0.22);
}

:root[data-theme="dark"] .newsletter-header,
:root[data-theme="dark"] .newsletter-create-header {
  border-color: var(--nexum-border);
  background:
    radial-gradient(circle at top right, rgba(86, 180, 255, 0.2), transparent 58%),
    linear-gradient(145deg, #121d31, #101a2b 48%, #0d1728);
}

:root[data-theme="dark"] .newsletter-library-page {
  background:
    radial-gradient(circle at 92% 4%, rgba(86, 180, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #0f1a2d 0%, #0d1728 44%);
}

:root[data-theme="dark"] .newsletter-library-header,
:root[data-theme="dark"] .newsletter-featured-footer,
:root[data-theme="dark"] .newsletter-card-footer {
  border-color: rgba(120, 216, 255, 0.18);
}

:root[data-theme="dark"] .newsletter-library-heading h1,
:root[data-theme="dark"] .newsletter-library-status strong,
:root[data-theme="dark"] .newsletter-featured-content h2,
:root[data-theme="dark"] .newsletter-section-heading h2,
:root[data-theme="dark"] .newsletter-library-page .newsletter-card-title,
:root[data-theme="dark"] .newsletter-library-page .newsletter-empty h2,
:root[data-theme="dark"] .newsletter-article-brand {
  color: var(--nexum-text);
}

:root[data-theme="dark"] .newsletter-library-page .newsletter-filter-chip {
  color: var(--nexum-slate);
}

:root[data-theme="dark"] .newsletter-library-page .newsletter-filter-chip:hover {
  color: #9be4ff;
  background: rgba(86, 180, 255, 0.12);
}

:root[data-theme="dark"] .newsletter-library-page .newsletter-filter-chip.active {
  color: #0b1322;
  background: #78d8ff;
}

:root[data-theme="dark"] .newsletter-featured {
  border-color: rgba(120, 216, 255, 0.2);
  background: #111d30;
  box-shadow: 0 24px 60px rgba(3, 7, 18, 0.34);
}

:root[data-theme="dark"] .newsletter-featured-visual {
  background:
    radial-gradient(circle at 85% 15%, rgba(86, 180, 255, 0.32), transparent 32%),
    linear-gradient(145deg, #101d32 0%, #123c5f 62%, #175884 100%);
}

:root[data-theme="dark"] .newsletter-library-page .newsletter-card,
:root[data-theme="dark"] .newsletter-library-page .newsletter-empty {
  border-color: rgba(120, 216, 255, 0.18);
  background: rgba(17, 29, 48, 0.82);
}

:root[data-theme="dark"] .newsletter-read-link {
  border-color: rgba(120, 216, 255, 0.42);
  color: #8fddff;
}

:root[data-theme="dark"] .newsletter-detail-page {
  background:
    radial-gradient(circle at top right, rgba(86, 180, 255, 0.14), transparent 32%),
    radial-gradient(circle at bottom left, rgba(120, 216, 255, 0.08), transparent 36%),
    linear-gradient(180deg, #0e1728 0%, #0c1526 100%);
}

:root[data-theme="dark"] .newsletter-detail,
:root[data-theme="dark"] .newsletter-article-shell {
  border: 0;
  background: transparent;
  box-shadow: none;
}

:root[data-theme="dark"] .newsletter-author-avatar {
  color: #0b1322;
  background: #78d8ff;
}

:root[data-theme="dark"] .newsletter-content a {
  color: #8fddff;
  text-decoration-color: rgba(143, 221, 255, 0.48);
}

:root[data-theme="dark"] .newsletter-content a:hover {
  color: #bcecff;
}

:root[data-theme="dark"] .newsletter-content th {
  color: var(--nexum-text);
  background: rgba(86, 180, 255, 0.12);
}

:root[data-theme="dark"] .newsletter-content th,
:root[data-theme="dark"] .newsletter-content td {
  border-color: var(--nexum-border);
}

:root[data-theme="dark"] .hero-section .card.blur {
  background: rgba(15, 26, 45, 0.9) !important;
  border: 1px solid rgba(120, 216, 255, 0.24);
  box-shadow: 0 20px 38px rgba(3, 7, 18, 0.45);
}

:root[data-theme="dark"] .hero-section .card.blur .text-dark,
:root[data-theme="dark"] .hero-section .card.blur h5,
:root[data-theme="dark"] .hero-section .card.blur h6,
:root[data-theme="dark"] .hero-section .card.blur p,
:root[data-theme="dark"] .hero-section .card.blur .stat-number,
:root[data-theme="dark"] .hero-section .card.blur .stat-label {
  color: #e8f1ff !important;
}

:root[data-theme="dark"] .hero-section .card.blur .stat-card {
  background: #12213a;
  border: 1px solid rgba(120, 216, 255, 0.22);
}

:root[data-theme="dark"] .newsletter-content {
  color: #dbe9ff !important;
}

:root[data-theme="dark"] .newsletter-create-header::after {
  background: linear-gradient(90deg, transparent 56%, rgba(86, 180, 255, 0.22) 100%);
}

:root[data-theme="dark"] .newsletter-detail-header,
:root[data-theme="dark"] .newsletter-detail-footer,
:root[data-theme="dark"] .newsletter-panel-heading {
  border-color: rgba(122, 150, 188, 0.32);
}

:root[data-theme="dark"] .newsletter-meta-chip {
  border-color: rgba(86, 180, 255, 0.4);
  background: rgba(86, 180, 255, 0.16);
  color: #d8e7ff;
}

:root[data-theme="dark"] .newsletter-filter-chip,
:root[data-theme="dark"] .newsletter-read-btn {
  border-color: rgba(120, 216, 255, 0.6);
  color: #8fddff;
}

:root[data-theme="dark"] .newsletter-filter-chip:hover,
:root[data-theme="dark"] .newsletter-read-btn:hover {
  color: #0b1322;
}

:root[data-theme="dark"] .newsletter-category {
  background: rgba(120, 216, 255, 0.18);
  color: #9be4ff;
}

:root[data-theme="dark"] .newsletter-content p,
:root[data-theme="dark"] .newsletter-content div,
:root[data-theme="dark"] .newsletter-content span,
:root[data-theme="dark"] .newsletter-content ul,
:root[data-theme="dark"] .newsletter-content ol,
:root[data-theme="dark"] .newsletter-content h1,
:root[data-theme="dark"] .newsletter-content h2,
:root[data-theme="dark"] .newsletter-content h3,
:root[data-theme="dark"] .newsletter-content h4,
:root[data-theme="dark"] .newsletter-content h5,
:root[data-theme="dark"] .newsletter-content h6,
:root[data-theme="dark"] .newsletter-content li {
  color: #d8e7ff;
}

:root[data-theme="dark"] .newsletter-content [style*="color"] {
  color: #d8e7ff !important;
}

:root[data-theme="dark"] .newsletter-content blockquote {
  background: linear-gradient(120deg, rgba(86, 180, 255, 0.14), rgba(86, 180, 255, 0.08));
  color: #cfe2ff;
  border-left-color: #78d8ff;
}

:root[data-theme="dark"] .newsletter-content :not(pre) > code {
  background: #182841;
  color: #b9deff;
  border-color: #2d446a;
}

:root[data-theme="dark"] .newsletter-create-page .form-control,
:root[data-theme="dark"] .newsletter-create-page .form-select,
:root[data-theme="dark"] .form-control,
:root[data-theme="dark"] .form-select {
  background: #0f1a2d;
  border-color: #2e4568;
  color: #e8f0ff;
}

:root[data-theme="dark"] .newsletter-create-page .form-control:focus,
:root[data-theme="dark"] .newsletter-create-page .form-select:focus,
:root[data-theme="dark"] .form-control:focus,
:root[data-theme="dark"] .form-select:focus {
  border-color: #56b4ff;
  box-shadow: 0 0 0 0.2rem rgba(86, 180, 255, 0.2);
}

:root[data-theme="dark"] .newsletter-quill-toolbar,
:root[data-theme="dark"] .newsletter-editor {
  background: #0f1a2d;
  border-color: #2e4568;
}

:root[data-theme="dark"] .newsletter-editor .ql-editor.ql-blank::before {
  color: #7e9bc0;
}

:root[data-theme="dark"] .newsletter-counter,
:root[data-theme="dark"] .newsletter-publish-toggle {
  background: #12223a;
  border-color: #2f476b;
  color: #b7ceea;
}

:root[data-theme="dark"] .newsletter-detail-date,
:root[data-theme="dark"] .newsletter-read-time,
:root[data-theme="dark"] .newsletter-footer-author,
:root[data-theme="dark"] .newsletter-author {
  color: #a6bddb;
}

:root[data-theme="dark"] .newsletter-back-link {
  color: #91dfff;
}

:root[data-theme="dark"] .newsletter-back-link:hover {
  color: #b7ecff;
}

:root[data-theme="dark"] .faq-accordion .accordion-button {
  background: #132037;
  color: #e3eeff;
}

:root[data-theme="dark"] .faq-accordion .accordion-button:not(.collapsed) {
  background: #182742;
  color: #f2f7ff;
  box-shadow: inset 0 -1px 0 rgba(86, 180, 255, 0.15);
}

:root[data-theme="dark"] .faq-accordion .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(86, 180, 255, 0.2);
}

:root[data-theme="dark"] .faq-accordion .accordion-button::after {
  filter: invert(1) brightness(1.4);
}

:root[data-theme="dark"] .faq-accordion .accordion-body {
  color: var(--nexum-muted);
}

:root[data-theme="dark"] .floating-cta,
:root[data-theme="dark"] .back-to-top {
  box-shadow: 0 14px 30px rgba(2, 8, 20, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1199.98px) {
  .nexum-nav-primary {
    width: 100%;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
  }

  .navbar .top-nav-link {
    padding: 0.58rem 0.8rem;
  }

  .nexum-nav-more-menu {
    border: 0;
    box-shadow: none;
    background: transparent;
    min-width: 100%;
    padding: 0.25rem 0 0.25rem 0.8rem;
  }

  .nexum-nav-more-menu .dropdown-item {
    padding: 0.45rem 0.65rem;
  }

  .nexum-navbar-tools {
    width: 100%;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 10px;
  }

  .theme-mode-item,
  .nexum-user-menu-wrap {
    width: 100%;
  }

  .theme-mode-toggle,
  .nexum-user-toggle,
  .nexum-navbar-tools > .btn {
    width: 100%;
    justify-content: space-between;
  }

  .nexum-user-name {
    max-width: calc(100% - 46px);
  }

  :root[data-theme="dark"] .nexum-nav-primary,
  :root[data-theme="dark"] .nexum-navbar-tools {
    border-color: rgba(86, 180, 255, 0.22);
  }

}

@media (max-width: 991.98px) {
  .section {
    padding: 70px 0;
  }

  .services-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .services-intro-content {
    position: relative;
  }

  .services-brand-mark {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .trust-highlight {
    grid-template-columns: 1fr;
  }

  .hero-section .container {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-section .row {
    --bs-gutter-x: 0;
  }

  .hero-section .col-lg-6,
  .hero-section .col-lg-5 {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .hero-section .display-4 {
    font-size: 2.45rem;
    max-width: 100%;
  }

  .hero-section .lead {
    font-size: 1.05rem;
  }

  .hero-logo-mark {
    width: 360px;
    right: -150px;
    top: 82px;
    opacity: 0.12;
  }

  .nexum-navbar {
    margin-left: 12px !important;
    margin-right: 12px !important;
  }

  .nexum-brand-link {
    min-width: 44px;
  }

  .navbar-brand-mark {
    width: 44px;
    height: 44px;
  }

  .navbar-logo-light,
  .navbar-logo-dark {
    display: none !important;
  }

  .navbar-logo-symbol {
    display: block;
    width: 42px;
    height: 42px;
  }

  .theme-mode-item {
    width: 100%;
    margin: 0;
  }

  .theme-mode-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nexum-user-toggle {
    max-width: 100%;
  }

  .back-to-top {
    right: 16px;
    bottom: 88px;
    width: 44px;
    height: 44px;
  }

  .newsletter-filters .btn {
    flex: 1 1 auto;
  }

  .newsletter-page {
    padding-top: 28px;
  }

  .newsletter-library-header {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
    padding-top: 42px;
  }

  .newsletter-library-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter-editorial-link {
    grid-column: 1 / -1;
  }

  .newsletter-library-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .newsletter-library-page .newsletter-filter-scroll {
    justify-content: flex-start;
  }

  .newsletter-featured {
    grid-template-columns: minmax(210px, 0.55fr) minmax(0, 1.45fr);
    min-height: 380px;
  }

  .newsletter-library-page .newsletter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter-side-stack {
    position: static;
  }

  .newsletter-header-meta {
    gap: 8px;
  }

  .newsletter-meta-chip {
    width: 100%;
    justify-content: flex-start;
  }

  .newsletter-create-btn {
    width: 100%;
  }

  .newsletter-back-btn {
    width: 100%;
  }

  .newsletter-filter-scroll {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .newsletter-filter-chip {
    white-space: nowrap;
  }

  .newsletter-editor {
    min-height: 260px;
  }

  .newsletter-editor .ql-editor {
    min-height: 214px;
  }

  .newsletter-detail-actions {
    width: 100%;
  }

  .newsletter-detail-actions .btn {
    flex: 1 1 auto;
  }

  .newsletter-detail-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .newsletter-code-header {
    padding: 10px 12px;
  }

  .newsletter-code-copy {
    font-size: 0.74rem;
    padding: 0.32rem 0.56rem;
  }

  .newsletter-code-card pre[class*="language-"] {
    padding: 14px;
  }

  .newsletter-action-bar {
    flex-direction: column-reverse;
  }

  .newsletter-action-bar .btn {
    width: 100%;
  }

}

@media (max-width: 575.98px) {
  .newsletter-detail-page {
    padding-top: 24px;
  }

  .newsletter-detail-back {
    margin-bottom: 24px;
  }

  .newsletter-detail-header {
    padding-top: 8px;
    padding-bottom: 40px;
  }

  .newsletter-article-brand {
    margin-bottom: 24px;
  }

  .newsletter-detail-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .newsletter-detail-title {
    font-size: 2.35rem;
  }

  .newsletter-detail-lead {
    font-size: 1.05rem;
  }

  .newsletter-content-wrapper {
    padding-top: 40px;
  }

  .newsletter-article-content.ql-editor,
  .newsletter-content p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .newsletter-content h2,
  .newsletter-content h3 {
    scroll-margin-top: 84px;
  }

  .newsletter-content blockquote {
    margin-inline: 0;
    padding: 1rem 1.1rem;
  }

  .newsletter-detail-footer {
    margin-top: 56px;
  }

  .newsletter-detail-actions {
    width: 100%;
  }

  .newsletter-detail-actions .btn {
    width: 100%;
  }

  .newsletter-library-heading h1 {
    font-size: 2.55rem;
  }

  .newsletter-library-actions {
    grid-template-columns: 1fr;
  }

  .newsletter-editorial-link {
    grid-column: auto;
  }

  .newsletter-library-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .newsletter-library-update::before {
    display: none;
  }

  .newsletter-featured {
    grid-template-columns: 1fr;
  }

  .newsletter-featured-visual {
    min-height: 210px;
  }

  .newsletter-featured-content {
    padding: 28px 24px;
  }

  .newsletter-featured-meta > span:not(:first-child)::before {
    margin-right: 10px;
  }

  .newsletter-featured-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .newsletter-section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 48px;
  }

  .newsletter-library-page .newsletter-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-card-body {
    min-height: 0;
  }

  .services-catalog {
    grid-template-columns: 1fr;
  }

  .service-item:nth-child(2) {
    border-top-color: var(--nexum-border);
  }

  :root[data-theme="dark"] .service-item:nth-child(2) {
    border-top-color: rgba(120, 216, 255, 0.16);
  }

  .service-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 24px 0;
  }

  .service-icon {
    width: 44px;
    height: 44px;
  }

  .services-intro-content {
    padding: 30px 24px;
  }

  .services-title {
    font-size: 2rem;
  }

  .services-cta {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .hero-section .col-lg-6,
  .hero-section .col-lg-5 {
    max-width: min(342px, 100%);
  }

  .hero-section .display-4 {
    font-size: 2.1rem;
    line-height: 1.12;
    max-width: min(342px, 100%);
  }

  .hero-section .lead {
    font-size: 1rem;
    line-height: 1.55;
    max-width: min(342px, 100%);
  }

  .hero-brand-chip {
    display: flex;
    width: fit-content;
    max-width: 100%;
  }

  .hero-proof-list {
    gap: 8px;
    max-width: min(342px, 100%);
  }

  .hero-proof-item {
    font-size: 0.74rem;
  }

  .hero-section .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
}
