:root {
  --ink: #18211e;
  --muted: #5e675f;
  --paper: #f6f2e8;
  --paper-strong: #fffaf0;
  --line: rgba(24, 33, 30, 0.16);
  --green: #244d3d;
  --green-soft: #d9e8df;
  --amber: #b5682f;
  --clay: #8a5141;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(24, 33, 30, 0.14);
  --twilight: 0;
  --night: 0;
  --cursor-x: 50vw;
  --cursor-y: 50vh;
  --cursor-active: 0;
  --font-body: Inter, "Noto Sans Hebrew", Assistant, Heebo, Rubik, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: Inter, "Noto Sans Hebrew", Assistant, Heebo, Rubik, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(246, 242, 232, calc(1 - var(--night) * 0.35)), rgba(16, 25, 32, calc(var(--night) * 0.72))),
    var(--paper);
  font-family: var(--font-body);
  line-height: 1.5;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: calc(var(--night) * 0.5);
  background:
    radial-gradient(circle at 76% 15%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.5px),
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.4px),
    radial-gradient(circle at 61% 42%, rgba(255, 255, 255, 0.78) 0 1px, transparent 1.5px),
    radial-gradient(circle at 92% 66%, rgba(255, 221, 174, 0.75) 0 1px, transparent 1.5px),
    radial-gradient(circle at 31% 76%, rgba(255, 255, 255, 0.58) 0 1px, transparent 1.4px);
}

.ambient-night,
.cursor-halo {
  position: fixed;
  pointer-events: none;
}

.ambient-night {
  inset: 0;
  z-index: 0;
  opacity: calc(var(--night) * 0.58);
  background:
    radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(244, 188, 127, 0.16), transparent 18rem),
    linear-gradient(180deg, rgba(10, 17, 25, 0), rgba(9, 15, 23, 0.52) 42%, rgba(6, 10, 17, 0.88));
  mix-blend-mode: multiply;
}

.cursor-halo {
  z-index: 6;
  left: var(--cursor-x);
  top: var(--cursor-y);
  width: 340px;
  height: 340px;
  border-radius: 50%;
  opacity: calc(var(--cursor-active) * (0.32 + var(--night) * 0.28));
  background:
    radial-gradient(circle, rgba(255, 218, 166, 0.38), rgba(130, 211, 186, 0.16) 28%, transparent 66%);
  filter: blur(8px);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  transition:
    opacity 220ms ease,
    width 220ms ease,
    height 220ms ease;
}

.site-header,
main,
.site-footer {
  position: relative;
}

main,
.site-footer {
  z-index: 2;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 5vw, 64px);
  color: var(--white);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 58% 42%, var(--white) 0 3px, transparent 4px),
    rgba(255, 255, 255, 0.16);
}

.nav-links {
  gap: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.84);
}

.nav-links a {
  padding: 8px 0;
}

.lang-toggle {
  min-width: 76px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.lang-toggle:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: max(760px, 92svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #111815;
}

.hero-media,
.hero-media img,
.hero-overlay,
.twilight-sky {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(255, 213, 153, calc(var(--cursor-active) * 0.16)), transparent 24rem),
    linear-gradient(90deg, rgba(13, 19, 16, calc(0.82 + var(--twilight) * 0.08)), rgba(13, 19, 16, calc(0.42 + var(--twilight) * 0.2)) 44%, rgba(13, 19, 16, calc(0.1 + var(--twilight) * 0.28))),
    linear-gradient(0deg, rgba(13, 19, 16, calc(0.6 + var(--twilight) * 0.18)), rgba(13, 19, 16, calc(0.06 + var(--twilight) * 0.28)) 56%);
}

.twilight-sky {
  z-index: 1;
  opacity: calc(var(--twilight) * 0.92);
  mix-blend-mode: screen;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 14%, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.4px),
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.5px),
    radial-gradient(circle at 64% 18%, rgba(255, 255, 255, 0.82) 0 1px, transparent 1.5px),
    radial-gradient(circle at 92% 32%, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.4px),
    radial-gradient(circle at 71% 36%, rgba(255, 255, 255, 0.78) 0 1px, transparent 1.4px),
    radial-gradient(circle at 88% 9%, rgba(255, 223, 180, 0.9) 0 1.2px, transparent 1.8px),
    linear-gradient(180deg, rgba(19, 32, 43, 0.72), rgba(11, 20, 24, 0.18));
  transform: translateY(calc(var(--twilight) * -10px));
  transition: opacity 120ms linear;
}

.twilight-sky::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: calc(var(--twilight) * 0.55);
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.54) 0 1px, transparent 1.4px),
    radial-gradient(circle at 36% 14%, rgba(255, 255, 255, 0.42) 0 1px, transparent 1.4px),
    radial-gradient(circle at 57% 31%, rgba(255, 226, 183, 0.5) 0 1px, transparent 1.5px);
  transform: translateY(calc(var(--twilight) * -18px));
}

.hero-content {
  position: relative;
  z-index: 3;
  justify-self: start;
  width: min(760px, calc(100% - clamp(40px, 10vw, 128px)));
  margin: 0 0 clamp(44px, 7vh, 84px) clamp(20px, 5vw, 64px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4bc7f;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(54px, 7vw, 100px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: 0;
}

.cursor-reactive {
  --reactive-base: var(--ink);
  --reactive-hot: #a65d34;
  --text-x: 50%;
  --text-y: 50%;
  color: var(--reactive-base);
  padding-bottom: 0.08em;
  transition:
    filter 220ms ease,
    transform 220ms ease;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .cursor-reactive {
    background:
      radial-gradient(circle at var(--text-x) var(--text-y), var(--reactive-hot) 0%, var(--reactive-base) 36%, var(--reactive-base) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.cursor-reactive.is-lit {
  filter: drop-shadow(0 12px 24px rgba(181, 104, 47, 0.14));
  transform: translateY(-1px);
}

.hero .cursor-reactive {
  --reactive-base: rgba(255, 255, 255, 0.94);
  --reactive-hot: #f4bc7f;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(20px, 2.2vw, 28px);
}

.hero-actions,
.button {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 750;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) 0;
}

.intro-grid,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.split-section h2,
.early h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 66px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: 0;
}

.intro p,
.early p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.intro p a,
.early p a {
  color: var(--green);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.proof-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, calc(0.72 - var(--night) * 0.18));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

.feature-card:hover,
.proof-item:hover {
  border-color: rgba(181, 104, 47, 0.38);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.46) inset,
    0 18px 44px rgba(22, 35, 45, calc(0.08 + var(--night) * 0.14));
  transform: translateY(-3px);
}

.feature-card {
  min-height: 310px;
  padding: 28px;
}

.feature-number {
  display: inline-flex;
  margin-bottom: 72px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 850;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.12;
}

.feature-card p,
.list-row p,
.proof-item span,
.site-footer {
  color: var(--muted);
}

.split-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stacked-list {
  display: grid;
  gap: 0;
}

.list-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.list-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.list-row span {
  font-weight: 800;
}

.list-row p {
  margin-bottom: 0;
}

.proof {
  width: 100%;
  max-width: none;
  padding-left: clamp(20px, 5vw, 64px);
  padding-right: clamp(20px, 5vw, 64px);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, calc(0.92 - var(--night) * 0.28)), rgba(19, 31, 39, calc(var(--night) * 0.42))),
    var(--paper-strong);
}

.intro,
.split-section,
.early {
  position: relative;
  z-index: 0;
  border-radius: 0;
}

.intro::before,
.split-section::before,
.early::before {
  position: absolute;
  inset: 22px max(-24px, -2vw);
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: calc(var(--night) * 0.74);
  background: rgba(246, 242, 232, 0.9);
  filter: blur(28px);
}

.proof .section-heading,
.proof-grid {
  width: min(1160px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.proof-item {
  display: grid;
  gap: 10px;
  min-height: 160px;
  padding: 24px;
}

.proof-item strong {
  font-size: 18px;
}

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

.early-content {
  width: min(820px, 100%);
}

.early p {
  margin: 22px auto 30px;
}

.early .button {
  width: fit-content;
  margin: 0 auto;
}

.early .cursor-reactive {
  --reactive-base: color-mix(in srgb, var(--ink), white calc(var(--night) * 10%));
  --reactive-hot: #b5682f;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  font-size: 14px;
  background: rgba(8, 14, 20, calc(var(--night) * 0.72));
}

.site-footer span:first-child {
  color: color-mix(in srgb, var(--ink), white calc(var(--night) * 72%));
  font-weight: 800;
}

.site-footer a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

html[dir="rtl"] {
  text-align: right;
}

html[dir="rtl"] .brand,
html[dir="rtl"] .lang-toggle {
  direction: ltr;
}

html[dir="rtl"] .nav-links,
html[dir="rtl"] .hero-content,
html[dir="rtl"] .section,
html[dir="rtl"] .site-footer {
  direction: rtl;
}

html[dir="rtl"] .hero-content,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .early {
  text-align: right;
}

html[dir="rtl"] .hero-content {
  justify-self: end;
  margin-left: 0;
  margin-right: clamp(20px, 5vw, 64px);
}

html[dir="rtl"] .early {
  justify-items: stretch;
}

html[dir="rtl"] .early .button {
  margin-left: 0;
  margin-right: 0;
}

html[dir="rtl"] .hero-actions {
  justify-content: flex-start;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 680ms ease,
    transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: max(700px, 90svh);
  }

  .hero-overlay {
    background:
      radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(255, 213, 153, calc(var(--cursor-active) * 0.12)), transparent 18rem),
      linear-gradient(0deg, rgba(13, 19, 16, calc(0.9 + var(--twilight) * 0.04)), rgba(13, 19, 16, calc(0.2 + var(--twilight) * 0.24)) 72%),
      linear-gradient(90deg, rgba(13, 19, 16, calc(0.6 + var(--twilight) * 0.14)), rgba(13, 19, 16, calc(0.08 + var(--twilight) * 0.18)));
  }

  .hero-content {
    width: min(100% - 40px, 640px);
    margin-left: 20px;
    margin-bottom: 42px;
  }

  html[dir="rtl"] .hero-content {
    margin-left: 0;
    margin-right: 20px;
  }

  .intro-grid,
  .split-section,
  .feature-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 240px;
  }

  .feature-number {
    margin-bottom: 42px;
  }
}

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

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

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  .twilight-sky {
    transform: none;
  }

  .ambient-night,
  .cursor-halo,
  body::after {
    display: none;
  }

  .cursor-reactive {
    color: var(--reactive-base);
    -webkit-text-fill-color: currentColor;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-halo {
    display: none;
  }

  .ambient-night {
    background:
      linear-gradient(180deg, rgba(10, 17, 25, 0), rgba(9, 15, 23, 0.42) 42%, rgba(6, 10, 17, 0.78));
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 90svh;
  }

  h1 {
    font-size: 48px;
  }

  .hero-lede {
    font-size: 20px;
  }

  .button {
    width: 100%;
  }

  .list-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
