:root {
  --insights-ink: #111827;
  --insights-copy: #4b5563;
  --insights-muted: #6b7280;
  --insights-line: #e5e7eb;
  --insights-soft: #f8fafc;
  --insights-orange: #f97316;
  --insights-orange-dark: #ea580c;
  --insights-blue: #2563eb;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--insights-ink);
  background: #fff;
}

body.modal-open {
  overflow: hidden;
}

* {
  box-sizing: border-box;
}

.header-menu-group-title {
  padding: 8px 24px 6px;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-menu-link {
  display: block;
  padding: 10px 34px 10px 24px;
  color: #374151;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header-menu-link:hover,
.header-menu-link[aria-current="page"] {
  color: var(--insights-orange-dark);
  background: #fff7ed;
}

.header-menu-link-external {
  position: relative;
}

.header-menu-link-external::after {
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--insights-orange);
  font-size: 18px;
  font-weight: 700;
  content: "\203A";
  transform: translateY(-50%);
}

.header-menu-panel-topics {
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.header-menu-sections {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--insights-line);
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  background: var(--insights-soft);
}

.header-menu-group-title-sections {
  padding-top: 4px;
  color: var(--insights-muted);
}

.header-menu-link-anchor {
  position: relative;
  padding-left: 34px;
  color: var(--insights-copy);
  font-size: 14px;
  font-weight: 400;
}

.header-menu-link-anchor::before {
  position: absolute;
  top: 50%;
  left: 22px;
  color: #9ca3af;
  font-size: 12px;
  content: "\2022";
  transform: translateY(-50%);
}

.header-menu-link-anchor[aria-current="page"] {
  color: var(--insights-orange-dark);
  background: #ffedd5;
  font-weight: 700;
}

.header-menu-link-anchor[aria-current="page"]::before {
  color: var(--insights-orange-dark);
}

.menu-lang-switch {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 8px 24px 10px;
  border-bottom: 1px solid var(--insights-line);
  font-size: 12px;
  font-weight: 700;
}

.menu-lang-switch a {
  color: var(--insights-muted);
  text-decoration: none;
}

.menu-lang-switch a:hover,
.menu-lang-switch a.is-active {
  color: var(--insights-ink);
}

.menu-lang-switch span {
  color: #d1d5db;
}

.insights-shell {
  min-height: 100vh;
  background: #fff;
}

.insights-container {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
}

.insights-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 68px;
  border-bottom: 1px solid var(--insights-line);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.insights-hero::after {
  position: absolute;
  top: 0;
  right: max(24px, calc((100vw - 1120px) / 2));
  width: 132px;
  height: 6px;
  background: linear-gradient(90deg, var(--insights-orange) 0 50%, var(--insights-blue) 50% 100%);
  content: "";
}

.insights-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--insights-orange-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.insights-eyebrow::before {
  width: 28px;
  height: 2px;
  background: var(--insights-orange);
  content: "";
}

.insights-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--insights-ink);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.insights-hero-copy {
  max-width: 820px;
  margin: 24px 0 0;
  color: var(--insights-copy);
  font-size: 19px;
  line-height: 1.7;
}

.insights-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.insights-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.insights-button:hover {
  transform: translateY(-1px);
}

.insights-button-primary {
  color: #fff;
  background: var(--insights-orange);
}

.insights-button-primary:hover {
  background: var(--insights-orange-dark);
}

.insights-button-secondary {
  border-color: #d1d5db;
  color: var(--insights-ink);
  background: #fff;
}

.insights-button-secondary:hover {
  border-color: var(--insights-orange);
  color: var(--insights-orange-dark);
}

.insights-section {
  padding: 72px 0;
}

.insights-section-alt {
  border-block: 1px solid var(--insights-line);
  background: var(--insights-soft);
}

.insights-section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.insights-section-heading h2 {
  margin: 0;
  color: var(--insights-ink);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.insights-section-heading p {
  margin: 14px 0 0;
  color: var(--insights-copy);
  font-size: 17px;
  line-height: 1.7;
}

.insights-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.insights-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--insights-line);
  border-radius: 8px;
  color: inherit;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.insights-card:hover {
  border-color: #fdba74;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
  transform: translateY(-3px);
}

.insights-card h3 {
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--insights-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

.insights-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--insights-orange-dark);
  font-size: 14px;
  font-weight: 700;
}

.insights-card-link svg {
  transition: transform 0.2s ease;
}

.insights-card:hover .insights-card-link svg {
  transform: translateX(3px);
}

.insights-article-card {
  min-height: 330px;
  padding: 26px;
}

.insights-topic {
  align-self: flex-start;
  margin-bottom: 22px;
  padding: 5px 9px;
  border-radius: 5px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 800;
}

.insights-article-card p {
  margin: 14px 0 24px;
  color: var(--insights-copy);
  font-size: 15px;
  line-height: 1.65;
}

.insights-article-card .insights-card-link {
  margin-top: auto;
}

.insights-article-hero {
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--insights-line);
  background: var(--insights-soft);
}

.insights-article-hero-inner {
  max-width: 1120px;
}

.insights-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--insights-muted);
  font-size: 14px;
}

.insights-breadcrumb a {
  color: var(--insights-orange-dark);
  font-weight: 700;
  text-decoration: none;
}

.insights-article-hero h1 {
  max-width: 980px;
  margin: 0;
  color: var(--insights-ink);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.insights-article-deck {
  max-width: 820px;
  margin: 22px 0 0;
  color: var(--insights-copy);
  font-size: 18px;
  line-height: 1.75;
}

.insights-article-section {
  padding: 68px 0 80px;
  overflow-x: clip;
}

.insights-article-content {
  max-width: 820px;
  margin-inline: auto;
  color: var(--insights-copy);
  font-size: 18px;
  line-height: 1.8;
}

.insights-article-content p {
  margin: 0 0 22px;
}

.insights-article-content h2,
.insights-article-content h3 {
  color: var(--insights-ink);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.insights-article-content h2 {
  margin: 54px 0 18px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
}

.insights-article-content h3 {
  margin: 32px 0 12px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}

.insights-article-content > h2:first-child,
.insights-article-content > h3:first-child {
  margin-top: 0;
}

.insights-article-content strong {
  color: var(--insights-ink);
  font-weight: 700;
}

.insights-article-list {
  margin: 0 0 26px;
  padding-left: 26px;
}

.insights-article-list li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.insights-article-list li::marker {
  color: var(--insights-orange);
}

.insights-faq-question {
  padding-top: 4px;
  border-top: 1px solid var(--insights-line);
}

.insights-table-wrap {
  width: 100%;
  max-width: 100%;
  margin: 30px 0 36px;
  overflow-x: auto;
  border: 1px solid var(--insights-line);
  border-radius: 8px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.insights-table-wrap:focus-visible {
  outline: 3px solid #fdba74;
  outline-offset: 3px;
}

.insights-table-wrap table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: var(--insights-copy);
  font-size: 15px;
  line-height: 1.55;
}

.insights-table-wrap th,
.insights-table-wrap td {
  padding: 14px 16px;
  border-right: 1px solid var(--insights-line);
  border-bottom: 1px solid var(--insights-line);
  text-align: left;
  vertical-align: top;
}

.insights-table-wrap th:last-child,
.insights-table-wrap td:last-child {
  border-right: 0;
}

.insights-table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.insights-table-wrap th {
  color: var(--insights-ink);
  background: #f1f5f9;
  font-weight: 800;
}

.insights-table-wrap tbody tr:nth-child(even) {
  background: var(--insights-soft);
}

.insights-article-cta {
  border-top: 1px solid var(--insights-line);
  background: var(--insights-soft);
}

.insights-next-step {
  padding: 56px 0 64px;
}

.insights-next-step-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.insights-next-step h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
}

.insights-next-step p {
  max-width: 660px;
  margin: 10px 0 0;
  color: var(--insights-copy);
  line-height: 1.65;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.contact-modal.is-open {
  display: flex;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
}

.contact-modal__panel {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid var(--insights-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.26);
  overscroll-behavior: contain;
}

.contact-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.contact-modal__head h2 {
  margin: 0;
  color: var(--insights-ink);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.contact-modal__head p {
  margin: 8px 0 0;
  color: var(--insights-copy);
  font-size: 15px;
  line-height: 1.45;
}

.contact-modal__close {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  color: #374151;
  background: #f3f4f6;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.contact-modal__close:hover {
  background: #e5e7eb;
}

.contact-modal__form {
  display: grid;
  gap: 14px;
}

.contact-modal__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-modal__field label {
  display: block;
  margin-bottom: 7px;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}

.contact-modal__field input,
.contact-modal__field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  color: var(--insights-ink);
  background: #fff;
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-modal__field input:focus,
.contact-modal__field textarea:focus {
  outline: none;
  border-color: var(--insights-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.contact-modal__field textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-modal__privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--insights-copy);
  font-size: 14px;
  line-height: 1.45;
}

.contact-modal__privacy input {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-modal__privacy a {
  color: var(--insights-orange-dark);
}

.contact-modal__privacy a:hover {
  color: #c2410c;
}

.contact-modal__status {
  display: none;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.contact-modal__status.is-visible {
  display: block;
}

.contact-modal__status.is-success {
  border-color: #86efac;
  color: #166534;
  background: #ecfdf3;
}

.contact-modal__status.is-error {
  border-color: #fecaca;
  color: #991b1b;
  background: #fef2f2;
}

.contact-modal__submit {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--insights-orange);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.contact-modal__submit:hover {
  background: var(--insights-orange-dark);
}

@media (max-width: 900px) {
  .insights-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insights-hero h1 {
    font-size: 44px;
  }

  .insights-article-hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 640px) {
  .insights-container {
    width: min(100% - 32px, 1120px);
  }

  .insights-hero {
    padding: 54px 0 50px;
  }

  .insights-hero::after {
    right: 16px;
    width: 96px;
  }

  .insights-hero h1,
  .insights-article-hero h1 {
    font-size: 34px;
    line-height: 1.14;
  }

  .insights-hero-copy,
  .insights-article-deck {
    font-size: 17px;
    line-height: 1.65;
  }

  .insights-actions,
  .insights-button {
    width: 100%;
  }

  .insights-section {
    padding: 54px 0;
  }

  .insights-section-heading {
    margin-bottom: 28px;
  }

  .insights-section-heading h2 {
    font-size: 30px;
  }

  .insights-article-grid {
    grid-template-columns: 1fr;
  }

  .insights-article-card {
    min-height: 0;
  }

  .insights-article-card {
    padding: 24px;
  }

  .insights-article-hero {
    padding: 54px 0 60px;
  }

  .insights-article-section {
    padding: 48px 0 58px;
  }

  .insights-article-content {
    font-size: 17px;
    line-height: 1.75;
  }

  .insights-article-content h2 {
    margin-top: 44px;
    font-size: 27px;
  }

  .insights-article-content h3 {
    margin-top: 28px;
    font-size: 21px;
  }

  .insights-table-wrap {
    margin-inline: 0;
  }

  .insights-table-wrap table {
    min-width: 620px;
  }

  .insights-next-step-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-modal {
    padding: 12px;
  }

  .contact-modal__panel {
    max-height: calc(100dvh - 24px);
    padding: 16px;
    border-radius: 14px;
  }

  .contact-modal__head h2 {
    font-size: 24px;
  }

  .contact-modal__row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .insights-card,
  .insights-button,
  .insights-card-link svg {
    transition: none;
  }
}
