:root {
  color-scheme: light;
  --ink: #173b59;
  --muted: #60788b;
  --blue: #285479;
  --line: #dce7ef;
  --paper: #fff;
  font-family: Arial, "Noto Sans Hebrew", sans-serif;
  background: #f4f8fc;
  color: var(--ink);
}
html {
  scroll-behavior: smooth;
}
#contact-success {
  inline-size: min(440px, calc(100% - 40px));
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink);
  text-align: center;
  box-shadow: 0 24px 80px #173b5930;
}
#contact-success[open] {
  animation: success-pop 240ms ease-out;
}
#contact-success::backdrop {
  background: #173b5980;
}
.success-icon {
  display: grid;
  place-items: center;
  inline-size: 56px;
  block-size: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #e4f5ee;
  color: #20724f;
  font-size: 32px;
}
#contact-success button {
  border: 0;
  border-radius: 99px;
  padding: 12px 30px;
  min-block-size: 48px;
  background: var(--blue);
  color: white;
  font: inherit;
  cursor: pointer;
}
#contact-success button:focus-visible {
  outline: 3px solid #008dd2;
  outline-offset: 4px;
}
@keyframes success-pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  #contact-success[open] {
    animation: none;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--blue);
  text-underline-offset: 5px;
}
a:focus-visible {
  outline: 3px solid #008dd2;
  outline-offset: 6px;
}
p {
  line-height: 1.9;
  margin-block: 0 18px;
}
h1,
h2 {
  margin-block-start: 0;
  line-height: 1.35;
}
h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  letter-spacing: -0.04em;
}
h2 {
  font-size: 1.4rem;
}
a img {
  display: block;
  max-inline-size: 100%;
  object-fit: contain;
}
.site-header,
footer,
.home,
.legal {
  max-inline-size: 1120px;
  margin-inline: auto;
  padding-inline: 28px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
}
.site-header > a:last-child {
  font-size: 0.95rem;
}
.hero {
  max-inline-size: 820px;
  padding-block: 64px 50px;
}
.badge {
  display: inline-block;
  background: #e6eff7;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 0.9rem;
  margin-block-end: 24px;
}
.lead {
  font-size: 1.35rem;
  color: var(--blue);
}
.hero > p:not(.lead) {
  max-inline-size: 720px;
  color: var(--muted);
}
.contact {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  border-radius: 99px;
  padding: 16px 24px;
  margin-block-start: 12px;
  min-block-size: 48px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-block: 12px 48px;
}
.features article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}
.features p {
  color: var(--muted);
  margin: 0;
}
.number {
  display: block;
  color: #008dd2;
  font-size: 0.9rem;
  margin-block-end: 24px;
}
.beta {
  background: #eaf2f8;
  border-radius: 24px;
  padding: 32px;
  max-inline-size: 900px;
  margin-block-end: 64px;
}
.beta p:last-child {
  margin: 0;
}
footer {
  border-block-start: 1px solid var(--line);
  padding-block: 28px 40px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-block: 14px;
}
footer small {
  display: block;
}
.legal {
  max-inline-size: 900px;
  padding-block: 40px 64px;
}
.legal article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
}
.legal h1 {
  font-size: 2.4rem;
}
.legal h2 {
  margin-block: 36px 16px;
}
.legal a {
  overflow-wrap: anywhere;
}
.legal li {
  line-height: 1.9;
  margin-block: 10px;
}
.legal ul {
  padding-inline-start: 24px;
}
@media (max-width: 650px) {
  .site-header,
  footer,
  .home,
  .legal {
    padding-inline: 20px;
  }
  .site-header img {
    inline-size: 145px;
  }
  .hero {
    padding-block: 36px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .features article {
    padding: 24px;
  }
  .number {
    margin-block-end: 16px;
  }
  .beta,
  .legal article {
    padding: 24px;
  }
  .legal h1 {
    font-size: 2rem;
  }
  .site-header {
    gap: 16px;
  }
  footer nav {
    gap: 14px 20px;
  }
}

.contact-section {
  max-inline-size: 760px;
  padding: 32px;
  margin-block: 0 64px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  scroll-margin-block-start: 24px;
}
#contact-form {
  display: grid;
  gap: 18px;
}
#contact-form label {
  display: grid;
  gap: 8px;
  line-height: 1.6;
}
#contact-form input,
#contact-form textarea {
  inline-size: 100%;
  min-inline-size: 0;
  padding: 12px;
  border: 1px solid #8197a8;
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font: inherit;
}
#contact-form textarea {
  resize: vertical;
}
#contact-form button {
  justify-self: start;
  border: 0;
  border-radius: 99px;
  padding: 14px 28px;
  min-block-size: 48px;
  background: var(--blue);
  color: white;
  font: inherit;
  cursor: pointer;
}
#contact-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}
#contact-form :focus-visible {
  outline: 3px solid #008dd2;
  outline-offset: 3px;
}
.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}
.form-trap {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
#contact-status {
  margin: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 650px) {
  .contact-section {
    padding: 24px;
  }
}
