@font-face {
  font-family: "Rubik Local";
  src: url("assets/fonts/rubik-hebrew.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Heebo Local";
  src: url("assets/fonts/heebo-hebrew.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --ink: #090909;
  --ivory: #f0ede5;
  --muted: #aaa8a1;
  --line: rgba(240, 237, 229, 0.24);
  --amber: #e18b27;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--ivory);
  font-family: "Rubik Local", "Heebo Local", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  translate: 0 -160%;
  padding: 10px 16px;
  background: var(--ivory);
  color: var(--ink);
  font-weight: 800;
}

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

.landing {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  padding: clamp(42px, 6vh, 72px) clamp(24px, 5vw, 88px) clamp(62px, 7vh, 84px);
}

.landing-backdrop,
.landing-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  margin: 0;
}

.landing-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 54%;
  filter: saturate(0.92) contrast(1.08) brightness(0.88);
  transform: scale(1.01);
}

.landing-shade {
  z-index: -1;
  background:
    radial-gradient(ellipse 52% 66% at 50% 45%, rgba(5, 5, 5, 0.79) 0%, rgba(5, 5, 5, 0.64) 50%, rgba(5, 5, 5, 0.24) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.72));
}

.landing-layout {
  display: grid;
  direction: rtl;
  grid-template-columns: minmax(0, 1080px);
  gap: clamp(28px, 4vh, 42px);
  align-items: center;
  justify-content: center;
  width: 100%;
}

.landing-copy,
.landing-questions {
  direction: rtl;
}

.landing-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.accent-line {
  display: block;
  width: clamp(92px, 9vw, 154px);
  height: 4px;
  margin: 0 auto clamp(24px, 3vh, 34px);
  background: var(--amber);
  box-shadow: 0 0 30px rgba(225, 139, 39, 0.2);
}

h1 {
  max-width: 980px;
  margin: 0;
  color: var(--ivory);
  font-family: "Heebo Local", "Rubik Local", sans-serif;
  font-size: clamp(4rem, 5.6vw, 6.7rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.88;
  text-shadow: 0 5px 28px rgba(0, 0, 0, 0.5);
  text-wrap: balance;
}

h1 span {
  display: block;
}

.primary-cta {
  display: flex;
  width: fit-content;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: clamp(28px, 4vh, 42px);
  border: 2px solid var(--amber);
  margin-right: auto;
  margin-left: auto;
  padding: 16px 28px 16px 34px;
  color: var(--amber);
  font-family: "Rubik Local", "Heebo Local", sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
  animation: cta-pulse 2.6s ease-in-out infinite;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  background: var(--amber);
  color: #16100a;
  box-shadow: 0 12px 42px rgba(225, 139, 39, 0.23);
  outline: 0;
  transform: translateY(-2px);
}

.primary-cta[aria-disabled="true"] {
  animation: none;
  cursor: not-allowed;
}

.cta-arrows {
  display: inline-flex;
  direction: ltr;
  gap: 1px;
  font-family: Arial, sans-serif;
  font-size: 1.25em;
  line-height: 1;
}

.cta-arrows span {
  display: inline-block;
  animation: arrow-pull 1.35s ease-in-out infinite;
}

.cta-arrows span:last-child {
  animation-delay: 140ms;
}

@keyframes cta-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(225, 139, 39, 0.05), 0 8px 28px rgba(0, 0, 0, 0.24);
  }

  50% {
    box-shadow: 0 0 0 9px rgba(225, 139, 39, 0.09), 0 14px 38px rgba(225, 139, 39, 0.2);
  }
}

@keyframes arrow-pull {
  0%,
  100% {
    opacity: 0.45;
    transform: translateX(0);
  }

  50% {
    opacity: 1;
    transform: translateX(-6px);
  }
}

.landing-questions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 1040px);
  margin-inline: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.landing-questions details {
  border-bottom: 0;
}

.landing-questions details:not(:last-child) {
  border-left: 1px solid var(--line);
}

.landing-questions summary {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  color: var(--ivory);
  font-family: "Heebo Local", "Rubik Local", sans-serif;
  font-size: clamp(1.25rem, 1.55vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.landing-questions summary::-webkit-details-marker {
  display: none;
}

.landing-questions summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 8px;
}

.question-icon {
  display: block;
  color: var(--amber);
  font-family: Arial, sans-serif;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  text-align: center;
  transition: transform 180ms ease;
}

details[open] .question-icon {
  transform: rotate(45deg);
}

.landing-questions p {
  max-width: 100%;
  margin: -4px 58px 18px 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.landing-note {
  position: absolute;
  inset-block-end: 24px;
  inset-inline: clamp(24px, 6vw, 116px);
  margin: 0;
  color: rgba(240, 237, 229, 0.43);
  font-size: 0.74rem;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 1040px) {
  .landing {
    place-items: center;
    padding-block-start: 38px;
  }

  .landing-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 720px;
  }

  .landing-copy {
    max-width: 720px;
  }

  .accent-line {
    margin-bottom: 22px;
  }

  h1 {
    font-size: clamp(3.6rem, 9.2vw, 6rem);
  }

  .primary-cta {
    margin-top: 26px;
  }

  .landing-questions {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .landing-questions details:not(:last-child) {
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .landing-questions summary {
    min-height: 72px;
    padding: 14px 10px;
    font-size: clamp(1.55rem, 4.5vw, 2.2rem);
  }
}

@media (max-width: 620px) {
  .landing {
    min-height: 100svh;
    overflow: visible;
    padding: 30px 20px 58px;
  }

  .landing-backdrop,
  .landing-shade {
    position: fixed;
  }

  .landing-backdrop img {
    object-position: 31% 50%;
    filter: saturate(0.9) contrast(1.1) brightness(0.8);
  }

  .landing-shade {
    background:
      radial-gradient(ellipse 88% 48% at 50% 31%, rgba(6, 6, 6, 0.76), rgba(6, 6, 6, 0.42) 72%, rgba(6, 6, 6, 0.28)),
      linear-gradient(180deg, rgba(6, 6, 6, 0.25), rgba(6, 6, 6, 0.86));
  }

  .landing-layout {
    gap: 22px;
  }

  .accent-line {
    width: 78px;
    height: 3px;
    margin-bottom: 18px;
  }

  h1 {
    max-width: 350px;
    font-size: clamp(2.8rem, 13.5vw, 4.2rem);
    letter-spacing: -0.05em;
    line-height: 0.9;
  }

  .primary-cta {
    width: 100%;
    min-height: 54px;
    gap: 12px;
    margin-top: 22px;
    margin-right: 0;
    padding: 13px 20px;
    font-size: 1rem;
  }

  .landing-questions summary {
    grid-template-columns: 26px 1fr;
    gap: 15px;
    min-height: 72px;
    padding: 14px 0;
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
    letter-spacing: -0.045em;
  }

  .question-icon {
    font-size: 2rem;
  }

  .landing-questions p {
    margin: -2px 41px 18px 0;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .landing-note {
    inset-block-end: 12px;
    inset-inline: 20px;
    font-size: 0.62rem;
  }
}

@media (max-height: 720px) and (min-width: 1041px) {
  .landing {
    padding-block: 42px 58px;
  }

  .landing-questions summary {
    min-height: 78px;
  }

  .accent-line {
    margin-bottom: 20px;
  }

  .primary-cta {
    margin-top: 24px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
