:root {
  --ink: #0a315f;
  --ink-2: #144c86;
  --accent: #1677d2;
  --accent-2: #4db3ff;
  --violet: #6045f5;
  --violet-2: #8c6bff;
  --line: #d8e3f1;
  --muted: #5b708b;
  --soft: #f3f8fd;
  --white: #fff;
  --shadow: 0 18px 48px rgba(10, 49, 95, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, "Noto Sans Hebrew", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 227, 241, 0.72);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 96px;
  padding: 18px 28px;
}

.brand img {
  display: block;
  height: auto;
  width: min(260px, 44vw);
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 28px;
  font-weight: 700;
}

.nav-links a {
  border-bottom: 2px solid transparent;
  padding: 10px 0;
}

.nav-links a:hover,
.nav-links a:focus {
  border-color: var(--ink);
}

.hero {
  align-items: center;
  background:
    radial-gradient(circle at 92% 76%, rgba(255, 216, 190, 0.36), transparent 30%),
    radial-gradient(circle at 16% 18%, rgba(116, 86, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f8f8ff 100%);
  direction: ltr;
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  min-height: 635px;
  overflow: hidden;
  padding: 62px max(32px, calc((100vw - 1180px) / 2)) 72px;
  width: 100%;
}

.rtl .hero-copy {
  direction: rtl;
}

.ltr .hero-copy {
  direction: ltr;
}

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

.hero-copy h1,
.form-hero h1 {
  color: var(--ink);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.2;
  margin: 0 0 22px;
  overflow-wrap: anywhere;
}

.hero-copy h1 {
  color: #090d19;
}

.hero-copy p,
.form-hero p {
  color: #132f50;
  font-size: 23px;
  margin: 0;
  max-width: 650px;
}

.kicker-grid {
  direction: ltr;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
  max-width: 680px;
}

.kicker-grid span {
  color: var(--ink);
  direction: rtl;
  font-size: 17px;
  font-weight: 700;
  padding-top: 48px;
  position: relative;
  text-align: center;
}

.kicker-grid span::before {
  background: linear-gradient(135deg, var(--violet-2), var(--violet));
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(96, 69, 245, 0.24);
  content: "";
  height: 34px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 34px;
}

.device-stage {
  align-items: center;
  display: flex;
  min-height: 420px;
  min-width: 0;
  overflow: visible;
  position: relative;
}

.device-stage::before {
  background: radial-gradient(circle, rgba(96, 69, 245, 0.18), transparent 62%);
  content: "";
  inset: -58px -34px;
  position: absolute;
  z-index: 0;
}

.device-stage img {
  border-radius: 28px;
  box-shadow: 0 28px 72px rgba(53, 44, 94, 0.16);
  display: block;
  height: auto;
  margin-inline-start: auto;
  max-width: 100%;
  position: relative;
  width: 520px;
  z-index: 1;
}

.features,
.cta,
.form-wrap {
  margin: 0 auto;
  max-width: 1180px;
  padding: 56px 28px;
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.section-heading h2,
.product-copy h2,
.cta h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.25;
  margin: 0;
}

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

.feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 216px;
  padding: 30px 24px;
  text-align: center;
}

.feature-icon {
  background: #edf6ff;
  border-radius: 50%;
  height: 64px;
  margin: 0 auto 18px;
  position: relative;
  width: 64px;
}

.feature-icon::before,
.feature-icon::after {
  content: "";
  position: absolute;
}

.feature-card:nth-child(1) .feature-icon::before {
  border: 3px solid var(--accent);
  border-radius: 4px;
  height: 28px;
  inset: 17px 20px;
}

.feature-card:nth-child(1) .feature-icon::after {
  background: var(--accent);
  height: 3px;
  inset: 28px 24px auto;
}

.feature-card:nth-child(2) .feature-icon::before {
  border: 3px solid var(--accent);
  border-radius: 50%;
  height: 30px;
  inset: 16px;
  width: 30px;
}

.feature-card:nth-child(2) .feature-icon::after {
  background: var(--accent);
  border-radius: 999px;
  height: 18px;
  inset: 24px auto auto 31px;
  transform: rotate(45deg);
  transform-origin: top;
  width: 3px;
}

.feature-card:nth-child(3) .feature-icon::before {
  border: 3px solid var(--accent);
  border-radius: 5px;
  height: 23px;
  inset: 24px 14px auto;
}

.feature-card:nth-child(3) .feature-icon::after {
  background: var(--accent);
  border-radius: 3px;
  box-shadow: 15px 0 0 var(--accent), 30px 0 0 var(--accent);
  height: 18px;
  inset: 18px auto auto 16px;
  width: 4px;
}

.feature-card:nth-child(4) .feature-icon::before {
  border: 3px solid var(--accent);
  border-radius: 50% 50% 45% 45%;
  height: 31px;
  inset: 14px 19px;
}

.feature-card:nth-child(4) .feature-icon::after {
  background: var(--accent);
  border-radius: 999px;
  height: 16px;
  inset: 28px auto auto 30px;
  width: 4px;
}

.feature-card:nth-child(5) .feature-icon::before {
  border: 3px solid var(--accent);
  border-radius: 50%;
  box-shadow: -16px 12px 0 -4px #edf6ff, -16px 12px 0 -1px var(--accent), 16px 12px 0 -4px #edf6ff, 16px 12px 0 -1px var(--accent);
  height: 18px;
  inset: 14px 20px;
  width: 18px;
}

.feature-card:nth-child(5) .feature-icon::after {
  border: 3px solid var(--accent);
  border-radius: 12px 12px 4px 4px;
  height: 14px;
  inset: 38px 14px auto;
}

.feature-card:nth-child(6) .feature-icon::before {
  background: var(--accent);
  border-radius: 3px;
  bottom: 17px;
  box-shadow: 12px -10px 0 var(--accent), 24px -20px 0 var(--accent);
  height: 17px;
  inset-inline-start: 18px;
  width: 7px;
}

.feature-card:nth-child(6) .feature-icon::after {
  background: var(--ink);
  border-radius: 999px;
  height: 3px;
  inset: 46px 14px auto;
}

.feature-card h3 {
  font-size: 23px;
  margin: 0 0 10px;
}

.feature-card p,
.product-copy p,
.cta p {
  color: #153a63;
  font-size: 18px;
  margin: 0;
}

.product-band {
  align-items: center;
  background: linear-gradient(90deg, #eef7ff, #fff);
  padding: 54px max(28px, calc((100vw - 1180px) / 2));
}

.product-copy {
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
}

.product-copy p {
  margin-top: 20px;
}

.cta {
  text-align: center;
}

.cta p {
  margin: 10px auto 26px;
  max-width: 660px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.button {
  border: 1px solid var(--ink);
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  justify-content: center;
  min-width: 164px;
  padding: 13px 24px;
}

.button.primary {
  background: linear-gradient(180deg, #124d87, #062b54);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--ink);
}

.footer {
  align-items: center;
  background: linear-gradient(90deg, #062b54, #124d87);
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 18px max(28px, calc((100vw - 1180px) / 2));
}

.footer-links {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.footer-links a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.messages {
  margin: 18px auto 0;
  max-width: 960px;
  padding: 0 28px;
}

.message {
  background: #eef8ef;
  border: 1px solid #bfdfc4;
  border-radius: 8px;
  color: #1f602b;
  margin: 0;
  padding: 12px 16px;
}

.form-hero {
  background: linear-gradient(180deg, #fff 0%, #eef7ff 100%);
  padding: 78px max(28px, calc((100vw - 960px) / 2));
}

.form-hero h1 {
  max-width: 760px;
}

.public-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 820px;
  padding: 30px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  border: 1px solid #bfd0e4;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 10px 12px;
  width: 100%;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.terms-field {
  gap: 6px;
}

.checkbox-label {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  font-weight: 400;
}

.checkbox-label input {
  flex: 0 0 auto;
  margin-top: 6px;
  min-height: 0;
  width: auto;
}

.checkbox-label a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hp-field {
  left: -10000px;
  position: absolute;
  top: auto;
}

.errorlist {
  color: #a51d2d;
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal-page {
  color: #132f50;
  margin: 0 auto;
  max-width: 880px;
  padding: 58px 28px 72px;
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.2;
  margin: 0 0 18px;
}

.legal-page h2 {
  color: var(--ink);
  font-size: 25px;
  line-height: 1.3;
  margin: 38px 0 12px;
}

.legal-page h3 {
  color: var(--ink-2);
  font-size: 20px;
  line-height: 1.35;
  margin: 26px 0 8px;
}

.legal-page p {
  font-size: 17px;
  margin: 0 0 16px;
}

.legal-page ul {
  margin: 0 0 18px;
  padding-inline-start: 24px;
}

.legal-page li {
  margin: 6px 0;
}

@media (max-width: 920px) {
  .hero,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: center;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 42px;
  }

  .hero-copy {
    text-align: center;
    width: 100%;
  }

  .hero-copy p {
    margin-inline: auto;
  }

  .kicker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .device-stage {
    min-height: 360px;
  }

  .device-stage img {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: center;
    direction: ltr;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    padding: 14px 18px;
    width: 100%;
  }

  .brand img {
    width: min(210px, 78vw);
  }

  .nav-links {
    direction: rtl;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    width: 100%;
  }

  .ltr .nav-links {
    direction: ltr;
  }

  .hero,
  .features,
  .cta,
  .form-wrap,
  .form-hero,
  .product-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-copy h1,
  .form-hero h1 {
    font-size: 28px;
    margin-left: auto;
    margin-right: auto;
    max-width: 330px;
    width: 100%;
  }

  .hero-copy p,
  .form-hero p {
    font-size: 17px;
    margin-left: auto;
    margin-right: auto;
    max-width: 330px;
    width: 100%;
  }

  .kicker-grid,
  .cta-actions,
  .footer,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .device-stage {
    width: 100%;
  }

  .device-stage {
    min-height: 0;
  }

  .feature-card {
    min-height: 0;
  }

  .cta-actions,
  .footer,
  .footer-links {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .public-form {
    padding: 20px;
  }
}
