@font-face {
  font-family: "Peyda";
  src: url("../fonts/PeydaFaNumWeb-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --p: #0076ca;
  --p2: #2ea8ff;
  --t: #00d4b8;
  --t2: #4fe8d0;
  --grad: linear-gradient(120deg, var(--p2), var(--p));
  --grad2: linear-gradient(120deg, var(--p), var(--t));
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #05070a;
  --bg2: #080c12;
  --card: rgba(255, 255, 255, 0.055);
  --card2: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.1);
  --border2: rgba(255, 255, 255, 0.17);
  --text: #eaf0f7;
  --muted: #93a3b6;
  --muted2: #6b7a8e;
  --nav: rgba(7, 10, 15, 0.68);
  --nav2: rgba(9, 13, 19, 0.94);
  --grid: rgba(255, 255, 255, 0.04);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.65);
  --glow: 0 12px 42px -10px rgba(0, 150, 255, 0.42);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f8fc;
  --bg2: #ffffff;
  --card: rgba(255, 255, 255, 0.78);
  --card2: #ffffff;
  --border: rgba(8, 20, 40, 0.1);
  --border2: rgba(8, 20, 40, 0.18);
  --text: #0c1626;
  --muted: #5a6b84;
  --muted2: #8292a8;
  --nav: rgba(255, 255, 255, 0.72);
  --nav2: rgba(255, 255, 255, 0.96);
  --grid: rgba(10, 30, 60, 0.05);
  --shadow: 0 24px 50px -28px rgba(20, 40, 80, 0.28);
  --glow: 0 12px 34px -10px rgba(0, 118, 202, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Peyda",
    system-ui,
    -apple-system,
    "Segoe UI",
    Tahoma,
    sans-serif;
  line-height: 2;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(0, 212, 184, 0.28);
  color: #fff;
}

[data-theme="light"] ::selection {
  background: rgba(0, 118, 202, 0.2);
  color: #0c1626;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid rgba(0, 212, 184, 0.8);
  outline-offset: 3px;
  border-radius: 8px;
}

.mono {
  direction: ltr;
  font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  unicode-bidi: isolate;
}

.container {
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
}

.bgfx,
.gridfx {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.bgfx {
  z-index: -3;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}

.orb1 {
  top: -170px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: rgba(0, 118, 202, 0.29);
}

.orb2 {
  bottom: -160px;
  left: -130px;
  width: 500px;
  height: 500px;
  background: rgba(0, 212, 184, 0.14);
}

.orb3 {
  top: 42%;
  left: 32%;
  width: 360px;
  height: 360px;
  background: rgba(46, 140, 255, 0.12);
}

[data-theme="light"] .orb1 {
  background: rgba(0, 118, 202, 0.14);
}

[data-theme="light"] .orb2 {
  background: rgba(0, 212, 184, 0.1);
}

[data-theme="light"] .orb3 {
  background: rgba(46, 140, 255, 0.08);
}

.gridfx {
  z-index: -2;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(
    ellipse 90% 66% at 50% 0%,
    #000 20%,
    transparent 78%
  );
  mask-image: radial-gradient(
    ellipse 90% 66% at 50% 0%,
    #000 20%,
    transparent 78%
  );
}

.skip {
  position: fixed;
  top: -60px;
  right: 16px;
  z-index: 2000;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--p);
  color: #fff;
  transition: top 0.3s;
}

.skip:focus {
  top: 14px;
}

.ic {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  flex: none;
}

.ic-sm {
  width: 17px;
  height: 17px;
}

.nav {
  position: fixed;
  top: 14px;
  inset-inline: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--nav);
  box-shadow: 0 10px 34px -26px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.lmark {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  object-fit: cover;
  filter: drop-shadow(0 4px 14px rgba(0, 140, 255, 0.45));
}

.ltext {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.ltext b {
  font-size: 1.05rem;
  font-weight: 800;
}

.ltext .len {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.34em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 9px 13px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    color 0.3s,
    background-color 0.3s;
}

.nav-links a:hover,
.nav-links a.current {
  background: var(--card);
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.icon-btn {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--card);
  cursor: pointer;
  transition:
    transform 0.3s,
    border-color 0.3s,
    background-color 0.45s;
}

.icon-btn:hover {
  border-color: rgba(46, 168, 255, 0.52);
  transform: translateY(-2px);
}

.icon-btn svg {
  position: absolute;
  transition:
    transform 0.45s var(--ease),
    opacity 0.3s;
}

[data-theme="dark"] .ic-sun,
[data-theme="light"] .ic-moon {
  opacity: 0;
  transform: scale(0.45) rotate(110deg);
}

.nav-cta,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 13px;
  font-weight: 700;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s,
    border-color 0.35s;
}

.nav-cta {
  padding: 0.62rem 1.25rem;
  background: linear-gradient(135deg, #1ea0ff, var(--p) 70%);
  box-shadow:
    var(--glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.88rem;
}

.nav-cta:hover,
.back-link:hover {
  transform: translateY(-3px);
}

.nav-cta:hover {
  box-shadow:
    0 18px 50px -10px rgba(0, 144, 245, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.page-shell {
  padding: 148px 0 88px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 38px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: var(--card);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--t);
  box-shadow: 0 0 0 7px rgba(0, 212, 184, 0.1);
}

.page-hero h1 {
  max-width: 800px;
  margin: 22px 0 14px;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -0.035em;
}

.gradient-text {
  background: linear-gradient(115deg, var(--p2) 10%, var(--t) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero p {
  max-width: 730px;
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-note {
  padding: 22px;
  border: 1px solid rgba(0, 212, 184, 0.25);
  border-radius: 22px;
  background: linear-gradient(
    145deg,
    rgba(0, 118, 202, 0.13),
    rgba(0, 212, 184, 0.08)
  );
  box-shadow: var(--glow);
}

.hero-note .note-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  place-items: center;
  border: 1px solid rgba(46, 168, 255, 0.28);
  border-radius: 15px;
  background: rgba(0, 118, 202, 0.16);
  color: var(--p2);
}

.hero-note b {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.hero-note span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.85;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 30px;
  color: var(--muted2);
  font-size: 0.82rem;
}

.page-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.page-meta .ic {
  width: 16px;
  height: 16px;
  color: var(--t);
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 282px;
  gap: 24px;
  align-items: start;
}

.policy-card,
.side-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.policy-card {
  padding: clamp(24px, 4vw, 48px);
}

.policy-card > section {
  scroll-margin-top: 118px;
}

.policy-card > section + section {
  margin-top: 38px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.policy-card h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 1.32rem;
  font-weight: 850;
  line-height: 1.6;
}

.policy-card h2::before {
  content: "";
  width: 5px;
  min-width: 5px;
  height: 30px;
  border-radius: 99px;
  background: var(--grad2);
  box-shadow: 0 0 18px rgba(0, 212, 184, 0.35);
}

.policy-card p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 0.97rem;
}

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

.policy-card ul,
.policy-card ol {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0 22px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.policy-card ul {
  list-style: none;
}

.policy-card ul li {
  position: relative;
}

.policy-card ul li::before {
  position: absolute;
  top: 0.82em;
  right: -18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--t);
  box-shadow: 0 0 0 4px rgba(0, 212, 184, 0.1);
  content: "";
}

.policy-card ol {
  padding-right: 28px;
}

.policy-card li::marker {
  color: var(--p2);
  font-weight: 800;
}

.policy-card strong {
  color: var(--text);
  font-weight: 800;
}

.policy-card a:not(.btn) {
  color: var(--p2);
  text-decoration: underline;
  text-decoration-color: rgba(46, 168, 255, 0.3);
  text-underline-offset: 4px;
}

.callout {
  position: relative;
  margin: 20px 0 0;
  padding: 18px 20px 18px 18px;
  border: 1px solid rgba(0, 212, 184, 0.32);
  border-radius: 17px;
  background: linear-gradient(
    125deg,
    rgba(0, 212, 184, 0.1),
    rgba(0, 118, 202, 0.08)
  );
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 700;
}

.callout::before {
  position: absolute;
  top: 13px;
  right: 0;
  bottom: 13px;
  width: 4px;
  border-radius: 99px;
  background: var(--grad2);
  content: "";
}

.callout span {
  color: var(--t2);
}

.side-stack {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 16px;
}

.side-card {
  padding: 21px;
}

.side-card h3 {
  margin: 0 0 13px;
  font-size: 0.98rem;
  font-weight: 850;
}

.side-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.95;
}

.toc {
  display: grid;
  gap: 5px;
}

.toc a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  transition:
    color 0.3s,
    background-color 0.3s,
    transform 0.3s;
}

.toc a::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--p2);
  content: "";
}

.toc a:hover {
  background: var(--card2);
  color: var(--text);
  transform: translateX(-3px);
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(46, 168, 255, 0.55);
  border-radius: 14px;
  background: rgba(0, 118, 202, 0.16);
  color: var(--text);
  font-size: 0.82rem;
  direction: ltr;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s,
    border-color 0.3s;
}

.contact-email:hover {
  border-color: var(--p2);
  background: rgba(0, 118, 202, 0.25);
  transform: translateY(-2px);
}

.contact-email .ic {
  color: var(--p2);
}

.contact-email span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow-wrap: anywhere;
}

.contact-email b {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-size: 0.86rem;
  direction: rtl;
}

.back-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.back-link {
  padding: 0.82rem 1.25rem;
  border: 1px solid rgba(46, 168, 255, 0.5);
  background: var(--card2);
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: none;
}

.policy-card a.back-link {
  color: var(--text);
  text-decoration: none;
}

.policy-card a.back-link.primary {
  border-color: #63bfff;
  background: #0076ca;
  color: #fff;
  box-shadow: var(--glow);
}

.policy-card a.back-link.primary:hover {
  border-color: #9dd7ff;
  background: #0787e2;
  color: #fff;
  box-shadow: 0 18px 50px -12px rgba(0, 144, 245, 0.55);
}

.site-footer {
  padding: 58px 0 30px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(0, 118, 202, 0.05));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 0.9fr;
  gap: 42px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  object-fit: cover;
  filter: drop-shadow(0 4px 14px rgba(0, 140, 255, 0.38));
}

.footer-logo span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.footer-logo b {
  font-size: 1rem;
}

.footer-logo small {
  color: var(--muted2);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.footer-about p {
  max-width: 310px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-socials a {
  padding: 7px 12px;
  border: 1px solid var(--border2);
  border-radius: 10px;
  background: var(--card);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  transition:
    color 0.3s,
    border-color 0.3s,
    transform 0.3s;
}

.footer-socials a:hover {
  border-color: rgba(46, 168, 255, 0.55);
  color: var(--text);
  transform: translateY(-2px);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-column h3 {
  margin: 0 0 7px;
  color: var(--muted2);
  font-size: 0.82rem;
  font-weight: 800;
}

.footer-column a {
  color: var(--muted);
  font-size: 0.86rem;
  transition:
    color 0.3s,
    transform 0.3s;
}

.footer-column a:hover,
.footer-column a.current {
  color: var(--p2);
  transform: translateX(-3px);
}

.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.trust-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.trust-note .ic {
  color: var(--t);
}

.seals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.seal {
  display: grid;
  width: 112px;
  height: 126px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed var(--border2);
  border-radius: 17px;
  background: var(--card);
  transition:
    transform 0.35s var(--ease),
    border-color 0.3s,
    box-shadow 0.3s;
}

.seal:hover {
  border-color: rgba(0, 212, 184, 0.6);
  border-style: solid;
  box-shadow: var(--glow);
  transform: translateY(-4px);
}

.seal a {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 9px;
}

.seal img {
  max-width: 92px;
  max-height: 106px;
  object-fit: contain;
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted2);
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .nav-links a {
    padding-inline: 9px;
    font-size: 0.82rem;
  }

  .page-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-note {
    max-width: 560px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }

  .side-stack {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.25fr 0.75fr 0.9fr;
    gap: 26px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1180px, calc(100% - 32px));
  }

  .nav-inner {
    padding: 9px 14px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    padding-inline: 1rem;
    font-size: 0.82rem;
  }

  .page-shell {
    padding-top: 126px;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .page-hero p {
    font-size: 0.96rem;
  }

  .policy-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .policy-card > section + section {
    margin-top: 31px;
    padding-top: 29px;
  }

  .policy-card h2 {
    font-size: 1.16rem;
  }

  .policy-card p,
  .policy-card ul,
  .policy-card ol {
    font-size: 0.9rem;
  }

  .side-stack {
    grid-template-columns: 1fr;
  }

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

  .footer-about {
    grid-column: 1 / -1;
  }

  .trust {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(1180px, calc(100% - 24px));
  }

  .lmark {
    width: 43px;
    height: 43px;
    border-radius: 14px;
  }

  .ltext .len {
    display: none;
  }

  .icon-btn {
    width: 39px;
    height: 39px;
    border-radius: 12px;
  }

  .nav-cta {
    display: none;
  }

  .page-shell {
    padding-top: 112px;
  }

  .page-meta {
    gap: 7px 13px;
    font-size: 0.76rem;
  }

  .callout {
    padding: 15px 17px 15px 14px;
    font-size: 0.88rem;
  }

  .back-row,
  .back-link {
    width: 100%;
  }

  .site-footer {
    padding-top: 44px;
  }

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

  .footer-about {
    grid-column: auto;
  }

  .seals {
    width: 100%;
    justify-content: center;
  }

  .seal {
    width: 96px;
    height: 112px;
  }

  .seal img {
    max-width: 80px;
    max-height: 92px;
  }

  .footer-copy {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.nav-cta.login-btn{display:inline-flex !important;white-space:nowrap}
@media (max-width:520px){.nav-cta.login-btn{padding:.5rem .85rem;font-size:.78rem;max-width:44vw;overflow:hidden;text-overflow:ellipsis}}
