:root {
  /* Extracted/approximated from the supplied screenshot */
  --bg: #000c1a;
  --bg-deep: #000612;
  --panel: #020d1b;
  --panel-2: #031020;
  --panel-hover: #071426;
  --border: #102039;
  --border-soft: rgba(46, 69, 101, 0.38);
  --text: #f2f4f8;
  --muted: #8d98a9;
  --muted-2: #687487;
  --purple: #8b2cff;
  --purple-bright: #7a1fff;
  --purple-soft: #b25cff;
  --cyan: #3ac7ff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --transition: 0.25s ease;
}

/* ===================== TOKENS ===================== */
:root {
  --bg: #060a16;
  --bg-alt: hsl(225, 56%, 7%);
  --surface: #0d1428;
  --surface-2: #111a33;
  --border: #1b2440;
  --border-soft: #161f38;
  --purple: #6f03ad;
  --purple-2: #9941fd;
  --purple-deep: #6f029b98;
  --cyan: #06c2db;
  --text: #f3f5fb;
  --text-dim: #a6adc4;
  --text-mute: #6b738f;
  --green: #02fa72;
  --font: "Cairo", "Tajawal", sans-serif;
  --neon-green: #00ff88;
  --neon-glow: rgba(0, 255, 136, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 9%, rgba(79, 20, 168, 0.09), transparent 23%),
    var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 13px;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  min-height: 100vh;
  display: flex;
}

/* SIDEBAR */
.sidebar {
  width: 200px;
  min-width: 200px;
  min-height: 100vh;
  position: fixed;
  inset: 0 auto 0 0;
  background: #010918;
  border-right: 1px solid #111e31;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.brand {
  height: 77px;
  padding: 13px 17px;
  border-bottom: 1px solid #111e31;
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border: 2px solid #7424ff;
  border-radius: 8px 11px 11px 8px;
  position: relative;
  display: grid;
  place-items: center;
  box-shadow: 0 0 16px rgba(126, 36, 255, 0.22);
  overflow: hidden;
}

.brand-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 15px;
  right: -1px;
  top: 7px;
  background: var(--bg-deep);
  border-radius: 5px;
}

.brand-d {
  font-size: 20px;
  line-height: 1;
  color: #8f38ff;
  font-weight: 800;
  transform: translateX(-1px);
}

.brand-title {
  font-weight: 650;
  font-size: 14px;
  letter-spacing: -0.2px;
}

.brand-subtitle {
  color: #a0a9b7;
  font-size: 8px;
  margin-top: 2px;
}

.side-nav {
  padding: 12px 8px;
}

.side-link {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 13px;
  color: #aab3c1;
  border-radius: 7px;
  margin: 2px 0;
  transition: var(--transition);
  font-size: 11.5px;
}

.side-link i {
  font-size: 16px;
  width: 17px;
  text-align: center;
  color: #8d96a5;
}

.side-link:hover {
  color: #fff;
  background: rgba(125, 43, 255, 0.08);
}

.side-link:hover i {
  color: #bd7cff;
}

.secure-card {
  margin: auto 13px 13px;
  padding: 13px 10px;
  border: 1px solid #15243a;
  border-radius: 6px;
  background: rgba(4, 14, 29, 0.8);
  display: flex;
  gap: 9px;
}

.secure-icon {
  color: #b0bac8;
  font-size: 15px;
}

.secure-card strong {
  display: block;
  font-size: 9px;
  margin-bottom: 5px;
}

.secure-card p {
  margin: 0;
  color: #6e7b8d;
  font-size: 7px;
  line-height: 1.45;
}

/* MAIN */
.main-area {
  width: calc(100% - 181px);
  margin-left: 181px;
  min-height: 100vh;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}
.btn svg {
  flex-shrink: 0;
}
.btn--primary {
  background: linear-gradient(
    135deg,
    var(--purple) 0%,
    var(--purple-deep) 100%
  );
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(124, 92, 255, 0.65);
  display: inline-flex;
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -6px rgba(124, 92, 255, 0.8);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--purple-2);
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--purple-2);
  background: rgba(124, 92, 255, 0.06);
}
.btn--lg {
  padding: 14px 26px;
  font-size: 15.5px;
}
.btn--block {
  width: 100%;
  margin-top: 18px;
}

/* ===================== HEADER ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 10, 22, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
  padding: 20px 30px;
  direction: ltr !important;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  width: 200px;
}
.brand__logo {
  width: 48px;
  height: 48px;
  border: 2px solid #8d2bdf;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  display: grid;
  place-items: center;
  color: #f8f7f8;
  font-weight: 800;
  font-size: 17px;
  background: rgb(104, 3, 236);
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  justify-content: center;
  direction: rtl !important;
}
.nav__link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.15s ease;
  position: relative;
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}
.nav__link:hover {
  color: var(--text);
}
.nav__link--active {
  color: var(--text);
}
.nav__link--active::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -27px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 4px;
}
.lang-switch .chev {
  opacity: 0.6;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--bg);
  border: none;
  padding: 6px;
  flex-shrink: 0;
}
.burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s ease;
}
.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons duplicated inside the mobile hamburger menu.
   Hidden everywhere by default; only revealed on small screens
   when the mobile nav is open (see the 860px media query). */
.nav__mobile-actions {
  display: none;
}
.nav__mobile-btn-wrap {
  display: block;
  width: 100%;
}

/* ---- جميع الصفحات mega menu ---- */
.nav__pages {
  position: relative;
}
.nav__pages-trigger {
  cursor: pointer;
}
.nav__pages-trigger .chev {
  transition: transform 0.2s ease;
}
.nav__pages.is-open .nav__pages-trigger .chev {
  transform: rotate(180deg);
}
.nav__pages.is-open .nav__pages-trigger {
  color: var(--text);
}
.mega {
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 560px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
  z-index: 60;
}
.nav__pages.is-open .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega__col {
  display: flex;
  flex-direction: column;
}
.mega__title {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-2);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}
.mega__col a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 7px 0;
  transition: color 0.15s ease;
}
.mega__col a:hover {
  color: var(--cyan);
}

.content {
  max-width: 860px;
  margin: 0 auto;
  padding: 18px 0 20px;
}

.breadcrumb-custom {
  height: 27px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b4bdc9;
  font-size: 10px;
  padding-left: 5px;
  margin-bottom: 9px;
}

.breadcrumb-custom i {
  color: #6d7686;
  font-size: 8px;
}

.breadcrumb-custom .current {
  color: #9b3aff;
}

.legal-page {
  border: 1px solid #112139;
  border-radius: 6px;
  background:
    radial-gradient(circle at 86% 7%, rgba(79, 18, 173, 0.07), transparent 22%),
    rgba(1, 11, 24, 0.76);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero {
  height: 106px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 24px;
}

.hero h1 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.5px;
}

.hero p {
  color: #8994a5;
  font-size: 11px;
  line-height: 1.45;
  margin: 0;
}

.legal-art {
  position: absolute;
  right: 31px;
  top: -9px;
  width: 215px;
  height: 116px;
  overflow: hidden;
  opacity: 0.92;
}

.document {
  position: absolute;
  left: 76px;
  top: 5px;
  width: 66px;
  height: 90px;
  border: 2px solid #7629fa;
  border-radius: 6px;
  background: linear-gradient(
    160deg,
    rgba(42, 14, 95, 0.82),
    rgba(5, 9, 31, 0.92)
  );
  box-shadow:
    0 0 13px rgba(117, 29, 255, 0.95),
    0 0 36px rgba(98, 20, 255, 0.38),
    inset 0 0 18px rgba(111, 29, 255, 0.18);
}

.fold {
  position: absolute;
  right: -2px;
  top: -2px;
  width: 23px;
  height: 23px;
  border-left: 2px solid #7629fa;
  border-bottom: 2px solid #7629fa;
  background: #040b1e;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.doc-lines {
  position: absolute;
  top: 29px;
  left: 12px;
  width: 37px;
}

.doc-lines span {
  display: block;
  height: 3px;
  margin-bottom: 6px;
  background: #8034ff;
  box-shadow: 0 0 7px #7e2dff;
  border-radius: 2px;
}

.doc-lines span:nth-child(2) {
  width: 29px;
}
.doc-lines span:nth-child(3) {
  width: 34px;
}

.shield {
  position: absolute;
  bottom: -5px;
  right: -20px;
  width: 37px;
  height: 43px;
  border: 2px solid #7f2cff;
  border-radius: 8px 8px 13px 13px;
  display: grid;
  place-items: center;
  background: #071029;
  color: #a65aff;
  box-shadow: 0 0 16px rgba(132, 39, 255, 0.85);
  clip-path: polygon(50% 0, 94% 18%, 89% 67%, 50% 100%, 11% 67%, 6% 18%);
}

.shield i {
  font-size: 16px;
}

.doc-glow {
  position: absolute;
  width: 105px;
  height: 70px;
  left: 58px;
  top: 18px;
  background: rgba(98, 16, 255, 0.19);
  filter: blur(25px);
}

.orb {
  position: absolute;
  border: 1px solid rgba(106, 35, 255, 0.6);
  border-radius: 50%;
  transform: perspective(100px) rotateX(66deg);
}

.orb-one {
  width: 160px;
  height: 55px;
  left: 27px;
  top: 56px;
  box-shadow: 0 0 17px rgba(111, 24, 255, 0.25);
}
.orb-two {
  width: 118px;
  height: 39px;
  left: 48px;
  top: 65px;
  opacity: 0.7;
}

.legal-tabs {
  height: 42px;
  margin: 0 24px;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #122137;
}

.legal-tab {
  min-width: 145px;
  border: 1px solid #15243a;
  border-bottom: 0;
  background: rgba(2, 10, 22, 0.6);
  color: #a9b1bf;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 7px 7px 0 0;
  margin-right: -1px;
  transition: var(--transition);
}

.legal-tab i {
  font-size: 15px;
}

.legal-tab:hover {
  color: #e9e3ff;
}

.legal-tab.active {
  color: #bc65ff;
  background: #061125;
  border-color: #1a2942;
  box-shadow: inset 0 -2px 0 #922eff;
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

.document-card {
  margin: 12px 24px 13px;
  padding: 15px 18px 11px;
  border: 1px solid #17273d;
  border-radius: 7px;
  background: rgba(2, 12, 26, 0.72);
}

.updated {
  color: #a4adba;
  font-size: 9px;
  margin-bottom: 10px;
}

.updated i {
  color: #9aa4b2;
  margin-right: 6px;
}

.policy-section {
  margin-bottom: 9px;
}

.policy-section h2 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.8;
  color: #f0f2f6;
}

.policy-section p,
.policy-section li {
  color: #a1aab8;
  font-size: 11px;
  line-height: 1.45;
}

.policy-section p {
  margin: 0 0 2px 17px;
}

.policy-section ul {
  margin: 0 0 0 17px;
  padding-left: 12px;
  list-style: none;
}

.policy-section li {
  position: relative;
  margin: 1px 0;
}

.policy-section li::before {
  content: "•";
  color: #a73cff;
  position: absolute;
  left: -11px;
  font-weight: 800;
}

.policy-section b {
  color: #aa5bff;
  font-weight: 500;
}

.contact-row {
  margin-left: 17px;
  border: 1px solid #18283d;
  border-radius: 4px;
  min-height: 35px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.contact-row > div {
  flex: 1;
  height: 35px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  color: #adb6c4;
  font-size: 8.5px;
}

.contact-row > div + div {
  border-left: 1px solid #18283d;
}

.contact-row i {
  font-size: 14px;
  color: #aab3c0;
}

.terms-card {
  margin-top: 12px;
}

/* FOOTER */
.footer {
  position: relative;
  min-height: 142px;
  border-top: 1px solid #9b2fff;
  background: #010a18;
  display: grid;
  grid-template-columns: 1.45fr 1fr 0.95fr 1fr 1.3fr;
  gap: 0;
  padding: 17px 28px 27px;
}

.footer > div:not(.copyright) {
  padding: 0 18px;
  border-right: 1px solid #18243a;
}

.footer > div:first-child {
  padding-left: 0;
}

.footer-brand p {
  color: #8c97a6;
  font-size: 7.5px;
  line-height: 1.5;
  margin: 9px 0 0 33px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo strong {
  display: block;
  font-size: 10px;
}

.footer-logo small {
  display: block;
  color: #929baa;
  font-size: 6.5px;
  margin-top: 2px;
}

.brand-icon.small {
  width: 25px;
  height: 25px;
  border-radius: 6px 8px 8px 6px;
}

.brand-icon.small .brand-d {
  font-size: 15px;
}

.footer-col h3 {
  font-size: 8px;
  margin: 0 0 7px;
  color: #e9edf3;
  font-weight: 650;
}

.footer-col a {
  display: block;
  font-size: 7.5px;
  color: #8792a3;
  margin: 4px 0;
}

.footer-col a:hover {
  color: #bd69ff;
}

.footer-col .purple {
  color: #ad4cff;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 25px;
  height: 25px;
  margin: 0;
  border: 1px solid #202c41;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #a8b1bf;
  font-size: 11px;
}

.socials a:hover {
  color: white;
  border-color: #7f2aff;
}

.copyright {
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  text-align: center;
  color: #697486;
  font-size: 7.5px;
}

.mobile-menu,
.sidebar-overlay {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
  .content {
    max-width: calc(100% - 34px);
  }
  .legal-art {
    right: 10px;
    opacity: 0.7;
  }
}

@media (max-width: 912px) {
  .sidebar {
    transform: translateX(-105%);
    transition: transform 0.3s ease;
    box-shadow: 18px 0 50px rgba(0, 0, 0, 0.45);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-area {
    width: 100%;
    margin-left: 0;
  }

  .mobile-menu {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: transparent;
    color: #c5cbd5;
    border: 1px solid #17243a;
    border-radius: 7px;
    font-size: 21px;
  }

  .sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999;
  }

  .sidebar-overlay.show {
    display: block;
  }

  .topbar {
    padding: 0 13px;
  }
  .top-actions {
    gap: 8px;
  }
  .language-btn span {
    display: none;
  }
  .signin-btn {
    width: 65px;
  }
  .create-btn {
    width: 104px;
  }

  .hero {
    height: 122px;
  }
  .hero p br {
    display: none;
  }
  .legal-art {
    right: -35px;
    opacity: 0.35;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 12px;
  }

  .content {
    max-width: none;
    padding: 13px 10px 18px;
  }

  .breadcrumb-custom {
    padding-left: 2px;
  }

  .legal-page {
    border-radius: 6px;
  }

  .hero {
    padding: 0 16px;
    height: 122px;
  }

  .hero h1 {
    font-size: 21px;
  }
  .hero p {
    max-width: 65%;
  }

  .legal-art {
    right: -75px;
  }

  .legal-tabs {
    margin: 0 13px;
  }

  .legal-tab {
    min-width: 50%;
    font-size: 9px;
  }

  .document-card {
    margin: 10px 13px 12px;
    padding: 13px 12px;
  }

  .policy-section p,
  .policy-section li {
    font-size: 8.5px;
  }

  .contact-row {
    display: block;
  }

  .contact-row > div {
    width: 100%;
  }

  .contact-row > div + div {
    border-left: 0;
    border-top: 1px solid #18283d;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
    padding: 18px 14px 31px;
  }

  .footer > div:not(.copyright) {
    border-right: 0;
    padding: 0 12px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    margin-left: 33px;
  }
}

@media (max-width: 390px) {
  .language-btn {
    display: none;
  }
  .signin-btn {
    width: 60px;
    font-size: 9px;
  }
  .create-btn {
    width: 96px;
    font-size: 9px;
  }
}

/* =====================================================
   CLEAN RESPONSIVE NAVBAR + MOBILE LAYOUT
===================================================== */

@media (max-width: 912px) {
  /* Sidebar */
  .sidebar {
    transform: translateX(-105%);
    transition: transform 0.3s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  /* Main */
  .main-area {
    width: 100%;
    margin-left: 0;
  }

  /* Header */
  .header__inner {
    height: 68px;
    padding: 12px 18px;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;

    gap: 4px;

    padding: 10px;

    background: rgba(6, 10, 22, 0.98);
    border: 1px solid var(--border-soft);
    border-radius: 12px;

    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-8px);

    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;

    z-index: 100;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__link {
    width: 100%;
    min-height: 44px;

    padding: 0 13px;

    border-radius: 8px;

    font-size: 13px;

    justify-content: flex-start;
  }

  .nav__link:hover {
    background: rgba(124, 58, 237, 0.08);
  }

  /* Hide desktop buttons */
  .header__actions {
    display: none;
  }

  /* Burger */
  .burger {
    display: flex;
    margin-left: auto;
    cursor: pointer;
  }

  /* Mobile buttons */
  .nav__mobile-actions {
    display: block;
    width: 100%;
    padding-top: 8px;
    margin-top: 6px;
    border-top: 1px solid var(--border-soft);
  }

  .nav__mobile-btn-wrap {
    width: 100%;
    display: block;
  }

  .nav__mobile-actions .btn {
    width: 100%;
    min-height: 42px;
    font-size: 12px;
  }

  /* Content */
  .content {
    width: 100%;
    max-width: 100%;
    padding: 16px;
  }

  /* Hero */
  .hero {
    min-height: 125px;
    height: auto;
    padding: 22px;
  }

  .hero p br {
    display: none;
  }

  .legal-art {
    right: -25px;
    opacity: 0.3;
  }
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 700px) {
  .content {
    padding: 14px 12px;
  }

  .legal-page {
    border-radius: 7px;
  }

  .hero {
    min-height: 135px;
    padding: 20px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .hero p {
    max-width: 70%;
    font-size: 10px;
  }

  .legal-art {
    right: -70px;
    opacity: 0.22;
  }

  .legal-tabs {
    margin: 0 14px;
  }

  .legal-tab {
    flex: 1;
    min-width: 0;
    font-size: 10px;
  }

  .document-card {
    margin: 11px 14px 13px;
    padding: 14px;
  }

  .contact-row {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-row > div {
    width: 100%;
  }

  .contact-row > div + div {
    border-left: 0;
    border-top: 1px solid #18283d;
  }

  /* Footer */
  .footer {
    grid-template-columns: 1fr 1fr;
    gap: 22px 0;
    padding: 20px 16px 34px;
  }

  .footer > div:not(.copyright) {
    border-right: 0;
    padding: 0 12px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 800px) {
  .header__inner {
    padding: 11px 14px;
  }

  .content {
    padding: 12px 9px 18px;
  }

  .breadcrumb-custom {
    padding-left: 2px;
    margin-bottom: 7px;
  }

  .hero {
    min-height: 145px;
    padding: 18px 15px;
  }

  .hero h1 {
    font-size: 20px;
  }

  .hero p {
    max-width: 72%;
    font-size: 9.5px;
  }

  .legal-art {
    right: -95px;
    opacity: 0.16;
  }

  .legal-tabs {
    margin: 0 10px;
    height: 42px;
  }

  .legal-tab {
    font-size: 9px;
    gap: 6px;
  }

  .legal-tab i {
    font-size: 13px;
  }

  .document-card {
    margin: 9px 10px 11px;
    padding: 12px 11px;
  }

  .updated {
    font-size: 8.5px;
  }

  .policy-section {
    margin-bottom: 11px;
  }

  .policy-section h2 {
    font-size: 12.5px;
  }

  .policy-section p,
  .policy-section li {
    font-size: 9.5px;
    line-height: 1.55;
  }

  .policy-section p {
    margin-left: 10px;
  }

  .policy-section ul {
    margin-left: 10px;
  }

  .contact-row {
    margin-left: 10px;
  }

  .contact-row > div {
    min-height: 38px;
    height: auto;
    padding: 8px 10px;
    font-size: 8.5px;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 14px 35px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer > div:not(.copyright) {
    padding: 0 8px;
  }

  .footer-brand p {
    margin-left: 0;
  }

  .copyright {
    position: static;
    margin-top: 4px;
  }
}
