:root {
  color-scheme: light;
  --background: #f7f7f4;
  --surface: #ffffff;
  --text: #1f2328;
  --muted: #59636e;
  --border: #d8dee4;
  --accent: #0f6c5c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

.policy {
  width: min(100% - 32px, 820px);
  margin: 40px auto;
  padding: clamp(24px, 5vw, 48px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

h1,
h2 {
  line-height: 1.25;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
  margin: 32px 0 8px;
  font-size: 1.25rem;
}

p {
  margin: 0 0 16px;
}

a {
  color: var(--accent);
}

.policy-rtl {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  direction: rtl;
  text-align: right;
}

.policy-rtl h1,
.policy-rtl h2,
.policy-rtl p {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

@media (max-width: 640px) {
  .policy {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
}
