
:root {
  --bg: hsl(222 47% 11%);
  --fg: hsl(210 40% 98%);
  --muted: hsl(215 20% 65%);
  --border: hsl(217 33% 17%);
  --secondary: hsl(217 33% 17%);
  --primary: hsl(160 84% 39%);
  --primary-fg: hsl(210 40% 98%);
  --danger: hsl(0 91% 71%);
  --radius: 1rem;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--fg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", Tahoma, sans-serif;
  line-height: 1.5; position: relative; overflow-x: hidden;
  display: flex; flex-direction: column;
}
.glow { position: fixed; inset: 0; pointer-events: none; opacity: .2; z-index: 0; }
.glow::before, .glow::after { content: ""; position: absolute; width: 24rem; height: 24rem; border-radius: 50%; filter: blur(100px); }
.glow::before { top: -10%; left: -10%; background: var(--primary); }
.glow::after { bottom: -10%; right: -10%; background: hsl(221 83% 53%); }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--fg); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 2px;
}
.top, .wrap, .foot { position: relative; z-index: 1; width: 100%; max-width: 42rem; margin: 0 auto; padding-inline: 1.25rem; }
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.25rem; text-decoration: none; letter-spacing: -.01em; }
.dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--primary); box-shadow: 0 0 12px var(--primary); }
.lang { font-size: .875rem; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: .35rem .9rem; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.wrap { flex: 1; padding-bottom: 2rem; }
.hero { text-align: center; padding-top: 1.5rem; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .9rem; margin: 0 0 1.5rem; border-radius: 999px;
  background: hsl(217 33% 17% / .5); border: 1px solid var(--border); color: var(--muted); font-size: .875rem; font-weight: 500; }
.pill .icon { color: var(--primary); }
h1 { font-size: clamp(2.25rem, 9vw, 3.75rem); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 1.5rem; font-weight: 700; }
.accent { color: var(--primary); display: block; }
.sub { font-size: 1.125rem; color: var(--muted); margin: 0 auto 2rem; max-width: 36rem; line-height: 1.65; }
.card { background: hsl(222 47% 11% / .6); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; backdrop-filter: blur(4px); margin-bottom: 2rem; }
.card-title { display: flex; align-items: center; gap: .5rem; font-size: 1.125rem; margin: 0 0 .5rem; }
.card-title .icon { color: var(--primary); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
label { display: block; font-size: .875rem; font-weight: 500; margin: 1rem 0 .4rem; }
input[type=email], textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--fg); background: hsl(222 47% 11% / .5);
  border: 1px solid var(--border); border-radius: .5rem; padding: .7rem .8rem; min-height: 44px;
}
textarea { resize: vertical; min-height: 5rem; }
::placeholder { color: hsl(215 20% 65% / .7); }
.count { font-size: .75rem; color: var(--muted); margin: .25rem 0 0; text-align: end; min-height: 1em; }
.consent { display: flex; gap: .6rem; align-items: flex-start; margin: 1rem 0; }
.consent label { margin: 0; font-weight: 400; font-size: .8125rem; color: var(--muted); line-height: 1.6; }
.consent input { width: 1.25rem; height: 1.25rem; margin: .1rem 0 0; flex-shrink: 0; accent-color: var(--primary); }
.cf-turnstile { margin: 1rem 0 .5rem; min-height: 65px; }
.error { color: var(--danger); font-size: .8125rem; min-height: 1em; margin: .5rem 0; }
.error:empty { margin: 0; min-height: 0; }
.btn { width: 100%; min-height: 48px; border: 0; border-radius: 999px; background: var(--primary); color: var(--primary-fg);
  font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; box-shadow: 0 10px 25px -5px hsl(160 84% 39% / .25); }
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .6; cursor: progress; }
.done { display: flex; gap: .75rem; align-items: flex-start; }
.done h2 { margin: 0; font-size: 1.125rem; }
.done p { margin: .25rem 0 0; }
.done .icon { color: var(--primary); }
.features { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-bottom: 1rem; }
.feature { background: hsl(222 47% 11% / .5); border: 1px solid var(--border); border-radius: .75rem; padding: 1.25rem; }
.feature h3 { margin: .75rem 0 .4rem; font-size: 1rem; }
.feature p { margin: 0; }
.feature .icon { color: var(--primary); }
.icon { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-lg { width: 1.5rem; height: 1.5rem; margin-top: .1rem; }
.icon-xl { width: 2rem; height: 2rem; }
.foot { text-align: center; padding-block: 1.5rem 2rem; font-size: .75rem; color: hsl(215 20% 65% / .7); text-transform: uppercase; letter-spacing: .05em; }
.foot p { margin: .25rem 0; }
.prose h1 { font-size: 1.75rem; margin-bottom: .25rem; }
.prose h2 { font-size: 1.05rem; margin: 1.5rem 0 .4rem; }
.prose p, .prose li { color: var(--muted); font-size: .9375rem; }
.prose ul { padding-inline-start: 1.25rem; }
.prose a { color: var(--primary); }
code { font-size: .875em; background: var(--secondary); padding: .1em .35em; border-radius: .25rem; }
[dir=rtl] .foot { letter-spacing: 0; text-transform: none; }
@media (min-width: 768px) {
  .card { padding: 1.5rem; }
  .features { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .sub { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
