:root {
  --yellow: #fbbf24;
  --yellow-light: #fef3c7;
  --green: #10b981;
  --green-hover: #059669;
  --black: #0a0a0a;
  --gray: #f3f4f6;
  --gray-dark: #4b5563;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--black);
  background: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: 'Cabinet Grotesk', sans-serif;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.card-hover {
  transition: all 0.3s ease-out;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(251, 191, 36, 0.3);
}

.btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  border-radius: 0.75rem;
  padding: 0.85rem 1.5rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 8px 20px -8px rgba(16, 185, 129, 0.5);
}

.btn-primary:hover {
  background: var(--green-hover);
  transform: scale(1.02);
}

.btn-primary:active {
  transform: scale(0.98);
}

.input-style {
  background: #f9fafb;
  border: 2px solid #f3f4f6;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-style:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18);
}

.reward-card {
  background: #fff;
  border: 2px solid #f3f4f6;
  border-radius: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.reward-card:hover {
  border-color: #fcd34d;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(251, 191, 36, 0.25);
}

.category-tag {
  background: #f3f4f6;
  color: #374151;
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  display: inline-block;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.filter-checkbox input {
  accent-color: var(--yellow);
}

.client-toggle {
  display: flex;
  background: #f3f4f6;
  border-radius: 0.75rem;
  padding: 0.25rem;
}

.client-toggle-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  border-radius: 0.6rem;
  font-weight: 600;
  transition: all 0.2s ease;
  color: #4b5563;
}

.client-toggle-btn.active {
  background: var(--yellow);
  color: #000;
  box-shadow: 0 6px 16px -12px rgba(0, 0, 0, 0.35);
}

.section-divider {
  border-top: 2px solid #000;
}

.sidebar-card {
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  padding: 1.25rem;
}

.help-card {
  background: linear-gradient(180deg, #fffdf4 0%, #fff 100%);
  border-color: #fde68a;
}

.help-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: #fef3c7;
  color: #d97706;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.help-card-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.article-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.1);
}

.hero-gradient {
  background: linear-gradient(135deg, #fef3c7 0%, #ffffff 50%, #fef3c7 100%);
}

.box-highlight {
  background: #fefce8;
  border: 2px solid #fde68a;
  border-radius: 1rem;
}

.hero-side-icon {
  width: 9rem;
  height: 9rem;
  border-radius: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-hover);
  /*background: radial-gradient(circle at top, #fff8db 0%, #fef3c7 56%, #fde68a 100%);*/
  /*box-shadow: 0 24px 40px -24px rgba(251, 191, 36, 0.9);*/
  /*border: 1px solid #fde68a;*/
}

.hero-side-icon svg {
  width: 4.75rem;
  height: 4.75rem;
}

.flame-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--yellow);
  color: #000;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 10px 20px -16px rgba(0, 0, 0, 0.55);
}

.flame-badge svg {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
}

.flame-badge-static {
  position: static;
}

.testimonial-slide {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimonial-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid #fde68a;
  color: #f59e0b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 18px 30px -24px rgba(245, 158, 11, 0.75);
}

.testimonial-icon svg {
  width: 1.8rem;
  height: 1.8rem;
}

.testimonial-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: #fcd34d;
  border: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.testimonial-dot.active {
  width: 1.5rem;
  background: #f59e0b;
}

.line-clamp-1,
.line-clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-1 {
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  -webkit-line-clamp: 2;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  font-family: 'Cabinet Grotesk', sans-serif;
  color: #111827;
  font-weight: 700;
}

.article-content h1 {
  font-size: 2rem;
  line-height: 1.15;
  margin: 2.4rem 0 1.15rem;
  font-weight: 800;
}

.article-content h2 {
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 2rem 0 1rem;
}

.article-content h3 {
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 1.6rem 0 0.8rem;
}

.article-content h4 {
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 1.35rem 0 0.7rem;
}

.article-content h5 {
  font-size: 1.08rem;
  line-height: 1.4;
  margin: 1.2rem 0 0.65rem;
}

.article-content h6 {
  font-size: 0.98rem;
  line-height: 1.45;
  margin: 1rem 0 0.55rem;
  color: #4b5563;
}

.article-content p {
  color: #374151;
  line-height: 1.8;
  margin: 1rem 0;
  font-size: 1.2rem;
}

.article-content figure.image {
  margin: 1.4rem 0 1.6rem;
}

[data-article-detail] .article-detail-image-trigger,
[data-article-detail] .article-detail-image-trigger img,
[data-article-detail] .article-content img,
[data-article-detail] [data-lightbox-image] {
  cursor: zoom-in;
}

.article-content figure.image img {
  border-radius: 0.85rem;
}

[data-article-detail] .article-content img {
  max-width: 100%;
  height: auto;
}

.article-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(17, 24, 39, 0.84);
  backdrop-filter: blur(6px);
}

.article-image-lightbox.is-open {
  display: flex;
}

.article-image-lightbox[hidden] {
  display: none;
}

.article-image-lightbox__backdrop {
  position: absolute;
  inset: 0;
}

.article-image-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: min(100%, 1100px);
  max-height: 100%;
}

.article-image-lightbox__close {
  align-self: flex-end;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.article-image-lightbox__close:hover,
.article-image-lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.26);
  transform: scale(1.04);
}

.article-image-lightbox__figure {
  margin: 0;
  border-radius: 1.2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 28px 80px -30px rgba(0, 0, 0, 0.75);
}

.article-image-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  margin: 0 auto;
}

.article-image-lightbox__caption {
  margin: 0;
  padding: 0.95rem 1.1rem 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.6;
  text-align: center;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .article-image-lightbox {
    padding: 1rem;
  }

  .article-image-lightbox__image {
    max-height: calc(100vh - 6.5rem);
  }
}

.article-content figure.image figcaption {
  margin-top: 0.5rem;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
  font-style: italic;
}

.article-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 1rem 0 1.25rem;
  color: #374151;
}

.article-content ol {
  list-style: decimal;
  padding-left: 1.35rem;
  margin: 1rem 0 1.25rem;
  color: #374151;
}

.article-content li {
  margin: 0.45rem 0;
  padding-left: 0.2rem;
}

.article-content ul li::marker {
  color: #f59e0b;
}

.article-content ol li::marker {
  color: #d97706;
  font-weight: 700;
}

.article-content a {
  color: #ca8a04;
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(202, 138, 4, 0.45);
  font-weight: 600;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.article-content a:hover {
  color: #a16207;
  text-decoration-color: rgba(161, 98, 7, 0.7);
}

.article-content a:focus-visible {
  outline: 2px solid rgba(202, 138, 4, 0.35);
  outline-offset: 3px;
  border-radius: 0.2rem;
}

.article-content .cta-shortcode {
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.article-content .cta-shortcode-text {
  margin: 0;
  flex: 1 1 auto;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1.55rem;
  line-height: 1.25;
  font-weight: 800;
  color: #111827;
}

.article-content .cta-shortcode-button {
  margin-left: auto;
  white-space: nowrap;
  color:white !important;
  text-decoration:none !important;
}

.article-content .infobox-shortcode {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.article-content .infobox-shortcode-icon {
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-hover);
  /*background: radial-gradient(circle at top, #fff8db 0%, #fef3c7 56%, #fde68a 100%);*/
  /*box-shadow: 0 18px 30px -24px rgba(251, 191, 36, 0.9);*/
  /*border: 1px solid #fde68a;*/
  flex-shrink: 0;
}

.article-content .infobox-shortcode-icon svg {
  width: 2.55rem;
  height: 2.55rem;
}

.article-content .infobox-shortcode-title {
  margin: 0;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1.4rem;
  line-height: 1.28;
  font-weight: 700;
  color: #111827;
}

.article-content .infobox-shortcode-button {
  margin-left: auto;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .article-content .cta-shortcode {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-content .cta-shortcode-button {
    width: 100%;
    margin-left: 0;
  }

  .article-content .infobox-shortcode {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .article-content .infobox-shortcode-button {
    width: 100%;
    margin-left: 0;
  }
}

.article-content table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.96rem;
  line-height: 1.5;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  overflow: visible;
  display: table;
  height: auto !important;
}

.article-content th,
.article-content td {
  border: 1px solid #e5e7eb;
  padding: 0.75rem 0.85rem;
  vertical-align: top;
  color: #111827;
  text-align: left;
  background: #fff;
}

.article-content tr {
  height: auto !important;
}

.article-content thead th,
.article-content tbody tr:first-child td {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}

.article-content tbody tr:nth-child(even) td {
  background: #fcfdff;
}

.article-content tbody tr:hover td {
  background: #fefce8;
}

.nav-icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.home-feature-card {
  background: #fff;
  border: 2px solid #eef2f7;
  border-radius: 1.5rem;
  padding: 1.5rem;
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home-feature-top {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: start;
}

.home-feature-text {
  margin: 0;
  color: #111827;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.45;
}

.home-feature-link {
  margin-top: 1rem;
  padding-left: 4rem;
  color: #22c55e;
  font-size: 0.95rem;
  font-weight: 700;
}

.home-feature-badges {
  margin-top: 1rem;
  padding-left: 4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.home-feature-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #22c55e;
  color: #fff;
  padding: 0.48rem 0.7rem;
  border-radius: 0.45rem;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

.home-feature-check {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-feature-check svg {
  width: 0.85rem;
  height: 0.85rem;
}

.home-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-shortcut-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border: 3px solid #111827;
  border-radius: 2rem;
  padding: 1.4rem 1.35rem 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #fdfdfd 100%);
  min-height: 250px;
}

.home-shortcut-icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  background: #f3f4f6;
}

.home-shortcut-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.home-shortcut-title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 800;
}

.home-shortcut-text {
  margin: 0;
  color: #374151;
  font-size: 1.03rem;
  line-height: 1.55;
}

.home-shortcut-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  border: 2px solid #0f172a;
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  font-weight: 700;
  color: #0f172a;
  background: #fff;
  transition: all 0.2s ease;
}

.home-shortcut-card:hover .home-shortcut-link {
  background: #0f172a;
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1023px) {
  .client-toggle {
    width: 100%;
    flex-direction: column;
  }

  .client-toggle-btn {
    text-align: center;
  }

  .home-feature-link,
  .home-feature-badges {
    padding-left: 0;
  }

  .home-feature-top {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .testimonial-icon {
    width: 3.25rem;
    height: 3.25rem;
  }

  .home-shortcuts-grid {
    grid-template-columns: 1fr;
  }

  .home-shortcut-card {
    min-height: 220px;
  }
}