* {
  box-sizing: border-box;
}

:root {
  --ink: #161938;
  --ink-soft: #515474;
  --ink-muted: #777994;
  --cream: #f7f2e9;
  --paper: rgba(255, 255, 255, 0.76);
  --white: #fff;
  --indigo: #4a54a8;
  --indigo-dark: #343d85;
  --indigo-soft: #ececf9;
  --lilac: #b8b0e8;
  --sage: #8fb8a8;
  --line: rgba(22, 25, 56, 0.12);
  --shadow: 0 18px 55px rgba(31, 35, 86, 0.09);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  direction: rtl;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(184, 176, 232, 0.28), transparent 26rem),
    radial-gradient(circle at 88% 42%, rgba(143, 184, 168, 0.17), transparent 24rem),
    var(--cream);
  font-family: "Assistant", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

.shell {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  right: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.help-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 242, 233, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.32rem;
  font-weight: 700;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.back-link {
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  color: var(--indigo);
}

.hero {
  position: relative;
  padding: 76px 0 38px;
  text-align: center;
}

.hero-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border: 1px solid rgba(74, 84, 168, 0.18);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--indigo);
  box-shadow: 0 12px 32px rgba(74, 84, 168, 0.1);
  font-size: 1.7rem;
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--indigo);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.hero-copy {
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 38px;
}

.quick-links a {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.quick-links a:hover,
.quick-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(74, 84, 168, 0.35);
  background: rgba(255, 255, 255, 0.86);
  outline: none;
}

.quick-links span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--indigo-soft);
  color: var(--indigo);
  font-size: 0.78rem;
}

.faq {
  display: grid;
  gap: 14px;
  padding: 22px 0 70px;
}

.faq-item {
  scroll-margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 6px 28px rgba(31, 35, 86, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.faq-item[open] {
  border-color: rgba(74, 84, 168, 0.22);
  box-shadow: var(--shadow);
}

.faq-item summary {
  min-height: 96px;
  display: grid;
  grid-template-columns: 44px 1fr 18px;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.item-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--indigo-soft);
  color: var(--indigo);
  font-weight: 700;
}

.summary-copy {
  min-width: 0;
}

.summary-copy strong,
.summary-copy small {
  display: block;
}

.summary-copy strong {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
}

.summary-copy small {
  margin-top: 5px;
  color: var(--ink-muted);
  font-size: 0.88rem;
  font-weight: 400;
}

.chevron {
  width: 11px;
  height: 11px;
  border-left: 2px solid var(--ink-muted);
  border-bottom: 2px solid var(--ink-muted);
  transform: rotate(-45deg);
  transition: transform 180ms ease;
}

.faq-item[open] .chevron {
  transform: rotate(135deg);
}

.answer {
  padding: 2px 82px 28px 62px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.answer > :first-child {
  margin-top: 0;
}

.answer p {
  margin: 0 0 18px;
}

.answer ol {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.answer ol li {
  position: relative;
  min-height: 34px;
  padding: 4px 42px 10px 0;
  counter-increment: step;
}

.answer ol li::before {
  content: counter(step);
  position: absolute;
  right: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--indigo);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
}

.note,
.warning {
  padding: 14px 16px;
  border-radius: 13px;
  font-size: 0.94rem;
}

.note {
  border: 1px solid rgba(74, 84, 168, 0.14);
  background: rgba(74, 84, 168, 0.07);
}

.warning {
  border: 1px solid rgba(217, 178, 106, 0.32);
  background: rgba(217, 178, 106, 0.13);
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0;
}

.platform-card {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.6);
}

.platform-card strong,
.platform-card p {
  display: block;
}

.platform-card p {
  margin: 8px 0 0;
  line-height: 1.7;
}

.platform-label {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--indigo);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.refund-links {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.refund-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(74, 84, 168, 0.18);
  border-radius: 14px;
  background: var(--white);
  color: var(--indigo-dark);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.refund-links a:hover,
.refund-links a:focus-visible {
  transform: translateX(-2px);
  border-color: var(--indigo);
  outline: none;
}

.refund-links strong,
.refund-links small {
  display: block;
}

.refund-links small {
  margin-top: 2px;
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.still-stuck {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 76px;
  padding: 24px 28px;
  border-radius: 22px;
  background: var(--ink);
  color: white;
  box-shadow: 0 22px 52px rgba(22, 25, 56, 0.18);
}

.support-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--lilac);
}

.still-stuck h2,
.still-stuck p {
  margin: 0;
}

.still-stuck h2 {
  font-size: 1.15rem;
}

.still-stuck p {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.7);
}

.help-footer {
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.help-footer .shell {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.help-footer a {
  text-decoration: none;
}

.help-footer a:hover {
  color: var(--indigo);
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 760px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    font-size: 1.15rem;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 48px 0 28px;
  }

  .hero-mark {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    border-radius: 16px;
  }

  .hero-copy {
    max-width: 310px;
    font-size: 1rem;
  }

  .quick-links {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 28px;
  }

  .quick-links a {
    min-height: 72px;
  }

  .faq {
    padding: 14px 0 48px;
  }

  .faq-item {
    border-radius: 18px;
  }

  .faq-item summary {
    min-height: 88px;
    grid-template-columns: 40px 1fr 14px;
    gap: 12px;
    padding: 18px 16px;
  }

  .item-number {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .summary-copy strong {
    font-size: 1rem;
  }

  .summary-copy small {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .answer {
    padding: 0 68px 22px 18px;
    font-size: 0.96rem;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .still-stuck {
    margin-bottom: 48px;
    padding: 20px;
  }

  .help-footer .shell {
    min-height: 110px;
    flex-wrap: wrap;
    align-content: center;
    gap: 8px 18px;
  }

  .help-footer .shell span {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
