/* Palette taken from the brand mark: deep green ground, gold as the only accent. */
:root {
  --bg: #0b1410;
  --card: #111e18;
  --line: #22382c;
  --text: #e9f1ea;
  --muted: #94a89b;
  --acc: #d8b45a;
  --acc-ink: #10281c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.65 system-ui, "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background: var(--bg);
  /* the burst behind the logo, echoed once at the top of the page */
  background-image: radial-gradient(1100px 520px at 50% -140px, #17301f 0%, transparent 70%);
  background-repeat: no-repeat;
}
body[dir="rtl"] { font-family: "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif; }
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 20, 16, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; }
.logo { width: 36px; height: 36px; border-radius: 50%; display: block; }
.links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.links a { color: var(--muted); }
.links a:hover { color: var(--text); text-decoration: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 10px; font-weight: 600;
  background: var(--acc); color: var(--acc-ink); border: 0; white-space: nowrap;
}
.btn:hover { text-decoration: none; filter: brightness(1.07); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--acc); }
.hero { padding: 76px 0 44px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; margin: 0 0 18px; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 680px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
/* answers are read one after another, so they get rows rather than columns */
.stack { display: grid; gap: 12px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; }
section { padding: 48px 0; }
h2 { font-size: 1.8rem; margin: 0 0 22px; }
.price { font-size: 2rem; font-weight: 700; color: var(--acc); margin: 0 0 4px; }
.muted { color: var(--muted); }
.closing {
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.closing h2 { margin-bottom: 12px; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }
.legal { max-width: 760px; padding: 32px 0 8px; }
.legal h1 { margin-top: 0; }
.legal p { color: var(--muted); }
ol, ul { color: var(--muted); padding-inline-start: 22px; }
li { margin: 6px 0; }
pre, code { font-family: ui-monospace, Consolas, monospace; }
code { color: var(--acc); font-size: .95em; }
pre {
  background: #08100c; border: 1px solid var(--line);
  border-radius: 12px; padding: 16px; overflow-x: auto;
  color: var(--text); font-size: .9rem; line-height: 1.6;
}
pre code { color: inherit; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: start; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--acc); font-size: .85rem; letter-spacing: .04em; white-space: nowrap; }
td { color: var(--muted); }
td code { color: var(--text); }
@media (max-width: 760px) {
  .links { display: none; }
  .hero { padding: 48px 0 32px; }
  table, pre { font-size: .85rem; }
}
