:root {
  --ink: #14241f;
  --muted: #5d6e68;
  --green: #155e4b;
  --green-dark: #0d4033;
  --gold: #d89c34;
  --cream: #fffaf0;
  --line: #dce8e3;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(216, 156, 52, .14), transparent 30rem),
    linear-gradient(135deg, #fffdf8 0%, #eef7f3 100%);
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.7;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: .28;
  background-image:
    linear-gradient(rgba(21, 94, 75, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 94, 75, .06) 1px, transparent 1px);
  background-size: 32px 32px;
}

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

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 24px auto 72px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 14px;
}

.nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 72px);
  border-radius: 30px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  box-shadow: 0 28px 70px rgba(13, 64, 51, .18);
}

.hero::after {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  content: "";
  background: rgba(240, 190, 94, .20);
}

.eyebrow {
  margin: 0 0 8px;
  color: #f2cf88;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.05;
}

.hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
}

.updated {
  display: inline-flex;
  margin-top: 24px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: rgba(255, 255, 255, .9);
  font-size: 12px;
}

.notice {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid #ead5a6;
  border-left: 5px solid var(--gold);
  border-radius: 14px;
  background: var(--cream);
}

.notice strong { color: var(--green-dark); }

.languages {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.document {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 50px rgba(18, 55, 45, .08);
}

.document[dir="rtl"] {
  font-family: Tahoma, "Segoe UI", sans-serif;
}

.document h2 {
  margin: 0 0 22px;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.document[dir="rtl"] h2 { font-family: Tahoma, sans-serif; }

.document h3 {
  margin: 30px 0 8px;
  color: var(--green);
  font-size: 17px;
}

.document p, .document li { color: #42534d; font-size: 14px; }

.document ul { padding-left: 22px; }
.document[dir="rtl"] ul { padding-right: 22px; padding-left: 0; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 13px;
}

.data-table th, .data-table td {
  padding: 10px;
  border: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}

.data-table th { color: var(--green-dark); background: #f1f8f5; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 10px 0;
  padding: 10px 18px;
  border-radius: 13px;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(21, 94, 75, .2);
}

.checklist {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7fbf9;
}

footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 820px) {
  .languages { grid-template-columns: 1fr; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .nav { justify-content: flex-start; }
  .hero { border-radius: 22px; }
}

@media print {
  body { background: white; }
  body::before, .topbar, .hero::after { display: none; }
  .shell { width: 100%; margin: 0; }
  .hero, .document { box-shadow: none; }
}
