:root,
.sw-root {
  --sw-bg: oklch(0.105 0 0);
  --sw-ink: oklch(0.975 0 0);
  --sw-ink-soft: oklch(0.78 0.018 353);
  --sw-accent: oklch(0.64 0.21 353);
  --sw-font-display: "Miriam Libre", serif;
  --sw-font-body: "Assistant", sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: oklch(0.105 0 0);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
}

.skip-link {
  position: fixed;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 100;
  translate: 0 -180%;
  padding: 0.75rem 1rem;
  border-radius: 0.4rem;
  background: oklch(0.975 0 0);
  color: oklch(0.105 0 0);
  font: 700 1rem/1 "Assistant", sans-serif;
}

.skip-link:focus {
  translate: 0;
}

.sw-root {
  direction: rtl;
}

.sw-sky__grad {
  background: oklch(0.105 0 0) !important;
}

.sw-sky__glow,
.sw-particles {
  opacity: 0.28;
}

.sw-topbar {
  direction: rtl;
}

.sw-brand {
  gap: 0.75rem;
}

.sw-brand__mark {
  position: relative;
  width: 2.6rem !important;
  height: 2.6rem !important;
  border-radius: 0.15rem !important;
  background: oklch(0.68 0.2 42) !important;
  box-shadow: 0 0.5rem 1.5rem oklch(0 0 0 / 0.28) !important;
}

.sw-brand__mark::after {
  content: "גת";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: oklch(0.12 0 0);
  font-family: "Miriam Libre", serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.sw-brand__name {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem) !important;
  letter-spacing: -0.015em;
}

.sw-nav {
  direction: rtl;
  border-radius: 0.35rem !important;
  border-color: oklch(1 0 0 / 0.18) !important;
  background: oklch(0.12 0 0 / 0.72) !important;
  backdrop-filter: blur(14px) saturate(0.8) !important;
}

.sw-nav__item {
  min-height: 2.5rem;
  border-radius: 0.2rem !important;
  color: oklch(0.86 0 0) !important;
}

.sw-nav__item.is-active {
  color: oklch(0.1 0 0) !important;
  background: var(--sw-accent) !important;
}

.sw-topcta,
.sw-btn {
  border-radius: 0.25rem !important;
}

.sw-topcta {
  color: oklch(0.1 0 0) !important;
  background: oklch(0.975 0 0) !important;
}

.sw-copylayer::before {
  left: auto !important;
  right: 0 !important;
  width: min(44vw, 640px) !important;
  background: radial-gradient(ellipse 78% 68% at 84% 58%, oklch(0.105 0 0 / 0.54) 0%, oklch(0.105 0 0 / 0.27) 48%, transparent 100%) !important;
}

.sw-copy {
  left: auto !important;
  right: clamp(1.25rem, 6vw, 6rem) !important;
  width: min(41vw, 31rem) !important;
  text-align: right;
}

.sw-copy__num {
  display: none;
}

.sw-copy__eyebrow {
  margin-top: 0 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
}

.sw-copy__title {
  margin-top: 0.8rem !important;
  font-size: clamp(2.65rem, 5.6vw, 5.6rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.025em !important;
  text-wrap: balance;
  text-shadow: 0 0.2rem 1.6rem oklch(0 0 0 / 0.55) !important;
}

.sw-copy__body {
  margin-top: 1.25rem !important;
  max-width: 34rem !important;
  color: oklch(0.9 0.008 353) !important;
  font-size: clamp(1.05rem, 1.45vw, 1.3rem) !important;
  line-height: 1.58 !important;
  text-wrap: pretty;
}

.sw-copy__tags {
  gap: 0.55rem !important;
}

.sw-copy__tags li {
  border-radius: 0.2rem !important;
  border: 1px solid oklch(1 0 0 / 0.25) !important;
  background: oklch(0.12 0 0 / 0.68) !important;
  color: oklch(0.96 0 0) !important;
  backdrop-filter: blur(10px);
}

.sw-copy__cta {
  justify-content: flex-start;
}

.sw-btn {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
}

.sw-btn--primary {
  color: oklch(0.1 0 0) !important;
  background: oklch(0.975 0 0) !important;
}

.sw-btn--ghost {
  color: oklch(0.975 0 0) !important;
  border-color: oklch(1 0 0 / 0.42) !important;
}

.sw-route {
  right: auto !important;
  left: clamp(0.75rem, 2vw, 1.75rem) !important;
}

.sw-route__label {
  right: auto !important;
  left: 1.75rem !important;
  color: oklch(0.96 0 0) !important;
  background: oklch(0.12 0 0 / 0.82) !important;
  border-color: oklch(1 0 0 / 0.16) !important;
}

.sw-hint {
  color: oklch(0.86 0 0) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

:where(a, button):focus-visible {
  outline: 3px solid oklch(0.79 0.18 116);
  outline-offset: 4px;
}

@media (max-width: 860px) {
  .sw-topbar {
    padding-inline: 1rem !important;
  }

  .sw-brand__name {
    display: none;
  }

  .sw-topcta {
    padding: 0.72rem 0.9rem !important;
  }

  .sw-copylayer::before {
    width: 100% !important;
    height: 68% !important;
    background: linear-gradient(0deg, oklch(0.105 0 0 / 0.99) 8%, oklch(0.105 0 0 / 0.76) 54%, transparent 100%) !important;
  }

  .sw-copy {
    right: clamp(1.2rem, 5vw, 2rem) !important;
    left: clamp(2.5rem, 8vw, 4rem) !important;
    width: auto !important;
    bottom: calc(clamp(4.25rem, 11dvh, 7rem) + env(safe-area-inset-bottom)) !important;
  }

  .sw-copy__title {
    font-size: clamp(2.25rem, 11vw, 3.7rem) !important;
  }

  .sw-copy__body {
    font-size: 1rem !important;
    line-height: 1.45 !important;
  }

  .sw-copy__tags {
    margin-top: 1rem !important;
  }

  .sw-route {
    left: 0.15rem !important;
    right: auto !important;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
