
:root {
  --blue: #2867a4;
  --dark: #193b60;
  --green: #42ad63;
  --light: #f2f7fb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  font-family: 'Heebo', sans-serif;
  line-height: 1.9;
  color: #344b60;
  background: var(--light);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.legal-header {
  padding: 20px 7%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 3px 18px rgba(25,59,96,.06);
}

.brand {
  font-size: 24px;
  color: var(--blue);
  font-weight: 800;
}

.back-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
}

.back-link:hover,
.inline-link:hover {
  text-decoration: underline;
}

.legal-container {
  width: min(900px, 90%);
  margin: 65px auto;
  background: white;
  border-radius: 22px;
  padding: clamp(25px, 5vw, 65px);
  box-shadow: 0 8px 35px rgba(25,59,96,.06);
}

.eyebrow {
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
}

h1 {
  color: var(--dark);
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.4;
  margin: 8px 0 20px;
}

.intro {
  font-size: 18px;
  color: #5b7084;
  border-right: 4px solid var(--green);
  padding-right: 20px;
  margin-bottom: 40px;
}

section {
  margin-top: 35px;
  border-top: 1px solid #e7edf2;
  padding-top: 22px;
}

section h2 {
  color: var(--dark);
  font-size: 22px;
  margin-bottom: 10px;
}

section p {
  font-size: 16px;
}

.inline-link {
  color: var(--blue);
  font-weight: 700;
}

.legal-footer {
  background: #102b46;
  color: #d4e1ed;
  text-align: center;
  padding: 28px 15px;
  font-size: 14px;
}

.legal-footer a {
  color: #8ee0aa;
  font-weight: 800;
}

@media (max-width: 600px) {
  .legal-header {
    padding: 18px 5%;
  }

  .brand {
    font-size: 21px;
  }

  .legal-container {
    margin: 30px auto;
  }
}
