:root {
  --ink: #101828;
  --muted: #596579;
  --line: #dbe3ec;
  --surface: #f5f7fa;
  --navy: #07192f;
  --navy2: #0d2d4f;
  --green: #21d77b;
  --green2: #08ad60;
  --amber: #ffb703;
  --white: #fff;
  --danger: #d92d20;
  --radius: 16px;
  --shadow: 0 16px 42px rgba(7, 25, 47, 0.13);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img,
iframe {
  max-width: 100%;
}

a {
  color: #075da7;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #063b69;
}

button,
input,
select {
  font: inherit;
}

button,
.btn {
  min-height: 44px;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.wrapper {
  width: min(1160px, calc(100% - 36px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(159, 193, 228, 0.22);
  background: rgba(7, 25, 47, 0.98);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.affiliate-top-note {
  margin: 0;
  padding: 6px 16px;
  border-bottom: 1px solid rgba(255, 183, 3, 0.28);
  background: #041426;
  color: #b8cada;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.affiliate-top-note a {
  color: #d8e9f7;
}

.header-row {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand:hover {
  color: #fff;
}

.brand strong {
  color: var(--green);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), #88ef58);
  box-shadow: 0 8px 20px rgba(33, 215, 123, 0.22);
  color: #04371f;
  font-size: 15px;
  font-weight: 950;
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.main-nav a {
  padding: 9px 11px;
  border-radius: 9px;
  color: #d8e7f6;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}

.language-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid #31577d;
  border-radius: 10px;
  color: #dceaf6;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.language-link:hover {
  border-color: #4d7da9;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease;
}

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

.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), #88ef58);
  color: #04371f;
  box-shadow: 0 8px 20px rgba(33, 215, 123, 0.17);
}

.btn-primary:hover {
  color: #032b19;
  filter: brightness(1.03);
}

.btn-money {
  background: linear-gradient(135deg, #ffb703, #ffd166);
  color: #3b2600;
  box-shadow: 0 8px 20px rgba(255, 183, 3, 0.2);
}

.btn-money:hover {
  color: #2f1e00;
  filter: brightness(1.04);
}

.btn-secondary {
  border-color: #31577d;
  background: #102f50;
  color: #fff;
}

.btn-secondary:hover {
  border-color: #4d7da9;
  background: #173d63;
  color: #fff;
}

.btn-quiet {
  border-color: #41688d;
  background: transparent;
  color: #e4eef8;
}

.btn-quiet:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-danger {
  border-color: #8e4b54;
  background: #321b26;
  color: #fff;
}

.btn-small {
  min-height: 40px;
  padding: 9px 13px;
  font-size: 14px;
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  border: 1px solid #31577d;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: min(300px, calc(100vw - 24px));
  padding: 12px;
  border: 1px solid #31577d;
  border-radius: 14px;
  background: var(--navy2);
  box-shadow: var(--shadow);
}

.mobile-nav-panel a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #e7f0f8;
  font-weight: 750;
  text-decoration: none;
}

.mobile-nav-panel a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.article {
  max-width: 1020px;
  padding-block: 36px 64px;
}

.breadcrumbs {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 6px;
  color: #92a0b2;
}

.breadcrumbs a {
  color: #49627d;
}

.article-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 24px;
  overflow: hidden;
  padding: 46px;
  border: 1px solid #1c4d75;
  border-radius: 25px;
  background:
    radial-gradient(circle at 84% 20%, rgba(33, 215, 123, 0.28), transparent 31%),
    linear-gradient(135deg, var(--navy), var(--navy2));
  box-shadow: var(--shadow);
  color: #fff;
}

.article-hero::after {
  position: absolute;
  z-index: -1;
  right: -80px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(136, 239, 88, 0.16);
  border-radius: 50%;
  content: "";
}

.article-hero h1 {
  max-width: 790px;
  margin: 6px 0 14px;
  color: #fff;
  font-size: clamp(34px, 5.5vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.article-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 0 22px;
  color: #d4e4f3;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}

.eyebrow {
  margin: 0;
  color: #8ff7bb;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero-badge {
  align-self: center;
  display: grid;
  width: 190px;
  height: 190px;
  place-content: center;
  border: 2px solid rgba(136, 239, 88, 0.66);
  border-radius: 50%;
  background: rgba(4, 20, 38, 0.68);
  box-shadow:
    inset 0 0 0 11px rgba(33, 215, 123, 0.08),
    0 18px 38px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.hero-badge strong {
  display: block;
  color: var(--green);
  font-size: 40px;
  line-height: 1;
}

.hero-badge span,
.hero-badge small {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-badge small {
  color: #a8bed3;
  font-size: 10px;
}

.article section[id],
.article > section {
  scroll-margin-top: 100px;
}

.section-block {
  margin-top: 48px;
}

h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(27px, 4vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h3 {
  margin: 24px 0 10px;
  color: var(--navy2);
  font-size: 22px;
  line-height: 1.35;
}

p,
ul,
ol {
  margin-block: 0 18px;
}

.quick,
.responsible,
.affiliate-disclosure,
.notice,
.warning-box,
.quality-hold {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 12px;
}

.quick {
  border-left: 5px solid var(--green2);
  background: #ecfbf3;
  color: #173d2a;
}

.responsible {
  border-left: 5px solid var(--danger);
  background: #fff1f1;
  color: #582223;
}

.affiliate-disclosure {
  border-left: 5px solid var(--amber);
  background: #fff9e7;
  color: #543d00;
}

.notice {
  border-left: 5px solid #3478b8;
  background: #eef7ff;
  color: #173b5d;
}

.warning-box,
.quality-hold {
  border-left: 5px solid var(--danger);
  background: #fff1f1;
  color: #582223;
}

.review-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 18px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: #43546a;
  font-size: 13px;
}

.review-strip span {
  display: inline-flex;
  gap: 5px;
}

.review-strip a {
  font-weight: 750;
}

.demo-shell {
  overflow: hidden;
  margin-top: 48px;
  border: 1px solid #275278;
  border-radius: 18px;
  background: var(--navy);
  box-shadow: var(--shadow);
  color: #fff;
}

.demo-cover {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.65fr);
  gap: 24px;
  min-height: 260px;
  padding: 32px;
  background:
    linear-gradient(120deg, rgba(7, 25, 47, 0.98), rgba(13, 45, 79, 0.84)),
    radial-gradient(circle at 80% 20%, rgba(33, 215, 123, 0.27), transparent 34%);
}

.demo-cover h2 {
  margin-bottom: 10px;
  color: #fff;
}

.demo-cover p {
  color: #c7d9e9;
}

.demo-cover-art {
  position: relative;
  display: grid;
  min-height: 190px;
  place-content: center;
  overflow: hidden;
  border: 1px solid rgba(148, 195, 234, 0.35);
  border-radius: 16px;
  background:
    radial-gradient(circle at 32% 30%, rgba(136, 239, 88, 0.26), transparent 24%),
    linear-gradient(145deg, #173e63, #07192f 66%);
  text-align: center;
}

.demo-cover-art::before,
.demo-cover-art::after {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.demo-cover-art::before {
  top: -45px;
  right: -30px;
}

.demo-cover-art::after {
  bottom: -70px;
  left: -20px;
}

.demo-monogram {
  color: #88ef58;
  font-size: clamp(56px, 8vw, 92px);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 1;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.demo-provider {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.demo-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  border-top: 1px solid #244664;
  border-bottom: 1px solid #244664;
  background: #0b223b;
}

.demo-status {
  margin-left: auto;
  color: #a9bed1;
  font-size: 13px;
  font-weight: 800;
}

.demo-status[data-state="loading"] {
  color: var(--amber);
}

.demo-status[data-state="playing"] {
  color: var(--green);
}

.demo-status[data-state="error"] {
  color: #ff9b9b;
}

.demo-shell.is-disabled .demo-cover {
  opacity: 0.86;
}

.demo-frame-wrap {
  position: relative;
  display: none;
  height: clamp(520px, 64vw, 680px);
  background: #020a12;
}

.demo-shell.is-active .demo-frame-wrap {
  display: block;
}

.demo-shell.is-active .demo-cover {
  display: none;
}

.demo-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #020a12;
}

.verification-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
  gap: 24px;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid #b9d8c8;
  border-radius: 15px;
  background: #f1fbf5;
}

.verification-card h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 31px);
}

.verification-card p:last-child {
  margin-bottom: 0;
}

.verification-card dl,
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.verification-card dl > div,
.evidence-grid > div {
  padding: 12px;
  border: 1px solid #cbd9d1;
  border-radius: 10px;
  background: #fff;
}

.verification-card dt,
.evidence-grid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.verification-card dd,
.evidence-grid dd {
  margin: 3px 0 0;
  color: var(--navy);
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.facts-table,
.symbols-table {
  width: 100%;
  border-collapse: collapse;
}

.facts-table th,
.facts-table td,
.symbols-table th,
.symbols-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.facts-table tr:last-child th,
.facts-table tr:last-child td,
.symbols-table tr:last-child th,
.symbols-table tr:last-child td {
  border-bottom: 0;
}

.facts-table th {
  width: 31%;
  background: var(--surface);
  color: var(--navy2);
  font-size: 15px;
}

.symbols-table thead th {
  background: var(--navy2);
  color: #fff;
  font-size: 14px;
}

.symbols-table tbody td:first-child {
  width: 26%;
  color: var(--navy2);
  font-weight: 850;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 48px;
  padding: 10px 12px 10px 62px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  counter-increment: steps;
}

.steps li::before {
  position: absolute;
  top: 8px;
  left: 10px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy2);
  color: #fff;
  content: counter(steps);
  font-size: 14px;
  font-weight: 900;
}

.rule-list {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.feature-card,
.slot-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 25, 47, 0.07);
}

.feature-card {
  padding: 20px;
}

.feature-card h3,
.slot-card h2,
.slot-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.feature-card p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.feature-card a::after,
.slot-card-link::after {
  position: absolute;
  inset: 0;
  content: "";
}

.feature-card a,
.slot-card-link {
  font-weight: 850;
}

.updated {
  margin-top: 28px;
  color: #738196;
  font-size: 13px;
}

.cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  color: #fff;
}

.cta-block p {
  margin: 0;
  color: #c8d9e8;
}

.catalog-hero {
  margin-bottom: 34px;
}

.catalog-toolbar {
  position: sticky;
  top: 88px;
  z-index: 50;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0 26px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(7, 25, 47, 0.09);
  backdrop-filter: blur(10px);
}

.provider-toolbar {
  grid-template-columns: 1fr;
}

.catalog-toolbar label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.catalog-toolbar input,
.catalog-toolbar select {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #bdc9d6;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
}

.catalog-results {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.slot-card {
  min-height: 300px;
}

.slot-card-cover {
  position: relative;
  display: grid;
  min-height: 138px;
  place-content: center;
  overflow: hidden;
  border-bottom: 1px solid #244f75;
  background:
    radial-gradient(circle at 28% 24%, rgba(136, 239, 88, 0.24), transparent 30%),
    linear-gradient(145deg, #173f65, #07192f);
  color: #fff;
  text-align: center;
}

.slot-card-cover::after {
  position: absolute;
  right: -24px;
  bottom: -56px;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.slot-card-monogram {
  color: #8cf4b8;
  font-size: 46px;
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 1;
}

.slot-card-provider {
  margin-top: 8px;
  color: #d8e5ef;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.slot-card-body {
  padding: 18px;
}

.slot-card h2,
.slot-card h3 {
  line-height: 1.3;
}

.slot-card-link {
  color: var(--navy);
  text-decoration: none;
}

.slot-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef3f7;
  color: #3f5267;
  font-size: 12px;
  font-weight: 800;
}

.chip-green {
  background: #e3faee;
  color: #087642;
}

.empty-state {
  display: none;
  padding: 32px;
  border: 1px dashed #aebccb;
  border-radius: 14px;
  background: var(--surface);
  text-align: center;
}

.provider-evidence {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, #f5f8fb, #fff);
}

.provider-evidence .eyebrow {
  color: #087642;
}

.evidence-grid {
  margin: 20px 0 24px;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  list-style: none;
}

.topic-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.source-note {
  color: var(--muted);
  font-size: 14px;
}

.pagination {
  display: grid;
  grid-template-columns: minmax(96px, 1fr) auto minmax(96px, 1fr);
  align-items: center;
  gap: 14px;
  margin: 32px 0;
}

.pagination ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination a,
.pagination .is-disabled {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--navy2);
  font-weight: 850;
  text-decoration: none;
}

.pagination a:hover,
.pagination a[aria-current="page"] {
  border-color: #1b8858;
  background: #e8faef;
  color: #075431;
}

.pagination .is-disabled {
  color: #8a97a7;
}

.pagination-direction:last-child {
  justify-self: end;
}

.trust-page {
  max-width: 940px;
}

.site-footer {
  padding: 46px 0 24px;
  background: var(--navy);
  color: #bfd0df;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-intro p {
  margin-top: 14px;
  color: #a8bed0;
  font-size: 14px;
}

.footer-column h2 {
  margin: 0 0 13px;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.footer-column a {
  display: block;
  margin: 7px 0;
  color: #c9d8e5;
  font-size: 14px;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--green);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid #23425f;
  color: #8fa7bb;
  font-size: 13px;
}

code {
  padding: 2px 5px;
  border-radius: 5px;
  background: #edf1f5;
  color: #1b3e5e;
  font-size: 0.92em;
}

html[dir="rtl"] body {
  font-family: "Noto Naskh Arabic", "Noto Nastaliq Urdu", "Geeza Pro", Tahoma,
    Arial, sans-serif;
  line-height: 1.9;
}

html[dir="rtl"] .skip-link {
  right: 8px;
  left: auto;
}

html[dir="rtl"] .mobile-nav {
  margin-right: auto;
  margin-left: 0;
}

html[dir="rtl"] .mobile-nav-panel {
  right: auto;
  left: 0;
}

html[dir="rtl"] .breadcrumbs li:not(:last-child)::after {
  margin-right: 6px;
  margin-left: 0;
  content: "‹";
}

html[dir="rtl"] .quick,
html[dir="rtl"] .responsible,
html[dir="rtl"] .notice,
html[dir="rtl"] .affiliate-disclosure,
html[dir="rtl"] .warning-box,
html[dir="rtl"] .quality-hold {
  border-right-width: 5px;
  border-right-style: solid;
  border-left: 0;
}

html[dir="rtl"] .quick {
  border-right-color: var(--green2);
}

html[dir="rtl"] .responsible {
  border-right-color: var(--danger);
}

html[dir="rtl"] .affiliate-disclosure {
  border-right-color: var(--amber);
}

html[dir="rtl"] .notice {
  border-right-color: #3478b8;
}

html[dir="rtl"] .warning-box,
html[dir="rtl"] .quality-hold {
  border-right-color: var(--danger);
}

html[dir="rtl"] .demo-status {
  margin-right: auto;
  margin-left: 0;
}

html[dir="rtl"] .facts-table th,
html[dir="rtl"] .facts-table td,
html[dir="rtl"] .symbols-table th,
html[dir="rtl"] .symbols-table td {
  text-align: right;
}

html[dir="rtl"] .steps li {
  padding: 10px 62px 10px 12px;
}

html[dir="rtl"] .steps li::before {
  right: 10px;
  left: auto;
}

html[dir="rtl"] .rule-list {
  padding-right: 22px;
  padding-left: 0;
}

html[dir="rtl"] .article .eyebrow,
html[dir="rtl"] .hero-badge small {
  letter-spacing: 0;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
  letter-spacing: 0;
}

@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
    margin-left: auto;
  }

  .header-actions {
    margin-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1.35fr 1fr;
  }

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

@media (max-width: 820px) {
  .article-hero {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    display: none;
  }

  .demo-cover {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .catalog-toolbar label:first-child {
    grid-column: 1 / -1;
  }

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

  .verification-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .wrapper {
    width: min(100% - 24px, 1160px);
  }

  .header-row {
    min-height: 68px;
    gap: 9px;
  }

  .brand > span:last-child {
    display: none;
  }

  .article {
    padding-top: 20px;
  }

  .article-hero {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .article-hero h1 {
    font-size: clamp(33px, 11vw, 48px);
  }

  .demo-cover {
    padding: 24px 18px;
  }

  .demo-frame-wrap {
    height: 72vh;
    min-height: 540px;
    max-height: 760px;
  }

  .demo-toolbar .btn {
    flex: 1 1 calc(50% - 6px);
  }

  .demo-actions .btn {
    flex: 1 1 210px;
  }

  .demo-status {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .feature-grid,
  .slots-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .evidence-grid,
  .topic-list {
    grid-template-columns: 1fr;
  }

  .pagination {
    grid-template-columns: 1fr 1fr;
  }

  .pagination ol {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .pagination-direction {
    grid-row: 2;
  }

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

  .catalog-toolbar label:first-child {
    grid-column: auto;
  }

  .cta-block {
    align-items: stretch;
    flex-direction: column;
  }

  .facts-table th {
    width: 38%;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .btn {
    padding-inline: 10px;
    font-size: 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .facts-table th,
  .facts-table td,
  .symbols-table th,
  .symbols-table td {
    padding: 11px 12px;
  }
}

@media (max-width: 410px) {
  .mobile-nav {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
