:root {
  color-scheme: light;
  --ink: #171622;
  --muted: #626274;
  --line: #e6e5ec;
  --line-strong: #d6d4df;
  --surface: #ffffff;
  --surface-soft: #f6f6fa;
  --surface-tint: #f2efff;
  --brand: #3b159f;
  --brand-strong: #2b0a82;
  --brand-bright: #5368ff;
  --brand-violet: #a64dff;
  --success: #0eaa78;
  --success-soft: #e9faf4;
  --warning: #9a6700;
  --warning-soft: #fff8e6;
  --shadow-sm: 0 1px 3px rgba(25, 18, 52, 0.08), 0 1px 2px rgba(25, 18, 52, 0.04);
  --shadow-md: 0 18px 48px rgba(24, 15, 58, 0.14);
  --shadow-lg: 0 28px 80px rgba(24, 15, 58, 0.22);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--surface-soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.drawer-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--brand-strong);
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #21106a;
  color: #fff;
}

.topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 20%, rgba(102, 99, 255, 0.28), transparent 35%),
    radial-gradient(circle at 85% -40%, rgba(182, 77, 255, 0.28), transparent 42%);
}

.topbar__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--content));
  min-height: 82px;
  margin: 0 auto;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(7, 4, 32, 0.2));
}

.brand__copy {
  display: grid;
  line-height: 1.1;
}

.brand__copy strong {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand__copy small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.topbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.language-switch {
  text-decoration: none;
  display: inline-flex;
  min-width: 58px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  padding: 8px 11px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.language-switch:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.17);
  transform: translateY(-1px);
}

.language-switch svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(430px, 42vw);
}

.search > svg {
  position: absolute;
  left: 14px;
  z-index: 1;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.68);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  pointer-events: none;
}

.search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  padding: 9px 42px;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.search input::placeholder {
  color: rgba(255, 255, 255, 0.64);
}

.search input:focus {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.17);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.search-results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  max-height: min(430px, 68vh);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  padding: 8px;
}

.search-results[hidden] {
  display: none;
}

.search-result {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 11px 12px;
  text-align: left;
  cursor: pointer;
}

.search-result:hover,
.search-result:focus-visible,
.search-result.is-active {
  background: var(--surface-tint);
  outline: none;
}

.search-result strong {
  display: block;
  font-size: 0.93rem;
}

.search-result span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.search-empty {
  margin: 0;
  padding: 18px 14px;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 10px 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.text-button:focus-visible,
.icon-button:focus-visible,
.language-switch:focus-visible,
.card-button:focus-visible,
.faq-item summary:focus-visible,
.section-nav a:focus-visible {
  outline: 3px solid rgba(83, 104, 255, 0.28);
  outline-offset: 2px;
}

.language-switch:focus-visible {
  outline-color: rgba(255, 255, 255, 0.72);
}

.button--primary {
  background: linear-gradient(135deg, #786cff, #b14dff);
  color: #fff;
  box-shadow: 0 8px 22px rgba(134, 80, 255, 0.28);
}

.button--primary:hover {
  box-shadow: 0 12px 28px rgba(134, 80, 255, 0.36);
}

.button--full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #21106a;
  color: #fff;
  padding: 54px 0 62px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero::before {
  top: -300px;
  right: -140px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 66px rgba(255, 255, 255, 0.025), 0 0 0 132px rgba(255, 255, 255, 0.02);
}

.hero::after {
  bottom: -210px;
  left: -150px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(84, 100, 255, 0.33), transparent 67%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
  align-items: center;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  gap: clamp(36px, 6vw, 80px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #57e6bd;
  box-shadow: 0 0 0 5px rgba(87, 230, 189, 0.12);
}

.hero h1 {
  max-width: 760px;
  margin: 18px 0 16px;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero__lead {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 25px;
}

.hero__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}

.hero__links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero__links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.scope-card {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 24px;
  backdrop-filter: blur(10px);
}

.scope-card__label {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(87, 230, 189, 0.13);
  color: #85f2d3;
  padding: 5px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scope-card h2 {
  margin: 15px 0 9px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.scope-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.scope-card strong {
  color: #fff;
}

.scope-card .text-button {
  margin-top: 18px;
  color: #fff;
}

.section-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.section-nav__inner {
  display: flex;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.section-nav__inner::-webkit-scrollbar {
  display: none;
}

.section-nav a {
  position: relative;
  flex: 0 0 auto;
  color: #696879;
  padding: 18px 22px 16px;
  font-size: 0.94rem;
  font-weight: 720;
  text-decoration: none;
}

.section-nav a:first-child {
  padding-left: 0;
}

.section-nav a.is-active {
  color: var(--brand);
}

.section-nav a.is-active::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  border-radius: 99px 99px 0 0;
  background: linear-gradient(90deg, var(--brand-bright), var(--brand-violet));
}

.section-nav a:first-child.is-active::after {
  left: 0;
}

.content-shell {
  display: grid;
  width: min(calc(100% - 40px), var(--content));
  margin: 28px auto 46px;
  gap: 24px;
}

.panel {
  border: 1px solid rgba(225, 223, 234, 0.88);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.section-block {
  scroll-margin-top: 92px;
  padding: clamp(22px, 4vw, 34px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) minmax(300px, 1fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 24px;
}

.section-heading--action {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.section-heading--single {
  grid-template-columns: 1fr;
}

.section-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-heading > p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-kicker {
  color: var(--brand-bright);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-note {
  max-width: 800px;
  margin: -8px 0 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.compliance-grid,
.controls-grid,
.processor-grid {
  display: grid;
  gap: 16px;
}

.compliance-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.controls-grid,
.processor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card-button:hover {
  transform: translateY(-2px);
  border-color: #c8c4df;
  box-shadow: 0 14px 32px rgba(31, 21, 67, 0.09);
}

.compliance-card {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  min-height: 168px;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  padding: 24px 26px;
}

.processor-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 13px;
  background: linear-gradient(145deg, #251063, #5748c8);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.framework-mark {
  position: relative;
  display: inline-flex;
  width: 80px;
  height: 80px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #20252c;
  box-shadow: 0 8px 20px rgba(31, 25, 59, 0.14);
}

.framework-mark img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.compliance-card__copy {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.compliance-card__kind {
  color: var(--brand-bright);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.compliance-card__status {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.35;
}

.status-check {
  position: absolute;
  right: -5px;
  bottom: -5px;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #46d58b 0%, #15945b 55%, #0a7144 100%);
  color: #fff;
  box-shadow:
    0 7px 16px rgba(10, 113, 68, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.status-check::before {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(21, 148, 91, 0.22);
  border-radius: inherit;
  content: "";
}

.status-check svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.compliance-card:hover .status-check {
  transform: translateY(-1px) scale(1.06);
  box-shadow:
    0 9px 20px rgba(10, 113, 68, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.compliance-card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.compliance-card__full-name {
  flex: 1 1 160px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.provider-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
}

.provider-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.control-card {
  display: flex;
  min-height: 222px;
  flex-direction: column;
  padding: 19px;
}

.control-card__title {
  display: flex;
  align-items: center;
  gap: 11px;
}

.control-card__icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--surface-tint);
  color: var(--brand);
}

.control-card__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.control-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.control-preview {
  display: grid;
  gap: 9px;
  margin: 18px 0 20px;
}

.control-preview span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #3f3e4d;
  font-size: 0.87rem;
}

.control-preview i {
  display: inline-flex;
  width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 900;
}

.control-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  color: var(--brand-bright);
  font-size: 0.88rem;
  font-weight: 800;
}

.control-card__footer small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.processor-card {
  display: flex;
  min-height: 138px;
  align-items: flex-start;
  gap: 13px;
  padding: 18px;
}

.processor-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--processor-color, #3d24a4), #1d153e);
  font-size: 0.82rem;
}

.processor-card__copy {
  min-width: 0;
}

.processor-card h3 {
  margin: 1px 0 5px;
  font-size: 0.96rem;
  line-height: 1.3;
}

.processor-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.processor-region {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  color: #484757;
  font-size: 0.77rem;
  font-weight: 700;
}

.processor-region::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 2px solid var(--success);
  border-radius: 50%;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--brand-bright);
  padding: 4px 0;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.text-button span {
  transition: transform 160ms ease;
}

.text-button:hover span {
  transform: translateX(3px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  padding: 14px 4px;
  font-weight: 730;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--surface-tint);
  color: var(--brand);
  font-size: 1.18rem;
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__answer {
  max-width: 850px;
  padding: 0 52px 20px 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

.faq-item__answer a {
  color: var(--brand-bright);
  font-weight: 700;
}

.footer {
  background: #191729;
  color: #fff;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  gap: 40px;
  padding: 34px 0;
}

.footer strong {
  font-size: 1rem;
}

.footer p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.61);
  font-size: 0.82rem;
}

.drawer-overlay {
  position: fixed;
  z-index: 80;
  inset: 0;
  background: rgba(15, 12, 27, 0.58);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.drawer-overlay.is-open {
  opacity: 1;
}

.drawer-overlay[hidden] {
  display: none;
}

.drawer {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(640px, 92vw);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateX(102%);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.drawer[aria-hidden="true"] {
  visibility: hidden;
  pointer-events: none;
  transition: none;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 17px 24px;
}

.drawer__kicker {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drawer__header h2 {
  margin: 3px 0 0;
  font-size: 1.45rem;
  line-height: 1.25;
}

.icon-button {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
}

.icon-button:hover {
  background: var(--surface-soft);
}

.icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.drawer__body {
  height: calc(100% - 88px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
}

.drawer-intro {
  border: 1px solid #ded9f5;
  border-radius: 14px;
  background: var(--surface-tint);
  color: #4f496b;
  padding: 14px 15px;
  font-size: 0.86rem;
}

.drawer-stack {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.detail-card {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
}

.detail-card.is-target {
  border-color: var(--brand-bright);
  box-shadow: 0 0 0 3px rgba(83, 104, 255, 0.09);
}

.detail-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.detail-card__head h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.detail-card p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.89rem;
}

.detail-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.meta-chip {
  display: inline-flex;
  border-radius: 999px;
  background: var(--surface-soft);
  color: #4e4d5c;
  padding: 5px 9px;
  font-size: 0.73rem;
  font-weight: 700;
}

.meta-chip--success {
  background: var(--success-soft);
  color: #077d59;
}

.meta-chip--warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.copy-button {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--brand-bright);
  padding: 2px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.copy-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.detail-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--brand-bright);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.detail-link:hover {
  text-decoration: underline;
}

.toast {
  position: fixed;
  z-index: 120;
  right: 22px;
  bottom: 22px;
  max-width: min(380px, calc(100% - 44px));
  border-radius: 12px;
  background: #181625;
  color: #fff;
  box-shadow: var(--shadow-md);
  padding: 11px 14px;
  font-size: 0.84rem;
  font-weight: 650;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html[dir="rtl"] body {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  text-align: right;
}

html[dir="rtl"] .skip-link {
  right: 12px;
  left: auto;
}

html[dir="rtl"] .brand__copy small,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .scope-card__label,
html[dir="rtl"] .section-kicker,
html[dir="rtl"] .compliance-card__kind,
html[dir="rtl"] .drawer__kicker {
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] .search > svg {
  right: 14px;
  left: auto;
}

html[dir="rtl"] .search-result,
html[dir="rtl"] .card-button {
  text-align: right;
}

html[dir="rtl"] .section-nav a:first-child {
  padding-right: 0;
  padding-left: 22px;
}

html[dir="rtl"] .section-nav a:first-child.is-active::after {
  right: 0;
  left: 18px;
}

html[dir="rtl"] .compliance-card h3 {
  padding: 0;
}

html[dir="rtl"] .drawer {
  right: auto;
  left: 0;
  transform: translateX(-102%);
}

html[dir="rtl"] .drawer.is-open {
  transform: translateX(0);
}

html[dir="rtl"] .toast {
  right: auto;
  left: 22px;
}

html[dir="rtl"] .hero h1,
html[dir="rtl"] .section-heading h2 {
  letter-spacing: 0;
}

@media (max-width: 980px) {
  .compliance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .controls-grid,
  .processor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__content {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 34px;
  }

  .search {
    width: min(330px, 38vw);
  }
}

@media (max-width: 760px) {
  .topbar__inner {
    width: min(calc(100% - 24px), var(--content));
    min-height: 76px;
  }

  .brand img {
    width: 56px;
    height: 56px;
  }

  .topbar__actions .button {
    display: none;
  }

  .search {
    width: min(290px, 42vw);
  }

  .search input {
    font-size: 0.95rem;
  }

  .hero {
    padding: 38px 0 42px;
  }

  .hero__content {
    grid-template-columns: 1fr;
    width: min(calc(100% - 24px), var(--content));
    gap: 28px;
  }

  .scope-card {
    padding: 21px;
  }

  .section-nav__inner,
  .content-shell,
  .footer__inner {
    width: min(calc(100% - 24px), var(--content));
  }

  .section-nav a {
    padding-right: 17px;
    padding-left: 17px;
  }

  .content-shell {
    margin-top: 16px;
    gap: 16px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
  }

  .section-heading--action {
    grid-template-columns: 1fr auto;
  }

  .compliance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .topbar__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: min(calc(100% - 20px), var(--content));
    min-height: 0;
    gap: 10px 12px;
    padding: 10px 0 12px;
  }

  .topbar__actions {
    display: contents;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    gap: 8px;
  }

  .brand img {
    width: 56px;
    height: 56px;
  }

  .brand__copy strong {
    font-size: 1rem;
  }

  .brand__copy small {
    display: block;
    margin-top: 4px;
    font-size: 0.68rem;
  }

  .search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
  }

  .search input {
    min-height: 48px;
    padding: 11px 44px;
    font-size: 1rem;
  }

  .language-switch {
    grid-column: 2;
    grid-row: 1;
    min-width: 62px;
    min-height: 46px;
    gap: 7px;
    padding: 9px 11px;
    font-size: 0.82rem;
  }

  .language-switch svg {
    width: 19px;
    height: 19px;
  }

  .hero {
    padding: 32px 0 30px;
  }

  .hero__content {
    width: min(calc(100% - 20px), var(--content));
    gap: 22px;
  }

  .eyebrow {
    font-size: 0.8rem;
  }

  .hero h1 {
    margin: 14px 0 13px;
    font-size: clamp(2.35rem, 10.5vw, 2.8rem);
    line-height: 1.08;
  }

  .hero__lead {
    font-size: 1.04rem;
    line-height: 1.72;
  }

  .hero__links {
    display: grid;
    gap: 11px;
    margin-top: 20px;
  }

  .hero__links a {
    min-height: 30px;
    font-size: 0.98rem;
  }

  .scope-card {
    display: none;
    border-radius: 17px;
    padding: 18px;
  }

  .scope-card__label {
    font-size: 0.78rem;
  }

  .scope-card h2 {
    margin-top: 13px;
    font-size: 1.28rem;
  }

  .scope-card p {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .section-nav {
    padding: 8px 0;
  }

  .section-nav__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(calc(100% - 20px), var(--content));
    gap: 6px;
    overflow: visible;
  }

  .section-nav a,
  .section-nav a:first-child,
  html[dir="rtl"] .section-nav a:first-child {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 11px;
    padding: 8px 9px;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .section-nav a.is-active {
    border-color: #ddd7fb;
    background: var(--surface-tint);
  }

  .section-nav a.is-active::after,
  .section-nav a:first-child.is-active::after,
  html[dir="rtl"] .section-nav a:first-child.is-active::after {
    right: 27%;
    bottom: 3px;
    left: 27%;
  }

  .content-shell,
  .footer__inner {
    width: min(calc(100% - 20px), var(--content));
  }

  .content-shell {
    margin-top: 12px;
    gap: 14px;
  }

  .panel {
    border-radius: 20px;
  }

  .section-block {
    padding: 21px 16px;
  }

  .section-heading {
    gap: 9px;
    margin-bottom: 20px;
  }

  .section-heading h2 {
    font-size: 1.85rem;
  }

  .section-heading > p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .section-kicker {
    font-size: 0.78rem;
  }

  .section-heading--action {
    grid-template-columns: 1fr;
  }

  .compliance-grid,
  .controls-grid,
  .processor-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .compliance-card {
    min-height: 132px;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
    border-radius: 18px;
    padding: 18px;
  }

  .framework-mark,
  .framework-mark img {
    width: 84px;
    height: 84px;
  }

  .compliance-card__copy {
    gap: 6px;
  }

  .compliance-card__kind {
    font-size: 0.73rem;
  }

  .compliance-card h3 {
    font-size: 1.28rem;
  }

  .compliance-card__status {
    font-size: 0.9rem;
  }

  .status-check {
    right: -5px;
    bottom: -5px;
    width: 32px;
    height: 32px;
  }

  .control-card {
    min-height: 0;
    border-radius: 18px;
    padding: 20px;
  }

  .control-card__icon {
    width: 44px;
    height: 44px;
  }

  .control-card__icon svg {
    width: 22px;
    height: 22px;
  }

  .control-card h3 {
    font-size: 1.12rem;
  }

  .control-preview {
    margin: 18px 0 19px;
    gap: 11px;
  }

  .control-preview span {
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .control-card__footer {
    font-size: 0.95rem;
  }

  .control-card__footer small {
    font-size: 0.82rem;
  }

  .processor-card {
    min-height: 0;
    gap: 15px;
    border-radius: 18px;
    padding: 20px;
  }

  .processor-mark {
    width: 48px;
    height: 48px;
    font-size: 0.86rem;
  }

  .processor-card h3 {
    font-size: 1.08rem;
  }

  .processor-card p {
    font-size: 0.93rem;
    line-height: 1.58;
  }

  .processor-region {
    font-size: 0.84rem;
  }

  .text-button {
    min-height: 44px;
    font-size: 0.96rem;
  }

  .faq-item summary {
    min-height: 72px;
    padding: 16px 2px;
    font-size: 1.02rem;
    line-height: 1.5;
  }

  .faq-item__answer {
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .drawer {
    width: 100%;
  }

  .drawer__header {
    min-height: 84px;
    padding: 16px;
  }

  .drawer__header h2 {
    font-size: 1.35rem;
  }

  .drawer__body {
    height: calc(100% - 84px);
    padding: 16px;
  }

  .drawer-intro,
  .detail-card p {
    font-size: 0.95rem;
    line-height: 1.68;
  }

  .detail-card__head {
    display: grid;
  }

  .copy-button {
    justify-self: start;
  }

  html[dir="rtl"] .copy-button {
    justify-self: end;
  }
}

@media (max-width: 380px) {
  .topbar__inner,
  .hero__content,
  .section-nav__inner,
  .content-shell,
  .footer__inner {
    width: min(calc(100% - 16px), var(--content));
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .section-block {
    padding: 19px 14px;
  }

  .compliance-card {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .framework-mark,
  .framework-mark img {
    width: 78px;
    height: 78px;
  }

  .compliance-card h3 {
    font-size: 1.18rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
