:root {
  color-scheme: light;
  --bg: #f7f3ef;
  --surface: #ffffff;
  --ink: #1c2024;
  --muted: #5d6672;
  --line: #d8d1ca;
  --brand: #2f6f67;
  --brand-strong: #214e49;
  --accent: #b5654d;
  --shadow: 0 18px 50px rgba(31, 37, 44, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

html[dir="rtl"] body {
  text-align: right;
}

a {
  color: var(--brand-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
}

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

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover {
  color: var(--brand-strong);
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 56px;
}

.hero {
  display: grid;
  gap: 26px;
  padding: 64px 0 40px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 4.85rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

h3 {
  margin: 28px 0 10px;
  font-size: 1.12rem;
}

p {
  margin: 0 0 18px;
}

.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--brand-strong);
}

.content-grid {
  display: grid;
  grid-template-columns: 0.9fr 2.1fr;
  gap: 28px;
  align-items: start;
}

.summary,
.policy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.summary {
  position: sticky;
  top: 20px;
  padding: 22px;
}

.summary h2 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.summary ul,
.policy ul {
  margin: 0;
  padding-left: 20px;
}

html[dir="rtl"] .summary ul,
html[dir="rtl"] .policy ul {
  padding-right: 20px;
  padding-left: 0;
}

.summary li,
.policy li {
  margin: 8px 0;
}

.summary a {
  color: var(--muted);
  text-decoration: none;
}

.summary a:hover {
  color: var(--brand-strong);
}

.policy {
  padding: clamp(26px, 5vw, 54px);
}

.policy section + section {
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.callout {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: #eef6f3;
}

html[dir="rtl"] .callout {
  border-right: 4px solid var(--brand);
  border-left: 0;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card h2 {
  font-size: 1.25rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 36px;
  }

  .content-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .summary {
    position: static;
  }
}
