/* Shared legal pages — Promenade Earnd */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("./offer_index/unbounded-light-english.woff2") format("woff2");
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./offer_index/unbounded-regular-english.woff2") format("woff2");
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./offer_index/unbounded-medium-english.woff2") format("woff2");
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./offer_index/unbounded-bold-english.woff2") format("woff2");
}

:root {
  --bg: #130c2a;
  --text: #ffffff;
  --muted: #8f8cb8;
  --accent: #1877f2;
  --accent-dark: #0d1c63;
  --line: rgba(24, 119, 242, 0.28);
  --glass: rgba(19, 12, 42, 0.72);
  --warn: #ffb347;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Unbounded", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.legal-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 15% 10%, rgba(24, 119, 242, 0.35), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 80%, rgba(13, 28, 99, 0.7), transparent 50%),
    linear-gradient(165deg, #0a0718 0%, #130c2a 45%, #0d1c63 100%);
}

.legal-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./offer_index/hero-bg.jpg");
  background-size: cover;
  background-position: center top;
  opacity: 0.14;
  mix-blend-mode: soft-light;
}

.legal-page {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem;
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: legalIn 0.6s ease both;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.legal-brand__logo {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 8px 24px rgba(24, 119, 242, 0.35);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.legal-back:hover {
  border-color: var(--accent);
  background: rgba(24, 119, 242, 0.15);
  transform: translateY(-1px);
}

.legal-hero {
  margin-bottom: 1.5rem;
  animation: legalIn 0.7s ease 0.08s both;
}

.legal-kicker {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cfe3ff;
  background: rgba(24, 119, 242, 0.18);
  border: 1px solid var(--line);
}

.legal-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.legal-lead {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.legal-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(24, 119, 242, 0.8);
}

.legal-panel {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(18px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 0.4rem;
  animation: legalIn 0.75s ease 0.16s both;
}

.legal-section {
  padding: 1.35rem 1.35rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-section:last-of-type {
  border-bottom: none;
}

.legal-section__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.7rem;
}

.legal-num {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.3);
}

.legal-section h2 {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
}

.legal-section p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 0 0 0.35rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.legal-section li {
  position: relative;
  padding: 0.75rem 0.9rem 0.75rem 2.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-section li::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 1.15rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.2);
}

.legal-risk {
  margin: 0.25rem 0 0.5rem;
  padding: 1.1rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 179, 71, 0.4);
  background:
    linear-gradient(135deg, rgba(255, 179, 71, 0.12), rgba(24, 119, 242, 0.08));
}

.legal-risk strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--warn);
  font-weight: 500;
  font-size: 0.92rem;
}

.legal-risk p {
  color: #e8dfc8;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  animation: legalIn 0.7s ease 0.24s both;
}

.legal-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 14px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.legal-footer a:first-child {
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  box-shadow: 0 10px 28px rgba(24, 119, 242, 0.35);
}

.legal-footer a:first-child:hover {
  transform: translateY(-2px);
}

.legal-footer a:last-child {
  color: #fff;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.legal-footer a:last-child:hover {
  border-color: var(--accent);
  background: rgba(24, 119, 242, 0.12);
}

@keyframes legalIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .legal-page { padding: 1.15rem 1rem 2.5rem; }
  .legal-panel { border-radius: 22px; }
  .legal-section { padding: 1.15rem 1rem 1.05rem; }
  .legal-nav { margin-bottom: 1.4rem; }
}
