:root {
  --ink: #fff;
  --ink-soft: rgba(255, 255, 255, 0.65);
  --muted: rgba(255, 255, 255, 0.55);
  --paper: #23262d;
  --paper-deep: #1a1c22;
  --accent: #ec3737;
  --accent-deep: #d43030;
  --electric: #fec107;
  --line: rgba(255, 255, 255, 0.1);
  --warn: #fec107;
  --warn-bg: rgba(254, 193, 7, 0.08);
  --shadow: none;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Cairo", "Roboto", sans-serif;
  color: var(--ink);
  background: #23262d;
  line-height: 1.75;
}

body[data-lang="en"] {
  font-family: "Montserrat", "Roboto", sans-serif;
}

body[data-lang="en"] .brand-name,
body[data-lang="en"] .policy-title,
body[data-lang="en"] .pay-title {
  font-family: "Montserrat", "Roboto", sans-serif;
}

.wrap {
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-mark {
  width: 2.5rem;
  height: 3px;
  background: var(--accent);
  border-radius: 0;
  margin-bottom: 0.55rem;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-sub {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  background: #1a1c22;
  border-radius: 999px;
  padding: 0.2rem;
  gap: 0.15rem;
}

.lang-switch button {
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.lang-switch button:hover {
  color: var(--ink);
}

.lang-switch button.active {
  background: var(--accent);
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a.current {
  color: #fff;
  border-bottom-color: var(--accent);
}

.sheet {
  background: #1a1c22;
  border: 1px solid var(--line);
  box-shadow: none;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  position: relative;
  border-radius: 4px;
}

.sheet::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 4px;
  background: var(--accent);
}

.policy-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.policy-title {
  font-size: clamp(1.85rem, 5vw, 2.45rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.policy-lead {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.articles {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1.1rem;
  align-items: start;
}

.num {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(236, 55, 55, 0.12);
  border: 1px solid rgba(236, 55, 55, 0.3);
  margin-top: 0.15rem;
  border-radius: 4px;
}

.article h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.article p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.article.highlight .num {
  background: rgba(254, 193, 7, 0.12);
  border-color: rgba(254, 193, 7, 0.35);
  color: var(--warn);
}

.article.highlight h2 {
  color: var(--warn);
}

.deposit {
  display: inline-block;
  font-weight: 800;
  color: var(--electric);
  background: rgba(254, 193, 7, 0.12);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
  padding: 0.7rem 1.15rem;
  background: #128c7e;
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid #128c7e;
  transition: background 0.2s, border-color 0.2s;
}

.wa-btn:hover {
  background: #0e7a6e;
  border-color: #0e7a6e;
}

.wa-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.pay-box {
  margin-top: 2.25rem;
  padding: 1.35rem 1.25rem 1.4rem;
  background: var(--warn-bg);
  border: 1px solid rgba(254, 193, 7, 0.35);
  border-inline-start: 4px solid var(--warn);
  border-radius: 4px;
}

.pay-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warn);
  margin-bottom: 0.4rem;
}

.pay-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1rem;
}

.pay-rows {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pay-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding-bottom: 0.7rem;
  border-bottom: 1px dashed rgba(254, 193, 7, 0.25);
}

.pay-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.pay-key {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.pay-val {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  text-align: end;
  word-break: break-word;
}

.pay-val.mono {
  font-family: "Roboto", ui-monospace, monospace;
  letter-spacing: 0.06em;
  color: var(--electric);
  background: rgba(254, 193, 7, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.pay-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--warn);
  font-weight: 600;
  line-height: 1.6;
}

.copy-btn {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  margin-inline-start: 0.4rem;
  vertical-align: middle;
  transition: background 0.15s, border-color 0.15s;
}

.copy-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer-note {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.lang-panel[hidden] {
  display: none !important;
}

@media (max-width: 520px) {
  .wrap {
    width: min(100%, calc(100% - 1.25rem));
    padding-top: 1.5rem;
  }

  .sheet {
    padding: 1.4rem 1.2rem 1.6rem;
  }

  .article {
    gap: 0.7rem 0.85rem;
  }

  .num {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.72rem;
  }

  .pay-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .pay-val {
    text-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before {
    animation: none !important;
    transition: none !important;
  }
}
