:root {
  color-scheme: dark;
  --bg: #070914;
  --surface: #101425;
  --surface-soft: #171b31;
  --text: #f7f7fb;
  --muted: #b8bfd7;
  --line: #2a3152;
  --accent: #6a63ff;
  --accent-2: #d73ee6;
  --ok: #26d07c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, "Noto Sans Hebrew", sans-serif;
  direction: rtl;
  background:
    radial-gradient(circle at 20% 0%, rgba(215, 62, 230, 0.16), transparent 28rem),
    radial-gradient(circle at 82% 12%, rgba(106, 99, 255, 0.18), transparent 30rem),
    var(--bg);
  color: var(--text);
  line-height: 1.75;
}

a {
  color: #b9b5ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(106, 99, 255, 0.36);
}

.brand strong {
  display: block;
  font-size: 20px;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

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

.nav a,
.pill {
  border: 1px solid var(--line);
  background: rgba(16, 20, 37, 0.78);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 13px;
}

.hero,
.card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(23, 27, 49, 0.96), rgba(9, 12, 26, 0.96));
  border-radius: 20px;
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.28);
}

.hero {
  padding: 34px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline-start: 34px;
  top: 34px;
  width: 130px;
  height: 56px;
  opacity: 0.72;
  background:
    linear-gradient(90deg, transparent 0 8%, #6a63ff 8% 13%, transparent 13% 21%, #f7f7fb 21% 26%, transparent 26% 34%, #d73ee6 34% 39%, transparent 39% 47%, #6a63ff 47% 52%, transparent 52% 60%, #f7f7fb 60% 65%, transparent 65% 73%, #6a63ff 73% 78%, transparent 78%);
  border-radius: 14px;
  filter: drop-shadow(0 10px 20px rgba(106, 99, 255, 0.3));
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1.12;
}

h2 {
  margin: 30px 0 10px;
  font-size: 24px;
}

h3 {
  margin: 22px 0 8px;
  font-size: 18px;
}

p {
  margin: 0 0 12px;
}

ul {
  padding-inline-start: 22px;
  margin: 8px 0 16px;
}

li {
  margin: 5px 0;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 17px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.card {
  padding: 22px;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.doc {
  padding: 28px;
}

.notice {
  border: 1px solid rgba(38, 208, 124, 0.34);
  background: rgba(38, 208, 124, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  color: #d9ffe9;
  margin: 18px 0;
}

.footer {
  color: var(--muted);
  font-size: 13px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 20px, 980px);
    padding-top: 18px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .doc,
  .card {
    border-radius: 16px;
    padding: 20px;
  }

  .hero::after {
    display: none;
  }
}
