:root {
  --green: #1b4332;
  --gold: #8b6914;
  --parchment: #faf6eb;
  --ink: #292315;
  --muted: #5c5546;
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: system-ui, "Segoe UI", Roboto, "Noto Sans", "Noto Naskh Arabic", "Amiri", sans-serif;
  line-height: 1.65;
  overflow-wrap: break-word;
}
a { color: var(--green); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.top {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  background: var(--green); color: #fff;
}
.top a { color: #fff; }
.top a:focus-visible { outline-color: #fff; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.2rem; text-decoration: none; min-height: 44px; }
.brand img { border-radius: 8px; }
.langs { font-size: 0.95rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem; }
.langs a, .langs strong {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.35rem 0.5rem;
  color: #fff; text-decoration: none;
}
.langs a { text-decoration: underline; }
.preview-banner {
  background: #b91c1c; color: #fff; padding: 0.6rem 1rem; text-align: center;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.03em;
}
main { max-width: 56rem; margin: 0 auto; padding: 2rem clamp(0.5rem, 3vw, 2rem) 3rem; }
.back { margin: 0 0 1.5rem; }
.back a {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0.35rem 0;
  font-weight: 500; text-decoration: none;
}
.back a:hover, .back a:focus { text-decoration: underline; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 0 0 0.4rem; color: var(--green); }
h2 { margin: 2rem 0 0.4rem; color: var(--green); }
.tagline { font-size: 1.25rem; color: var(--gold); margin: 0 0 1rem; font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem clamp(0.75rem, 3vw, 1.2rem); border-radius: 999px; text-decoration: none; font-weight: 600;
  background: var(--green); color: #fff; border: 2px solid var(--green); min-height: 44px;
  max-width: 100%; white-space: normal; text-align: center;
}
.btn.alt { background: transparent; color: var(--green); }
.btn.off { background: transparent; color: var(--muted); border-color: var(--muted); border-style: dashed; }
.shot { width: 100%; height: auto; border-radius: 12px; border: 1px solid #d8cfb5; margin-top: 1rem; }
.features { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.features li { background: #fff; border: 1px solid #e4dcc3; border-radius: 12px; padding: 1rem clamp(0.6rem, 3vw, 1.2rem); }
.features h3 { margin: 0 0 0.3rem; color: var(--green); font-size: 1.05rem; }
.features p { margin: 0; color: var(--muted); }
.credits { padding-inline-start: 1.2rem; }
.credits li { margin-bottom: 0.7rem; }
footer { text-align: center; padding: 2rem clamp(0.5rem, 3vw, 1rem) 3rem; color: var(--muted); border-top: 1px solid #e4dcc3; }
footer nav {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0.25rem 0.5rem;
}
footer nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.35rem clamp(0.3rem, 2vw, 0.6rem);
}
footer p { margin: 0.4rem 0 0; }
