/* OBEER GO — brand legal pages (matches mobile app tokens) */
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap");

:root {
  --gold: #ffcc00;
  --gold-50: #fff9e5;
  --gold-100: #fff2bf;
  --gold-200: #ffe57f;
  --gold-700: #d8ad00;
  --gold-900: #8c7000;
  --gold-deep: #745b00;
  --gold-on-btn: #241a00;
  --black: #0a0a0a;
  --white: #ffffff;
  --surface: #fcfaf8;
  --surface-card: #f6f3f2;
  --ink: #1c1b1b;
  --ink-soft: #4e4632;
  --muted: #5e5e5e;
  --border: #d2c5ab;
  --danger: #ba1a1a;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(36, 26, 0, 0.05);
  --shadow-md: 0 8px 28px rgba(36, 26, 0, 0.08);
  --max: 820px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--surface);
  color: var(--ink);
  font-family: "Cairo", system-ui, -apple-system, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold-deep);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--gold-900);
}

img {
  display: block;
  max-width: 100%;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(210, 197, 171, 0.45);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand__logo {
  height: 40px;
  width: auto;
}

.brand__badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-900);
  background: var(--gold-100);
  border: 1px solid var(--gold-200);
  padding: 4px 10px;
  border-radius: 999px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.site-nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--gold-50);
  color: var(--gold-deep);
}

/* ── Layout ─────────────────────────────────────────────────────────────── */
.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 72px;
}

.hero {
  margin: 28px 0 24px;
  padding: 28px 28px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold-50) 0%, var(--white) 55%, var(--surface-card) 100%);
  border: 1px solid rgba(210, 197, 171, 0.55);
  box-shadow: var(--shadow-sm);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-900);
  background: var(--gold-100);
  border: 1px solid var(--gold-200);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(1.55rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--gold-deep);
  line-height: 1.25;
  margin-bottom: 10px;
}

.hero p {
  color: var(--ink-soft);
  font-size: 15.5px;
  max-width: 62ch;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

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

.meta strong {
  color: var(--ink);
  font-weight: 700;
}

/* ── Cards & content ────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid rgba(210, 197, 171, 0.55);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.card--accent {
  background: var(--gold-50);
  border-color: var(--gold-200);
}

.card--danger {
  background: #fff8f7;
  border-color: rgba(186, 26, 26, 0.2);
}

.section {
  margin-bottom: 28px;
}

.section h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-deep);
  margin-bottom: 10px;
  line-height: 1.3;
}

.section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 22px 0 8px;
}

.section p,
.section li {
  color: var(--ink-soft);
  font-size: 15.5px;
}

.section ul,
.section ol {
  padding-inline-start: 22px;
  margin: 8px 0 14px;
}

.section li + li {
  margin-top: 6px;
}

.section strong {
  color: var(--ink);
  font-weight: 700;
}

.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--gold-900);
  background: var(--gold-100);
  border: 1px solid var(--gold-200);
  margin-bottom: 12px;
}

.lang-divider {
  margin: 44px 0 32px;
  border: 0;
  height: 1px;
  background: linear-gradient(
    to left,
    transparent,
    var(--border) 15%,
    var(--border) 85%,
    transparent
  );
  position: relative;
}

.lang-divider::after {
  content: "EN";
  position: absolute;
  inset-inline-start: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0 12px;
}

[dir="rtl"] .lang-divider::after {
  content: "EN";
}

/* ── Home link grid ───────────────────────────────────────────────────────── */
.link-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 18px;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(210, 197, 171, 0.55);
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-200);
  color: inherit;
}

.link-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-100);
  color: var(--gold-deep);
  font-size: 18px;
  font-weight: 800;
}

.link-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold-deep);
  margin: 0;
}

.link-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.link-card__cta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-900);
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: none;
  background: var(--gold);
  color: var(--gold-on-btn) !important;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 204, 0, 0.22);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  background: var(--gold-700);
  color: var(--gold-on-btn) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(216, 173, 0, 0.28);
}

.btn--outline {
  background: transparent;
  color: var(--gold-deep) !important;
  border: 1.5px solid var(--border);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--gold-50);
  border-color: var(--gold-200);
  color: var(--gold-deep) !important;
  box-shadow: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* ── Steps list (delete account) ─────────────────────────────────────────── */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 16px 14px 52px;
  margin-bottom: 10px;
  background: var(--surface-card);
  border: 1px solid rgba(210, 197, 171, 0.45);
  border-radius: var(--radius);
  color: var(--ink-soft);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--gold-on-btn);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: 48px;
  padding: 28px 20px 36px;
  background: var(--black);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer .brand__logo {
  height: 34px;
}

.site-footer a {
  color: var(--gold);
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--gold-200);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13.5px;
}

.site-footer__copy {
  width: 100%;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .site-header__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    justify-content: center;
  }

  .hero {
    padding: 22px 20px;
  }

  .card {
    padding: 20px 18px;
  }

  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .site-footer__links {
    justify-content: center;
  }
}
