/* Linebet-like structure components with Melbet brand tokens */
:root {
  --mb-card: rgba(255, 255, 255, 0.04);
  --mb-card-border: rgba(255, 188, 0, 0.22);
  --mb-muted: rgba(255, 255, 255, 0.7);
  --mb-surface: #111;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--mb-muted);
  max-width: 720px;
  margin: 0 auto;
}

.hero-cta {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: var(--mb-card);
  border: 1px solid var(--mb-card-border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.structure-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.structure-stats .stat-card {
  padding: 1.1rem;
  text-align: center;
}

.structure-stats .stat-number {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.structure-stats .stat-number::after {
  content: none;
}

.structure-stats .stat-label {
  font-weight: 600;
  color: #fff;
}

.structure-stats .stat-desc {
  color: var(--mb-muted);
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

/* Regions */
.regions-panel {
  padding: 1.25rem;
}

.regions-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.regions-filters {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.regions-filters-label {
  color: var(--mb-muted);
  font-size: 0.9rem;
}

.regions-filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.regions-filter {
  border: 1px solid var(--mb-card-border);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  font-weight: 600;
}

.regions-filter .filter-short {
  display: none;
}

.regions-filter.active,
.regions-filter:hover {
  background: var(--color-primary);
  color: #000;
  border-color: var(--color-primary);
}

.regions-count {
  color: var(--mb-muted);
  font-weight: 600;
}

.regions-table-scroll {
  overflow: auto;
  max-height: none;
  border-radius: 12px;
  border: 1px solid var(--mb-card-border);
}

.regions-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.regions-table tbody tr {
  height: 56px;
}

.regions-table thead th {
  position: sticky;
  top: 0;
  background: #1a1a1a;
  color: var(--color-primary);
  text-align: left;
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
}

.regions-table td {
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
}

.regions-table tbody tr:hover {
  background: rgba(255, 193, 7, 0.08);
}

.regions-table tbody tr[hidden] {
  display: none;
}

.country-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.country-flag {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
}

.country-meta {
  display: flex;
  flex-direction: column;
}

.country-code {
  color: var(--mb-muted);
  font-size: 0.75rem;
}

.region-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #b8f5c4;
}

.status-check {
  color: var(--color-primary);
  font-weight: 800;
}

.regions-table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.regions-showing {
  color: var(--mb-muted);
  font-size: 0.9rem;
}

.regions-pagination {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.regions-page-btn,
.regions-page-num {
  border: 1px solid var(--mb-card-border);
  background: transparent;
  color: #fff;
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
}

.regions-page-num.active,
.regions-page-btn:hover:not(:disabled),
.regions-page-num:hover {
  background: var(--color-primary);
  color: #000;
  border-color: var(--color-primary);
}

.regions-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.regions-page-numbers {
  display: flex;
  gap: 0.25rem;
}

/* Commission calculator */
.terms-studio {
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  isolation: isolate;
  pointer-events: auto;
}

.terms-studio [hidden],
.terms-studio [data-calc-show][hidden] {
  display: none !important;
}

.terms-studio input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  --range-progress: 0%;
  width: 100%;
  height: 28px;
  background: transparent;
  cursor: pointer;
  margin: 0.35rem 0;
  pointer-events: auto;
  position: relative;
  z-index: 3;
}

.terms-studio input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--color-primary) 0,
    var(--color-primary) var(--range-progress),
    #d6dee6 var(--range-progress),
    #d6dee6 100%
  );
}

html[dir="rtl"] .terms-studio input[type="range"] {
  direction: rtl;
}

html[dir="rtl"] .terms-studio input[type="range"]::-webkit-slider-runnable-track {
  background: linear-gradient(
    to left,
    var(--color-primary) 0,
    var(--color-primary) var(--range-progress),
    #d6dee6 var(--range-progress),
    #d6dee6 100%
  );
}

.terms-studio input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid #000;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.25);
  cursor: pointer;
}

.terms-studio input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: #d6dee6;
}

.terms-studio input[type="range"]::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--color-primary);
}

.terms-studio input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid #000;
  cursor: pointer;
}

#commission.section-alt {
  overflow: visible;
}

#commission .container,
#commission .terms-workspace,
#commission .terms-configure {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.terms-layout {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 1.25rem;
}

.terms-workspace {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.terms-workspace-header {
  margin-bottom: 1rem;
}

.terms-workspace-kicker {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.terms-workspace-header h3 {
  color: #111827;
  margin-bottom: 0.35rem;
}

.terms-workspace-desc {
  color: #6b7280;
}

.terms-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.95fr);
  gap: 1rem;
  align-items: stretch;
}

.terms-rate-box {
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.terms-rate-value {
  display: block;
  font-size: 2.5rem;
  color: #111827;
  margin: 0.35rem 0 0.75rem;
}

.terms-rate-range {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
  color: #6b7280;
  font-size: 0.85rem;
}

.terms-sliders {
  display: grid;
  gap: 0.9rem;
}

.terms-slider-field,
.terms-rate-control-stack {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 0.85rem;
}

.terms-slider-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.calc-label {
  color: #111827;
  font-size: 0.9rem;
}

.calc-output {
  color: var(--color-primary);
  font-weight: 700;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--color-primary);
}

.terms-rate-control,
.terms-slider-field {
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.terms-summary {
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
  min-height: 100%;
  height: auto;
  box-sizing: border-box;
}

.terms-summary-estimate {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
  text-align: center;
}

.terms-summary-kicker {
  margin: 0;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

html[dir="rtl"] .terms-summary-kicker {
  letter-spacing: 0;
  text-transform: none;
}

.terms-summary-main,
.terms-summary-sub {
  margin: 0;
  padding: 0.85rem 0.9rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  text-align: center;
}

.terms-earn-label {
  display: block;
  color: #111827;
  font-size: 0.82rem;
  margin-bottom: 0.3rem;
}

.terms-summary-value {
  display: block;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.terms-summary-yearly {
  display: block;
  color: #111827;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 800;
  line-height: 1.2;
}

.terms-summary-actions {
  margin-top: auto;
  padding-top: 0.15rem;
}

/* Mobile-only CTA hidden by default (shown inside media query) */
.terms-cta-mobile { display: none; }

.terms-summary-actions .btn,
.terms-summary-actions .terms-contact-btn {
  width: 100%;
  text-align: center;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  line-height: 1.3;
  white-space: normal;
}

.terms-side {
  display: grid;
  gap: 0.75rem;
}

.terms-glass {
  text-align: left;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem;
  color: #fff;
  cursor: pointer;
  transition: 0.2s ease;
}

.terms-glass h3 {
  margin: 0.35rem 0;
}

.terms-glass p {
  color: var(--mb-muted);
  font-size: 0.9rem;
}

.terms-glass-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}

.terms-glass-action {
  display: inline-block;
  margin-top: 0.65rem;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
}

.terms-glass.is-active,
.terms-glass:hover {
  border-color: var(--color-primary);
  background: rgba(255, 193, 7, 0.1);
}

.commission-rest {
  padding: 0;
  overflow: hidden;
}

.table-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--mb-card-border);
}

.table-header h3 {
  color: #fff;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
}

.data-table th {
  color: var(--color-primary);
  font-size: 0.85rem;
}

/* Tools / registration / proscons / verdict / faq details */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.tool-card {
  position: relative;
  padding: 1.5rem 1.25rem 1.35rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
  will-change: transform, opacity;
}

.tool-card.is-inview {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tools-grid .tool-card:nth-child(1) { transition-delay: 0.02s, 0.02s, 0s, 0s, 0s; }
.tools-grid .tool-card:nth-child(2) { transition-delay: 0.08s, 0.08s, 0s, 0s, 0s; }
.tools-grid .tool-card:nth-child(3) { transition-delay: 0.14s, 0.14s, 0s, 0s, 0s; }
.tools-grid .tool-card:nth-child(4) { transition-delay: 0.2s, 0.2s, 0s, 0s, 0s; }
.tools-grid .tool-card:nth-child(5) { transition-delay: 0.26s, 0.26s, 0s, 0s, 0s; }

.tool-card.is-inview:nth-child(1) { transition-delay: 0.02s; }
.tool-card.is-inview:nth-child(2) { transition-delay: 0.1s; }
.tool-card.is-inview:nth-child(3) { transition-delay: 0.18s; }
.tool-card.is-inview:nth-child(4) { transition-delay: 0.26s; }
.tool-card.is-inview:nth-child(5) { transition-delay: 0.34s; }

.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 188, 0, 0.1) 0%,
    transparent 42%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.tool-card::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -60%;
  width: 45%;
  height: 180%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  transform: rotate(18deg) translateX(0);
  opacity: 0;
  pointer-events: none;
  transition: none;
}

.tool-card:hover,
.tool-card:focus-within {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(255, 188, 0, 0.45);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 188, 0, 0.12);
}

.tool-card.is-inview:hover,
.tool-card.is-inview:focus-within {
  transform: translateY(-8px) scale(1.01);
}

.tool-card:hover::before,
.tool-card:focus-within::before {
  opacity: 1;
}

.tool-card:hover::after,
.tool-card:focus-within::after {
  opacity: 1;
  animation: toolShine 0.85s ease-out;
}

.tool-card-icon {
  width: min(132px, 42%);
  aspect-ratio: 1;
  margin: 0 auto 0.85rem;
  display: grid;
  place-items: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.tool-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease;
}

.tool-card:hover .tool-card-icon,
.tool-card:focus-within .tool-card-icon {
  transform: translateY(-4px);
}

.tool-card:hover .tool-card-icon img,
.tool-card:focus-within .tool-card-icon img {
  transform: scale(1.07) rotate(-2deg);
  filter: drop-shadow(0 14px 24px rgba(255, 188, 0, 0.22));
}

.tool-card h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.tool-card:hover h3,
.tool-card:focus-within h3 {
  transform: translateY(-2px);
}

.tool-card p {
  color: var(--mb-muted);
  margin: 0;
  transition: color 0.3s ease;
}

@keyframes toolShine {
  from {
    transform: rotate(18deg) translateX(0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  to {
    transform: rotate(18deg) translateX(420%);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-card,
  .tool-card-icon,
  .tool-card-icon img,
  .tool-card h3 {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .tool-card::after {
    display: none;
  }
}

.reg-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.reg-step {
  padding: 1.25rem;
  position: relative;
}

.reg-num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #000;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.reg-step h3 {
  color: #fff;
  margin-bottom: 0.4rem;
}

.reg-step p {
  color: var(--mb-muted);
}

.reg-cta {
  text-align: center;
  margin-top: 1.5rem;
}

.proscons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pros-card,
.cons-card {
  padding: 1.25rem;
}

.pros-card h3,
.cons-card h3 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.proscons-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.proscons-list li {
  color: var(--mb-muted);
  display: flex;
  gap: 0.5rem;
  align-items: start;
}

.pros-card .proscons-list li::before {
  content: "+";
  flex: 0 0 1rem;
  display: block;
  text-align: center;
  color: var(--color-primary);
  font-weight: 800;
}

.cons-card .proscons-list li::before {
  content: "–";
  flex: 0 0 1rem;
  display: block;
  text-align: center;
  color: #ff8a80;
  font-weight: 800;
}

#faq .section-title {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

#faq .section-title h2 {
  letter-spacing: -0.02em;
}

html[dir="rtl"] #faq .section-title h2 {
  letter-spacing: 0;
  line-height: 1.45;
}

#faq .section-title p {
  margin-inline: auto;
  line-height: 1.7;
}

.faq .faq-list {
  max-width: 920px;
  margin-inline: auto;
  padding: 0.25rem 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 188, 0, 0.2);
  border-radius: 16px;
  overflow: hidden;
  direction: inherit;
}

.faq details.faq-item,
.faq .faq-item {
  background: transparent !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: visible;
}

.faq details.faq-item:last-child {
  border-bottom: none;
}

.faq details.faq-item[open] {
  background: rgba(255, 193, 7, 0.055) !important;
  box-shadow: inset 3px 0 0 var(--color-primary) !important;
}

html[dir="rtl"] .faq details.faq-item[open] {
  box-shadow: inset -3px 0 0 var(--color-primary) !important;
}

.faq summary.faq-question {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.45;
  transition: background 0.2s ease;
  text-align: start;
}

.faq summary.faq-question::-webkit-details-marker,
.faq summary.faq-question::marker {
  display: none;
  content: "";
}

.faq summary.faq-question:hover {
  background: rgba(255, 193, 7, 0.06) !important;
}

.faq .faq-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.35rem;
  border-radius: 8px;
  background: rgba(255, 193, 7, 0.12);
  border: 1px solid rgba(255, 193, 7, 0.28);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

html[dir="rtl"] .faq .faq-num {
  letter-spacing: 0;
}

.faq .faq-q-text {
  text-align: start;
}

html[dir="rtl"] .faq .faq-q-text,
html[dir="rtl"] .faq .faq-answer p {
  line-height: 1.75;
}

.faq .faq-icon {
  position: relative;
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 193, 7, 0.45);
  background: rgba(255, 193, 7, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
  font-size: 0;
  color: transparent;
}

.faq .faq-icon::before,
.faq .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-primary);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.faq .faq-icon::before {
  width: 10px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq .faq-icon::after {
  width: 1.5px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.faq details[open] .faq-icon {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.faq details[open] .faq-icon::before,
.faq details[open] .faq-icon::after {
  background: #111;
}

.faq details[open] .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq .faq-answer {
  max-height: none !important;
  overflow: visible !important;
  padding-block: 0 1.3rem;
  padding-inline: 4.25rem 1.4rem;
  color: var(--mb-muted);
  text-align: start;
}

.faq .faq-answer p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.74);
  max-width: 46rem;
}

@media (max-width: 640px) {
  .faq summary.faq-question {
    grid-template-columns: auto 1fr auto;
    gap: 0.7rem;
    padding: 1rem 1rem;
    font-size: 0.95rem;
  }

  .faq .faq-num {
    min-width: 1.7rem;
    height: 1.7rem;
    font-size: 0.65rem;
  }

  .faq .faq-answer {
    padding-inline: 1rem;
    padding-block: 0 1.1rem;
  }
}

.verdict-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  padding: 1.1rem;
  align-items: center;
}

.verdict-score {
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--mb-card-border);
  border-radius: 14px;
  padding: 1.25rem;
  color: #fff;
}

.verdict-label {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.verdict-value {
  display: block;
  font-size: 2.4rem;
  color: var(--color-primary);
}

.verdict-badge {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--color-primary);
  font-weight: 700;
}

html[dir="rtl"] .verdict-score,
html[lang="ar"] .verdict-score {
  color: #fff;
}

html[dir="rtl"] .verdict-label,
html[lang="ar"] .verdict-label {
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0;
  line-height: 1.55;
}

html[dir="rtl"] .verdict-badge,
html[lang="ar"] .verdict-badge {
  color: var(--color-primary);
  line-height: 1.5;
}

.verdict-body h3 {
  color: #fff;
  margin-bottom: 0.6rem;
}

.verdict-body p {
  color: var(--mb-muted);
  margin-bottom: 1rem;
}

@media (max-width: 1100px) {
  .structure-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .reg-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reg-steps .reg-step:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .terms-layout,
  .terms-workspace-grid,
  .verdict-card,
  .proscons-grid {
    grid-template-columns: 1fr;
  }

  .terms-workspace-grid {
    display: flex;
    flex-direction: column;
  }

  .terms-summary {
    order: 1;
    min-height: 0;
  }

  .terms-configure {
    order: 2;
  }

  .terms-summary-actions {
    margin-top: 0.35rem;
  }

  .terms-workspace-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .regions-filter .filter-full {
    display: none;
  }
  .regions-filter .filter-short {
    display: inline;
  }

  /* Regions mobile list — matches reference card UI */
  .regions-panel {
    padding: 0.85rem 0.7rem 1rem;
  }

  .regions-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
  }

  .regions-filters {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .regions-filters-label {
    display: none;
  }

  .regions-filter-pills {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .regions-filter {
    text-align: center;
    padding: 0.5rem 0.35rem;
    font-size: 0.75rem;
    border-radius: 10px;
  }

  .regions-count {
    font-size: 0.8rem;
    text-align: center;
  }

  .regions-table-scroll {
    overflow: visible;
    border: none;
    border-radius: 0;
    background: transparent;
  }

  .regions-table {
    min-width: 0;
    width: 100%;
  }

  .regions-table thead th:nth-child(2),
  .regions-table tbody td:nth-child(2) {
    display: none;
  }

  .regions-table thead th {
    position: static;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    padding: 0.55rem 0.35rem 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .regions-table thead th:first-child {
    text-align: start;
  }

  .regions-table thead th:last-child {
    text-align: end;
  }

  .regions-table tbody tr {
    height: auto;
  }

  .regions-table tbody td {
    padding: 0.85rem 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: middle;
  }

  .regions-table tbody tr:hover {
    background: transparent;
  }

  .regions-table tbody tr:first-child td {
    border-top: none;
  }

  .country-cell {
    gap: 0.65rem;
  }

  .country-flag-wrap {
    flex-shrink: 0;
  }

  .country-flag {
    width: 32px;
    height: 22px;
    border-radius: 3px;
    display: block;
  }

  .country-meta {
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem 0.45rem;
  }

  .country-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
  }

  .country-code {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
  }

  .status-badge {
    justify-content: flex-end;
    width: 100%;
    gap: 0.35rem;
    color: #b8f5c4;
  }

  .status-badge .status-text {
    display: inline;
    font-size: 0.82rem;
    color: #b8f5c4;
  }

  .status-badge .status-check {
    display: inline;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: var(--color-primary);
    font-size: inherit;
    font-weight: 800;
    line-height: inherit;
  }

  .regions-table-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 0.85rem;
  }

  .regions-showing {
    text-align: center;
    font-size: 0.8rem;
  }

  .regions-pagination {
    justify-content: center;
  }
}

html[dir="rtl"] .nav-logo {
  flex-direction: row;
}

html[dir="rtl"] .nav-more-menu a {
  text-align: right;
}

@media (max-width: 768px) {
  html[dir="rtl"] .nav-container {
    direction: rtl;
  }

  html[dir="rtl"] .nav-logo {
    order: 1;
  }

  html[dir="rtl"] .language-switcher {
    order: 2;
  }

  html[dir="rtl"] .theme-toggle {
    order: 3;
  }

  html[dir="rtl"] .nav-right {
    order: 4;
  }

  html[dir="rtl"] .mobile-menu-btn {
    order: 5;
  }

  html[dir="rtl"] .nav-links {
    text-align: right;
  }

  html[dir="rtl"] .nav-links a,
  html[dir="rtl"] .nav-more-btn {
    text-align: right;
  }
}

.nav-links {
  gap: 1rem;
}

.nav-more {
  position: relative;
  list-style: none;
}

.nav-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-white);
  font: inherit;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-more-btn::after {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-inline: none;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.2rem;
  opacity: 0.85;
  transition: transform 0.2s ease;
}

.nav-more.is-open .nav-more-btn,
.nav-more-btn:hover {
  color: var(--color-primary);
}

.nav-more.is-open .nav-more-btn::after {
  margin-top: 0.15rem;
  transform: rotate(225deg);
}

.nav-more-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  inset-inline-end: 0;
  min-width: 12.5rem;
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  background: rgba(10, 10, 10, 0.98);
  border: 1px solid rgba(255, 188, 0, 0.22);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  z-index: 1300;
}

.nav-more.is-open .nav-more-menu {
  display: flex;
}

.nav-more-menu a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-more-menu a:hover,
.nav-more-menu a:focus-visible {
  background: rgba(255, 193, 7, 0.12);
  color: var(--color-primary);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.nav-logo-tag {
  color: var(--color-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}

@media (max-width: 480px) {
  .nav-logo-tag {
    display: none;
  }
}

/* Professional business hero — left card over photo + map touch */
.hero {
  min-height: min(100vh, 900px);
  padding: 0;
  text-align: start;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  background: #0a0a0a !important;
}

.hero::before,
.hero::after,
.hero .grid-overlay,
.hero .stars,
.hero .coins-container {
  display: none !important;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0a0a0a;
}

.hero-photo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* LTR: card sits on the left — flip so the face opens on the right */
  object-position: 48% 24%;
  transform: scaleX(-1) scale(0.94);
  transform-origin: center center;
  z-index: 0;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 38%, rgba(0, 0, 0, 0.08) 62%, transparent 78%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 28%, transparent 70%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 7.25rem clamp(1.25rem, 4vw, 2.5rem) 4.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: inherit;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: min(480px, 92vw);
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: clamp(1.6rem, 3vw, 2.35rem) clamp(1.4rem, 3vw, 2.1rem) clamp(2.1rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.85rem;
  background: rgba(18, 18, 18, 0.94);
  border: 1px solid rgba(255, 188, 0, 0.28);
  border-radius: 4px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  animation: heroRise 0.7s ease-out both;
}

.hero .hero-logo {
  width: min(200px, 70%);
  height: auto;
  margin: 0 !important;
  filter: drop-shadow(0 8px 28px rgba(255, 193, 7, 0.28));
}

.hero-brand-tag {
  display: inline-block;
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.88;
}

.hero-title-block {
  position: relative;
  width: 100%;
  padding-inline-start: 0.95rem;
  animation: heroRise 0.75s ease-out 0.08s both;
}

.hero-title-block::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 4px;
  background: var(--color-primary);
  border-radius: 2px;
}

.hero h1 {
  color: #fff !important;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem) !important;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 !important;
  max-width: 100%;
  width: 100%;
  text-align: start;
  text-shadow: none !important;
}

/* In RTL, flex row already places the first child (card) on the right
   and the earnings CTA on the left — do not reverse. */

html[dir="rtl"] .hero h1,
html[dir="rtl"] .hero p.hero-desc,
html[dir="rtl"] .hero-brand-tag,
html[dir="rtl"] .hero-proof,
html[lang="ar"] .hero h1,
html[lang="ar"] .hero p.hero-desc,
html[lang="ar"] .hero-brand-tag,
html[lang="ar"] .hero-proof {
  direction: rtl;
  unicode-bidi: isolate;
  text-align: start;
}

html[dir="rtl"] .hero h1,
html[lang="ar"] .hero h1 {
  letter-spacing: 0;
  line-height: 1.45;
}

html[dir="rtl"] .hero p.hero-desc,
html[lang="ar"] .hero p.hero-desc {
  line-height: 1.85;
}

html[lang="ar"] .ar-num {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
  letter-spacing: 0.04em;
  font-family: var(--font-en, "Inter", system-ui, sans-serif);
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}

html[lang="ar"] .ar-ltr {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

html[lang="ar"] .ar-text {
  unicode-bidi: isolate;
}

html[lang="ar"] .footer-tagline,
html[lang="ar"] .footer-copy,
html[lang="ar"] .footer-responsible {
  direction: rtl;
  unicode-bidi: isolate;
  text-align: start;
}

html[dir="rtl"] .hero-photo {
  /* RTL: card sits on the right — keep the face in the open left side */
  left: 0;
  right: 0;
  width: 100%;
  object-position: 48% 24%;
  transform: scale(0.94);
  transform-origin: center center;
}

html[dir="rtl"] .hero-shade {
  background:
    linear-gradient(270deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 38%, rgba(0, 0, 0, 0.08) 62%, transparent 78%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 28%, transparent 70%, rgba(0, 0, 0, 0.45) 100%);
}

.hero p.hero-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  line-height: 1.65;
  margin: 0;
  max-width: 100%;
  width: 100%;
  text-align: start;
  animation: heroRise 0.75s ease-out 0.16s both;
}

.hero-proof {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  width: 100%;
  animation: heroRise 0.75s ease-out 0.2s both;
}

.hero-proof li {
  position: relative;
  padding: 0;
  padding-inline-start: 1.15rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  backdrop-filter: none;
  text-align: start;
}

.hero-proof li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.42em;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--color-primary);
}

html[dir="rtl"] .hero-proof li::before {
  border-width: 5px 8px 5px 0;
  border-color: transparent var(--color-primary) transparent transparent;
}

.hero .hero-cta {
  display: flex;
  gap: 0.7rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 0.35rem;
  margin-bottom: -1.35rem;
  animation: heroRise 0.75s ease-out 0.24s both;
}

.hero .btn-lg {
  padding: 0.85rem 1.35rem;
  font-size: 0.92rem;
  min-width: 0;
}

.hero .btn-primary {
  box-shadow: 0 10px 28px rgba(255, 193, 7, 0.28);
}

.hero-earnings-cta {
  flex-shrink: 0;
  align-self: flex-end;
  padding: 1.05rem 1.7rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #111 !important;
  background: linear-gradient(180deg, #ffd54a 0%, var(--color-primary) 100%);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.35),
    0 10px 28px rgba(255, 193, 7, 0.4);
  text-decoration: none;
  animation: heroRise 0.75s ease-out 0.3s both;
}

.hero-earnings-cta:hover {
  background: linear-gradient(180deg, #ffe066 0%, #ffc400 100%);
  color: #111 !important;
  transform: translateY(-2px);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.38),
    0 12px 30px rgba(255, 193, 7, 0.48);
}

.hero-telegram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(180deg, #36aee2 0%, #2697d0 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(38, 151, 208, 0.28);
}

.hero-telegram-btn:hover {
  background: linear-gradient(180deg, #43b8ea 0%, #2f9fd8 100%);
  color: #fff;
}

.hero-telegram-icon {
  display: inline-flex;
  line-height: 1;
}

.hero-telegram-icon img {
  display: block;
  width: 18px;
  height: 18px;
}

.telegram-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
}

.telegram-modal[hidden] {
  display: none;
}

.telegram-modal-dialog {
  width: min(420px, 100%);
  padding: 1.1rem;
  border-radius: 20px;
  background: #1d2024;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  position: relative;
  text-align: center;
}

.telegram-modal-close {
  position: absolute;
  top: 0.7rem;
  inset-inline-start: 0.7rem;
  width: 1.9rem;
  height: 1.9rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.telegram-modal-icon {
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 auto 0.85rem;
  border-radius: 1.6rem;
  display: grid;
  place-items: center;
  background: rgba(46, 160, 218, 0.18);
}

.telegram-modal-icon img {
  width: 1.4rem;
  height: 1.4rem;
}

.telegram-modal-title {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.telegram-modal-desc {
  margin: 0 auto 1rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.7;
}

.telegram-modal-actions {
  display: grid;
  gap: 0.7rem;
}

.telegram-option {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 1.4rem;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
}

.telegram-option-title {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}

.telegram-option-desc {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
}

.telegram-option-channel {
  background: rgba(46, 160, 218, 0.12);
  border-color: rgba(46, 160, 218, 0.55);
}

.telegram-option-channel .telegram-option-title {
  color: #4db8ff;
}

.telegram-option-channel .telegram-option-desc {
  color: rgba(255, 255, 255, 0.7);
}

.telegram-option-manager {
  background: rgba(87, 208, 126, 0.12);
  border-color: rgba(87, 208, 126, 0.45);
}

.telegram-option-manager .telegram-option-title {
  color: #64d98d;
}

.telegram-option-manager .telegram-option-desc {
  color: rgba(255, 255, 255, 0.7);
}

html[dir="rtl"] .telegram-modal-title,
html[dir="rtl"] .telegram-modal-desc,
html[dir="rtl"] .telegram-option {
  direction: rtl;
  text-align: center;
}

html[dir="rtl"] .telegram-modal-dialog {
  direction: rtl;
}

.manager-assign-modal {
  position: fixed;
  inset: 0;
  z-index: 2300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
}

.manager-assign-modal[hidden] {
  display: none;
}

.manager-assign-dialog {
  width: min(440px, 100%);
  padding: 1.6rem 1.35rem 1.4rem;
  border-radius: 22px;
  background: #16191e;
  border: 1px solid rgba(255, 188, 0, 0.28);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
  position: relative;
  text-align: center;
  animation: managerAssignIn 0.35s ease-out;
}

@keyframes managerAssignIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.manager-assign-close {
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.manager-assign-eyebrow {
  margin: 0 0 0.45rem;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manager-assign-title {
  margin: 0 0 0.55rem;
  color: #fff;
  font-size: clamp(1.35rem, 3.5vw, 1.7rem);
  font-weight: 800;
  line-height: 1.25;
}

.manager-assign-lead {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.6;
}

.manager-assign-photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 188, 0, 0.55);
  margin: 0 auto 0.95rem;
  display: block;
  background: rgba(255, 255, 255, 0.06);
}

.manager-assign-name {
  margin: 0 0 0.3rem;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
}

.manager-assign-role {
  margin: 0 0 0.75rem;
  color: var(--color-primary);
  font-size: 0.92rem;
  font-weight: 600;
}

.manager-assign-bio {
  margin: 0 auto 1.25rem;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.6;
}

.manager-assign-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: #2aabee;
  color: #fff;
  padding: 0.85rem 1.35rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.manager-assign-telegram:hover {
  background: #229ed9;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(42, 171, 238, 0.35);
}

.manager-assign-telegram svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.manager-assign-fallback {
  display: none;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.6;
}

.manager-assign-fallback.is-visible {
  display: block;
}

.manager-assign-body.is-hidden {
  display: none;
}

html[dir="rtl"] .manager-assign-dialog {
  direction: rtl;
}

html[dir="rtl"] .manager-assign-title,
html[dir="rtl"] .manager-assign-lead,
html[dir="rtl"] .manager-assign-bio,
html[dir="rtl"] .manager-assign-fallback {
  text-align: center;
}

body.manager-assign-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .manager-assign-dialog {
    padding: 1.35rem 1.1rem 1.2rem;
  }

  .manager-assign-photo {
    width: 96px;
    height: 96px;
  }
}

html[dir="rtl"] .review-modal-dialog {
  direction: rtl;
}

html[dir="rtl"] .review-modal-header {
  flex-direction: row;
}

@media (max-width: 640px) {
  .telegram-modal-dialog {
    padding: 1rem 0.9rem 0.9rem;
    border-radius: 18px;
  }

  .telegram-modal-title {
    font-size: 1.2rem;
  }

  .telegram-modal-desc {
    font-size: 0.82rem;
    margin-bottom: 0.9rem;
  }

  .telegram-option {
    padding: 0.82rem 0.9rem;
  }
}

.hero .btn-outline {
  border-width: 1.5px;
  border-color: var(--color-primary);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero .btn-outline:hover {
  background: rgba(255, 193, 7, 0.18);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 193, 7, 0.18);
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
  }

  .hero-shell {
    padding: 5.75rem 1rem 3.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .hero-content {
    max-width: 100%;
    padding: 1.25rem 1rem 1.85rem;
    gap: 0.75rem;
  }

  .hero h1 {
    font-size: clamp(1.4rem, 6.5vw, 1.85rem) !important;
  }

  .hero p.hero-desc {
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .hero .hero-cta {
    margin-bottom: -0.85rem;
  }

  .hero .btn-lg {
    width: 100%;
    min-width: 0;
  }

  .hero-earnings-cta {
    width: 100%;
    text-align: center;
    align-self: stretch;
  }
}

/* Professional footer */
.footer {
  background: #070707;
  color: #fff;
  padding: 3.25rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255, 188, 0, 0.22);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-bottom: 0.9rem;
}

.footer-brand-tag {
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-tagline {
  margin: 0;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-heading {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[dir="rtl"] .footer-heading,
html[dir="rtl"] .footer-brand-tag {
  letter-spacing: 0;
  text-transform: none;
}

.footer-nav,
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-nav a,
.footer-contact a {
  position: static;
  display: inline-block;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.92rem;
  margin: 0;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--color-primary);
}

.footer-contact .footer-app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  background: var(--color-primary);
  color: #111;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-contact .footer-app-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding-top: 1.25rem;
  text-align: start;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
  min-width: 0;
}

.footer-copy,
.footer-responsible {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--color-primary);
}

html[dir="rtl"] .footer-bottom {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .footer-meta,
html[dir="rtl"] .footer-copy,
html[dir="rtl"] .footer-responsible,
html[dir="rtl"] .footer-legal {
  text-align: right;
}

html[dir="rtl"] .footer-legal {
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .footer-logo {
    margin-bottom: 0.65rem;
  }

  .footer-brand-tag {
    font-size: 0.62rem;
  }

  .footer-tagline,
  .footer-nav a,
  .footer-contact a {
    font-size: 0.86rem;
  }

  .footer-heading {
    margin-bottom: 0.65rem;
    font-size: 0.76rem;
  }

  .footer-nav,
  .footer-contact {
    gap: 0.4rem;
  }

  .footer-contact .footer-app-btn {
    margin-top: 0.2rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.8rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding-top: 1rem;
  }

  .footer-meta {
    flex-wrap: nowrap;
    gap: 0.45rem;
    width: 100%;
  }

  .footer-copy {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .footer-responsible {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .footer-legal {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.65rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .footer-copy,
  .footer-responsible,
  .footer-legal a {
    font-size: 0.72rem;
  }
}

/* ===== Phone-first polish ===== */
@media (max-width: 768px) {
  .navbar {
    padding: 0.7rem 0.9rem;
  }

  .nav-container {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
    max-width: none;
    position: relative;
    grid-template-areas: none !important;
    grid-template-columns: none !important;
  }

  .nav-logo {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.45rem;
  }

  .nav-logo svg {
    width: 96px;
    height: auto;
    flex-shrink: 0;
  }

  .nav-logo-tag {
    display: none !important;
  }

  .language-switcher {
    order: 2;
    flex-shrink: 0;
    gap: 0.25rem;
  }

  .lang-btn {
    padding: 0.35rem 0.55rem !important;
    font-size: 0.72rem !important;
    min-width: 2.1rem;
  }

  .nav-right {
    order: 3;
    flex-shrink: 0;
    margin: 0 !important;
  }

  .nav-right > *:first-child {
    margin-right: 0 !important;
    margin-inline-end: 0 !important;
  }

  .nav-cta .btn {
    padding: 0.4rem 0.7rem !important;
    font-size: 0.75rem !important;
    min-width: 0;
    white-space: nowrap;
  }

  .mobile-menu-btn {
    order: 4;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 193, 7, 0.35);
    border-radius: 12px;
    background: rgba(255, 193, 7, 0.08);
    color: var(--color-primary);
    font-size: 0;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  }

  .mobile-menu-btn:hover,
  .mobile-menu-btn:focus-visible {
    background: rgba(255, 193, 7, 0.16);
    border-color: rgba(255, 193, 7, 0.55);
    outline: none;
  }

  .mobile-menu-btn .menu-icon {
    position: relative;
    width: 1.15rem;
    height: 0.85rem;
    display: block;
  }

  .mobile-menu-btn .menu-icon span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.2s ease,
      top 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-menu-btn .menu-icon span:nth-child(1) { top: 0; }
  .mobile-menu-btn .menu-icon span:nth-child(2) { top: 50%; transform: translateY(-50%); }
  .mobile-menu-btn .menu-icon span:nth-child(3) { bottom: 0; top: auto; }

  .mobile-menu-btn[aria-expanded="true"] .menu-icon span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  .mobile-menu-btn[aria-expanded="true"] .menu-icon span:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%) scaleX(0.4);
  }

  .mobile-menu-btn[aria-expanded="true"] .menu-icon span:nth-child(3) {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(-45deg);
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links {
    display: flex !important;
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1200;
    margin: 0;
    padding: 0.45rem;
    list-style: none;
    flex-direction: column !important;
    align-items: stretch;
    gap: 0.1rem;
    max-height: min(72svh, 30rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(12, 12, 12, 0.96);
    border: 1px solid rgba(255, 188, 0, 0.22);
    border-radius: 16px;
    box-shadow:
      0 24px 48px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top center;
    transition:
      opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.28s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links li {
    width: 100%;
    opacity: 0;
    transform: translateY(8px);
    transition:
      opacity 0.28s ease,
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-links.is-open > li,
  .nav-links.is-open .nav-more-menu > li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.is-open > li:nth-child(1) { transition-delay: 0.03s; }
  .nav-links.is-open > li:nth-child(2) { transition-delay: 0.06s; }
  .nav-links.is-open > li:nth-child(3) { transition-delay: 0.09s; }
  .nav-links.is-open > li:nth-child(4) { transition-delay: 0.12s; }
  .nav-links.is-open > li:nth-child(5) { transition-delay: 0.15s; }
  .nav-links.is-open > li:nth-child(6) { transition-delay: 0.18s; }
  .nav-links.is-open .nav-more-menu > li:nth-child(1) { transition-delay: 0.2s; }
  .nav-links.is-open .nav-more-menu > li:nth-child(2) { transition-delay: 0.23s; }

  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0.92rem 1rem;
    border-radius: 12px;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
    text-align: start;
    color: rgba(255, 255, 255, 0.92);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }

  .nav-more {
    width: 100%;
  }

  .nav-more-btn {
    display: none !important;
  }

  .nav-more-menu {
    position: static !important;
    display: flex !important;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    gap: 0.1rem;
  }

  .nav-more-menu a {
    width: 100%;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
    padding-inline-start: 1.15rem;
  }

  .nav-links a:hover,
  .nav-links a:active,
  .nav-links a:focus-visible {
    background: rgba(255, 193, 7, 0.12);
    color: var(--color-primary);
    outline: none;
  }

  html[dir="rtl"] .nav-links,
  html[dir="rtl"] .nav-links.is-open {
    flex-direction: column !important;
    text-align: right;
  }

  html[dir="rtl"] .nav-links a,
  html[dir="rtl"] .nav-more-menu a {
    text-align: right;
  }

  html[dir="rtl"] .nav-more-menu a {
    padding-inline-start: 1rem;
    padding-inline-end: 1.15rem;
  }

  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }

  /* Hero phone composition */
  .hero {
    min-height: auto;
    padding: 0 !important;
    align-items: stretch;
    justify-content: flex-start;
  }

  .hero-photo {
    left: 0;
    right: 0;
    width: 100%;
    object-position: 50% 24%;
    transform: scaleX(-1) scale(0.96);
  }

  html[dir="rtl"] .hero-photo {
    left: 0;
    right: 0;
    width: 100%;
    object-position: 50% 24%;
    transform: scale(0.96);
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.55) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, transparent 70%);
  }

  html[dir="rtl"] .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.55) 100%),
      linear-gradient(270deg, rgba(0, 0, 0, 0.45) 0%, transparent 70%);
  }

  .hero-shell {
    padding: 5.25rem 1rem 3rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }

  .hero-content {
    max-width: 100%;
    width: 100%;
    gap: 0.8rem;
    margin: 0;
  }

  .hero .hero-logo {
    width: min(180px, 68vw);
  }

  .hero h1 {
    font-size: clamp(1.35rem, 5.8vw, 1.75rem) !important;
    max-width: 100% !important;
  }

  .hero p.hero-desc {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .hero .hero-cta {
    width: 100%;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: -0.75rem;
  }

  .hero .btn-lg {
    width: 100%;
    min-width: 0;
    padding: 0.9rem 1rem;
  }

  .hero-earnings-cta {
    width: 100%;
    text-align: center;
  }

  /* Calculator phone layout — clear step flow */
  #commission .container {
    padding-inline: clamp(0.65rem, 3vw, 1rem);
  }

  .terms-studio {
    padding: 0.85rem 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 16px;
  }

  .terms-layout {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .terms-side {
    order: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
  }

  .terms-glass {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 0.6rem 0.3rem;
    text-align: center;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .terms-glass.is-active {
    background: rgba(255, 193, 7, 0.1);
    border-color: var(--color-primary);
  }

  .terms-glass p,
  .terms-glass .terms-glass-action,
  .terms-glass-badge {
    display: none;
  }

  .terms-glass h3 {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.3;
    font-weight: 700;
  }

  /* --- Calculator workspace --- */
  .terms-workspace {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .terms-workspace-header {
    margin: 0 0 0.75rem;
    padding: 0;
  }

  .terms-workspace-kicker {
    margin-bottom: 0.15rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  /* Title hidden — model already selected via tabs above */
  .terms-workspace-header h3 {
    display: none;
  }

  .terms-workspace-desc {
    display: none;
  }

  .terms-workspace-grid {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  /* -- Controls section -- */
  .terms-configure {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
  }

  .terms-rate-box {
    margin: 0;
    padding: 1rem 1rem 0.85rem;
    background: var(--bg-card, #fff);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    text-align: center;
  }

  .terms-rate-value {
    font-size: 2rem;
    margin: 0.15rem 0 0.65rem;
    font-weight: 800;
    color: #111827;
  }

  .terms-rate-range {
    font-size: 0.78rem;
  }

  .terms-sliders {
    gap: 0.5rem;
  }

  .terms-slider-field,
  .terms-rate-control-stack {
    padding: 0.7rem 0.85rem;
    background: var(--bg-card, #fff);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
  }

  .terms-slider-meta {
    margin-bottom: 0.45rem;
  }

  .calc-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
  }

  .calc-output {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary, #f5a623);
  }

  /* range thumb bigger for touch */
  .terms-workspace input[type="range"] {
    height: 4px;
    cursor: pointer;
  }

  /* -- Results section (appears above controls) -- */
  .terms-summary {
    order: 1;
    min-height: 0;
    padding: 1rem;
    gap: 0.6rem;
    border-radius: 16px;
    background: var(--bg-card, #fff);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  }

  .terms-summary-estimate {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .terms-summary-kicker {
    grid-column: 1 / -1;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 0.1rem;
    color: #6b7280;
  }

  .terms-summary-main,
  .terms-summary-sub {
    padding: 0.9rem 0.75rem;
    margin: 0;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 72px;
  }

  .terms-earn-label {
    font-size: 0.72rem;
    margin-bottom: 0.25rem;
    color: #6b7280;
  }

  .terms-summary-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #111827;
  }

  .terms-summary-yearly {
    font-size: 1.1rem;
    font-weight: 700;
    color: #374151;
  }

  /* Hide desktop CTA inside summary card, show bottom CTA instead */
  .terms-cta-desktop { display: none; }

  .terms-cta-mobile {
    margin-top: 0.6rem;
    order: 99;
  }

  .terms-cta-mobile .btn {
    padding: 0.95rem 1rem;
    font-size: 1rem;
    border-radius: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    width: 100%;
  }

  .commission-rest {
    margin-top: 0.5rem;
  }
}

/* ===== Very small screens: fit calculator in one viewport ===== */
@media (max-width: 480px) {
  #commission.section {
    padding-block: 1rem 0.75rem;
  }

  #commission .section-title {
    margin-bottom: 0.6rem;
  }

  #commission .section-title h2 {
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
  }

  #commission .section-title p {
    display: none;
  }

  .terms-studio {
    padding: 0.6rem 0.6rem 0.75rem;
    margin-bottom: 0.6rem;
    border-radius: 14px;
  }

  .terms-layout {
    gap: 0.5rem;
  }

  /* Model tabs */
  .terms-glass {
    padding: 0.4rem 0.2rem;
    border-radius: 8px;
  }

  .terms-glass h3 {
    font-size: 0.68rem;
  }

  /* Header */
  .terms-workspace-header {
    margin-bottom: 0.5rem;
  }

  .terms-workspace-kicker {
    font-size: 0.65rem;
    margin-bottom: 0.1rem;
  }

  .terms-workspace-header h3 {
    font-size: 0.95rem;
  }

  .terms-workspace-grid {
    gap: 0.45rem;
  }

  /* Results card */
  .terms-summary {
    padding: 0.6rem 0.65rem;
    gap: 0.4rem;
    border-radius: 12px;
  }

  .terms-summary-estimate {
    gap: 0.35rem;
  }

  .terms-summary-kicker {
    font-size: 0.65rem;
    margin-bottom: 0;
  }

  .terms-summary-main,
  .terms-summary-sub {
    padding: 0.75rem 0.65rem;
    border-radius: 8px;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .terms-earn-label {
    font-size: 0.65rem;
    margin-bottom: 0.1rem;
  }

  .terms-summary-value {
    font-size: 1.1rem;
  }

  .terms-summary-yearly {
    font-size: 0.95rem;
  }

  /* Controls */
  .terms-configure {
    gap: 0.4rem;
  }

  .terms-rate-box {
    padding: 0.65rem 0.75rem 0.55rem;
    border-radius: 12px;
  }

  .terms-rate-value {
    font-size: 1.6rem;
    margin: 0.1rem 0 0.45rem;
  }

  .terms-rate-range {
    font-size: 0.7rem;
  }

  .terms-sliders {
    gap: 0.4rem;
  }

  .terms-slider-field,
  .terms-rate-control-stack {
    padding: 0.5rem 0.65rem;
    border-radius: 10px;
  }

  .terms-slider-meta {
    margin-bottom: 0.3rem;
  }

  .calc-label {
    font-size: 0.72rem;
  }

  .calc-output {
    font-size: 0.8rem;
  }

  .terms-workspace input[type="range"] {
    height: 3px;
    margin: 0;
  }

  /* CTA button */
  .terms-cta-mobile {
    margin-top: 0.4rem;
  }

  .terms-cta-mobile .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    min-height: 44px;
    border-radius: 12px;
  }
}

/* ===== Global responsive foundation ===== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(0.85rem, 3vw, 1.5rem);
  box-sizing: border-box;
}

.section {
  padding-block: clamp(2.5rem, 6vw, 3.75rem);
  padding-inline: 0;
}

.contact-page {
  padding-top: 5.25rem;
  padding-bottom: 1.25rem;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.contact-page .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  min-height: 0;
}

.contact-page .section-title {
  margin-bottom: 0.85rem;
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
  width: 100%;
}

.contact-page .section-title h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #ffffff;
}

html[dir="rtl"] .contact-page .section-title h1,
html[lang="ar"] .contact-page .section-title h1 {
  letter-spacing: 0;
  line-height: 1.45;
}

.contact-page .section-title p {
  margin: 0;
  max-width: 100%;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.88;
}

html[dir="rtl"] .contact-page .section-title,
html[lang="ar"] .contact-page .section-title {
  direction: rtl;
  text-align: center;
}

.contact-page .contact-form {
  width: 100%;
  max-width: 520px;
  margin: 0.5rem auto 0;
  padding: 1.15rem 1.25rem 1.25rem !important;
  border-radius: 14px;
}

.contact-page .form-group {
  margin-bottom: 0.7rem;
}

.contact-page .form-group label {
  margin-bottom: 0.28rem;
  font-size: 0.86rem;
}

.contact-page .form-group input,
.contact-page .form-group select,
.contact-page .form-group textarea,
.contact-page .select-trigger,
.contact-page .form-group-phone .iti__tel-input,
.contact-page .form-group-phone .iti input[type="tel"] {
  padding-block: 0.65rem;
  padding-inline: 0.85rem;
  font-size: 0.92rem;
  min-height: 2.55rem;
}

.contact-page .form-group-phone .iti__selected-country {
  padding-inline: 0.55rem 0.25rem;
}

.contact-page #nextBtn {
  margin-top: 0.15rem;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.contact-page .manager-selection {
  margin-top: 0.75rem;
}

.contact-page .manager-selection h3 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.contact-page .managers-grid {
  gap: 0.65rem;
}

.contact-page .manager-card {
  padding: 0.7rem 0.45rem;
}

.contact-page .manager-avatar {
  width: 58px;
  height: 58px;
  margin-bottom: 0.4rem;
}

.contact-page .manager-name {
  font-size: 0.78rem;
}

.contact-page .manager-actions {
  margin-top: 0.75rem;
  gap: 0.65rem;
}

.contact-page + .footer {
  padding-top: 1.75rem;
  padding-bottom: 1rem;
}

@media (max-height: 820px) and (min-width: 901px) {
  .contact-page {
    padding-top: 4.75rem;
    padding-bottom: 0.75rem;
    align-items: center;
  }

  .contact-page .container {
    justify-content: center;
  }

  .contact-page .section-title {
    margin-bottom: 0.55rem;
  }

  .contact-page .section-title h1 {
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  }

  .contact-page .section-title p {
    font-size: 0.85rem;
  }

  .contact-page .contact-form {
    padding: 0.95rem 1rem 1.05rem !important;
  }

  .contact-page .form-group {
    margin-bottom: 0.55rem;
  }

  .contact-page .form-group input,
  .contact-page .form-group select,
  .contact-page .select-trigger,
  .contact-page .form-group-phone .iti__tel-input,
  .contact-page .form-group-phone .iti input[type="tel"] {
    padding-block: 0.55rem;
    min-height: 2.3rem;
    font-size: 0.88rem;
  }
}

/* Keep contact title clear of the fixed navbar on phones/tablets */
@media (max-width: 900px) {
  .contact-page {
    padding-top: 18rem;
    padding-bottom: 1.75rem;
    min-height: auto;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .contact-page .container {
    max-width: 100%;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    padding-inline: 1rem;
    box-sizing: border-box;
  }

  .contact-page .section-title {
    margin-top: 2.5rem;
    margin-bottom: 1.15rem;
  }

  .contact-page .section-title,
  .contact-page .contact-form {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .contact-page .contact-form {
    padding: 1rem 0.9rem !important;
  }
}

@media (max-width: 640px) {
  .contact-page {
    padding-top: 20rem;
  }

  .contact-page .section-title {
    margin-top: 2.75rem;
  }
}

@media (max-width: 430px) {
  .contact-page {
    padding-top: 21.5rem;
  }

  .contact-page .section-title {
    margin-top: 3rem;
  }
}

.section-title {
  padding-inline: 0.15rem;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.section-title p {
  padding-inline: 0.25rem;
}

.proscons-list li {
  padding-inline-start: 0;
}

html[dir="rtl"] .proscons-list li {
  display: block;
  position: relative;
  padding-inline-end: 1.5rem;
  padding-inline-start: 0;
  text-align: right;
}

html[lang="ar"] .proscons-list li {
  /* Keep LTR flex (+ on the left); isolate Arabic text only */
  text-align: start;
}

html[lang="ar"] .proscons-list li .ar-text {
  flex: 1;
  min-width: 0;
  direction: rtl;
  unicode-bidi: isolate;
  text-align: start;
}

html[lang="ar"] .section-title p .ar-text,
html[lang="ar"] .section-title h2 .ar-text,
html[lang="ar"] .pros-card h3 .ar-text,
html[lang="ar"] .cons-card h3 .ar-text {
  direction: rtl;
  unicode-bidi: isolate;
}

html[dir="rtl"] .proscons-grid,
html[dir="rtl"] .proscons-list {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .pros-card .proscons-list li::before,
html[dir="rtl"] .cons-card .proscons-list li::before {
  position: absolute;
  inset-inline-end: 0;
  inset-inline-start: auto;
  top: 0;
}

html[dir="rtl"] .terms-workspace,
html[dir="rtl"] .terms-workspace-header,
html[dir="rtl"] .terms-workspace-desc,
html[dir="rtl"] .terms-configure,
html[dir="rtl"] .terms-sliders,
html[dir="rtl"] .terms-slider-field,
html[dir="rtl"] .terms-rate-control-stack,
html[dir="rtl"] .terms-side,
html[dir="rtl"] .terms-glass,
html[dir="rtl"] .pros-card,
html[dir="rtl"] .cons-card {
  direction: rtl;
  unicode-bidi: isolate;
}

html[dir="rtl"] .terms-workspace-header,
html[dir="rtl"] .terms-workspace-desc,
html[dir="rtl"] .terms-glass,
html[dir="rtl"] .pros-card,
html[dir="rtl"] .cons-card,
html[dir="rtl"] .pros-card h3,
html[dir="rtl"] .cons-card h3 {
  text-align: right;
}

html[dir="rtl"] .terms-side .terms-glass,
html[dir="rtl"] .terms-side .terms-glass h3,
html[dir="rtl"] .terms-side .terms-glass p,
html[dir="rtl"] .terms-side .terms-glass .terms-glass-action,
html[dir="rtl"] .terms-side .terms-glass .terms-glass-badge {
  text-align: center;
}

html[dir="rtl"] .commission-rest .data-table {
  direction: rtl;
}

html[dir="rtl"] .commission-rest .data-table th,
html[dir="rtl"] .commission-rest .data-table td,
html[dir="rtl"] .commission-rest .table-header h3 {
  text-align: right;
}

.table-card {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  min-width: 420px;
}

.managers-grid {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.manager-actions {
  flex-wrap: wrap;
}

.manager-actions .btn {
  flex: 1 1 140px;
}

/* Tablet refinements */
@media (max-width: 1024px) {
  .nav-links {
    gap: 0.7rem;
  }

  .nav-links a {
    font-size: 12.5px;
  }

  .nav-container {
    gap: 0.85rem;
  }
}

@media (max-width: 900px) {
  .navbar {
    padding-inline: 1rem;
  }

  .nav-container {
    position: relative;
    gap: 0.65rem;
  }

  /* Mobile drawer menu — animated open/close */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links {
    display: flex !important;
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1200;
    margin: 0;
    padding: 0.45rem;
    list-style: none;
    flex-direction: column !important;
    align-items: stretch;
    gap: 0.1rem;
    max-height: min(72svh, 30rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(12, 12, 12, 0.96);
    border: 1px solid rgba(255, 188, 0, 0.22);
    border-radius: 16px;
    box-shadow:
      0 24px 48px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top center;
    transition:
      opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.28s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links > li {
    width: 100%;
    opacity: 0;
    transform: translateY(8px);
    transition:
      opacity 0.28s ease,
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-links.is-open > li,
  .nav-links.is-open .nav-more-menu > li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.is-open > li:nth-child(1) { transition-delay: 0.03s; }
  .nav-links.is-open > li:nth-child(2) { transition-delay: 0.06s; }
  .nav-links.is-open > li:nth-child(3) { transition-delay: 0.09s; }
  .nav-links.is-open > li:nth-child(4) { transition-delay: 0.12s; }
  .nav-links.is-open > li:nth-child(5) { transition-delay: 0.15s; }
  .nav-links.is-open > li:nth-child(6) { transition-delay: 0.18s; }
  .nav-links.is-open .nav-more-menu > li:nth-child(1) { transition-delay: 0.2s; }
  .nav-links.is-open .nav-more-menu > li:nth-child(2) { transition-delay: 0.23s; }

  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0.92rem 1rem;
    border-radius: 12px;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: start;
    color: rgba(255, 255, 255, 0.92);
    transition: background 0.2s ease, color 0.2s ease;
  }

  .nav-more {
    width: 100%;
  }

  .nav-more-btn {
    display: none !important;
  }

  .nav-more-menu {
    position: static !important;
    display: flex !important;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    gap: 0.1rem;
  }

  .nav-more-menu a {
    width: 100%;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
    padding-inline-start: 1.15rem;
  }

  .nav-links a:hover,
  .nav-links a:active,
  .nav-links a:focus-visible {
    background: rgba(255, 193, 7, 0.12);
    color: var(--color-primary);
    outline: none;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 193, 7, 0.35);
    border-radius: 12px;
    background: rgba(255, 193, 7, 0.08);
    color: var(--color-primary);
    font-size: 0;
    line-height: 1;
    padding: 0;
    cursor: pointer;
  }

  .mobile-menu-btn .menu-icon {
    position: relative;
    width: 1.15rem;
    height: 0.85rem;
    display: block;
  }

  .mobile-menu-btn .menu-icon span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.2s ease,
      top 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-menu-btn .menu-icon span:nth-child(1) { top: 0; }
  .mobile-menu-btn .menu-icon span:nth-child(2) { top: 50%; transform: translateY(-50%); }
  .mobile-menu-btn .menu-icon span:nth-child(3) { bottom: 0; top: auto; }

  .mobile-menu-btn[aria-expanded="true"] .menu-icon span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  .mobile-menu-btn[aria-expanded="true"] .menu-icon span:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%) scaleX(0.4);
  }

  .mobile-menu-btn[aria-expanded="true"] .menu-icon span:nth-child(3) {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(-45deg);
  }

  html[dir="rtl"] .nav-links,
  html[dir="rtl"] .nav-links.is-open {
    flex-direction: column !important;
    text-align: right;
  }

  html[dir="rtl"] .nav-links a,
  html[dir="rtl"] .nav-more-menu a {
    text-align: right;
  }

  html[dir="rtl"] .nav-more-menu a {
    padding-inline-start: 1rem;
    padding-inline-end: 1.15rem;
  }

  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }

  .terms-studio {
    padding: 1rem;
  }

  .terms-side {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .terms-glass {
    max-width: none;
    width: 100%;
    min-width: 0;
  }

  .verdict-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1rem;
    gap: 0.85rem;
  }

  .verdict-score {
    display: grid;
    justify-items: center;
    gap: 0.25rem;
    padding: 0.9rem 0.85rem;
  }

  .verdict-label {
    margin-bottom: 0;
    font-size: 0.78rem;
  }

  .verdict-badge {
    margin-top: 0.15rem;
    font-size: 0.85rem;
  }

  .verdict-body h3 {
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .verdict-body p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.85rem;
  }

  .verdict-body .btn {
    width: 100%;
  }

  html[dir="rtl"] .verdict-card,
  html[dir="rtl"] .verdict-body {
    text-align: center;
  }
}

/* Phone / small tablet — all sections */
@media (max-width: 768px) {
  .section {
    padding-block: 2.25rem;
  }

  .section-title h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.85rem);
    line-height: 1.3;
  }

  .section-title p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .structure-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .structure-stats .stat-card {
    padding: 1.1rem 0.85rem;
  }

  .structure-stats .stat-number {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
  }

  .structure-stats .stat-label {
    font-size: 0.9rem;
  }

  .structure-stats .stat-desc {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .tools-grid,
  .reg-steps {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .reg-steps .reg-step:last-child {
    grid-column: auto;
  }

  .tool-card,
  .reg-step,
  .pros-card,
  .cons-card {
    padding: 1.1rem;
  }

  .tool-card-icon {
    width: min(112px, 46%);
    margin-bottom: 0.7rem;
  }

  .tool-card h3,
  .reg-step h3,
  .pros-card h3,
  .cons-card h3 {
    font-size: 1.05rem;
  }

  .tool-card p,
  .reg-step p,
  .proscons-list li {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .proscons-grid {
    gap: 0.75rem;
  }

  .commission-rest {
    padding: 0;
  }

  .table-header {
    padding: 0.9rem 1rem 0.35rem;
  }

  .table-header h3 {
    font-size: 1.05rem;
  }

  .data-table {
    min-width: 0;
    width: 100%;
  }

  .data-table th,
  .data-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.88rem;
    vertical-align: top;
    word-break: break-word;
  }

  .data-table tbody tr {
    display: table-row;
    padding: 0;
    border-top: none;
  }

  .data-table thead {
    display: table-header-group;
  }

  .data-table tbody td {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.75rem 0.85rem;
  }

  .data-table tbody td:first-child {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: none;
    letter-spacing: 0;
  }

  .faq .faq-list {
    border-radius: 14px;
    margin-inline: 0;
  }

  .faq summary.faq-question {
    gap: 0.75rem;
    padding: 1rem 0.95rem;
    font-size: 0.95rem;
  }

  .faq .faq-answer {
    padding-inline: 0.95rem;
  }

  .faq .faq-answer p {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .verdict-card {
    padding: 0.95rem 0.9rem;
    gap: 0.75rem;
  }

  .verdict-score {
    padding: 0.8rem 0.75rem;
    border-radius: 12px;
  }

  .verdict-value {
    font-size: clamp(1.75rem, 7vw, 2.15rem);
    line-height: 1.1;
  }

  .verdict-body h3 {
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
  }

  .verdict-body p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
  }

  .verdict-body .btn {
    width: 100%;
    padding: 0.85rem 1rem;
  }

  .contact-form {
    width: 100%;
    max-width: 100%;
    margin: 1.5rem auto 0;
    padding: 1.25rem 1rem !important;
    border-radius: 14px;
  }

  .form-group {
    margin-bottom: 1.1rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px; /* avoid iOS zoom */
  }

  .managers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .manager-card {
    padding: 0.85rem 0.55rem;
  }

  .manager-avatar {
    width: 68px;
    height: 68px;
  }

  .manager-name {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .manager-actions {
    gap: 0.65rem;
  }

  .manager-actions .btn {
    flex: 1 1 calc(50% - 0.35rem);
    min-width: 0;
  }

  .reg-cta .btn {
    width: min(100%, 320px);
  }

  .regions-panel {
    padding: 1rem 0.85rem;
  }

  .footer-brand-tag {
    white-space: normal;
  }

  .footer-logo svg {
    width: 120px;
    height: auto;
  }
}

@media (max-width: 480px) {
  .structure-stats {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .structure-stats .stat-card {
    padding: 1rem 0.9rem;
  }

  .terms-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .terms-glass h3 {
    font-size: 0.68rem;
  }

  .terms-summary-estimate {
    grid-template-columns: 1fr;
  }

  .terms-summary-value {
    font-size: 1.35rem;
  }

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

  .manager-actions {
    flex-direction: column;
  }

  .manager-actions .btn {
    width: 100%;
    flex: none;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.55rem;
  }

  .footer-contact .footer-app-btn {
    width: 100%;
  }
}

/* Prefer reduced motion on phones where heavy effects hurt */
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .section-alt::before {
    animation: none !important;
  }
}

/* Legal pages */
.terms-content {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.terms-content h2 {
  font-size: clamp(1.15rem, 4vw, 1.5rem);
  line-height: 1.35;
}

.terms-content p {
  font-size: clamp(0.92rem, 2.8vw, 1rem);
  line-height: 1.75;
}

@media (max-width: 768px) {
  .terms-content {
    padding-inline: 0.1rem;
  }

  section.section[style*="margin-top"] {
    margin-top: 5.5rem !important;
    padding-top: 1rem !important;
  }
}
