:root {
  --ink: #102f38;
  --deep: #08272f;
  --teal: #0f6575;
  --yellow: #f7c948;
  --yellow-hover: #ffda69;
  --paper: #fff;
  --mist: #f2f7f7;
  --line: #c7d6d8;
  --muted: #526a71;
  --error: #a42323;
  --success: #0e6b47;
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Noto Sans Hebrew", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #ffcf3e; outline-offset: 3px; }

.container { width: min(calc(100% - 36px), var(--container)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  right: 10px;
  padding: 9px 15px;
  color: var(--deep);
  background: white;
  border: 2px solid var(--deep);
  border-radius: 7px;
  font-weight: 700;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.header-inner { min-height: 80px; display: flex; align-items: center; }
.brand, .footer-brand {
  display: inline-flex;
  padding: 3px 10px;
  background: rgba(255,255,255,.95);
  border-radius: 10px;
}
.brand img { width: 102px; height: auto; }

.landing {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--deep);
  padding: 110px 0 42px;
}
.landing-image, .landing-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.landing-image { object-fit: cover; object-position: center; }
.landing-overlay {
  background:
    linear-gradient(90deg, rgba(5,31,38,.76), rgba(5,31,38,.88) 48%, rgba(5,31,38,.94)),
    linear-gradient(0deg, rgba(5,31,38,.45), transparent 60%);
}
.landing-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
}
.eyebrow {
  margin: 0 0 13px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
}
h1, h2, p { text-wrap: pretty; }
h1, h2 { margin-top: 0; line-height: 1.12; }
.landing-copy h1 {
  max-width: 570px;
  margin-bottom: 20px;
  font-size: clamp(43px, 5.2vw, 68px);
  letter-spacing: -.035em;
}
.landing-lead {
  max-width: 580px;
  margin: 0 0 25px;
  color: #e7f0f1;
  font-size: 20px;
  line-height: 1.6;
}
.quick-facts {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 22px;
  font-weight: 700;
}
.quick-facts li { display: flex; gap: 10px; align-items: flex-start; }
.quick-facts span {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  color: var(--deep);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 13px;
}
.details-note { margin: 0; color: #c6d7da; font-size: 14px; }

.form-card {
  width: 100%;
  max-width: 610px;
  min-height: 570px;
  padding: 29px 31px 24px;
  color: var(--ink);
  background: white;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.25);
}
.form-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 21px;
}
.form-heading h2 { margin: 0; font-size: 30px; }
.form-kicker { margin: 0 0 2px; color: var(--teal); font-size: 14px; font-weight: 800; }
.form-heading > p { margin: 0; color: var(--muted); font-size: 12px; }
.form-heading > p span, label > span[aria-hidden="true"], legend > span { color: var(--error); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 15px; }
.field label, .radio-field legend { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 700; }
.field input {
  width: 100%;
  min-height: 45px;
  padding: 8px 11px;
  color: var(--deep);
  background: #fbfdfd;
  border: 1.5px solid #9eb3b7;
  border-radius: 8px;
}
.field input:hover { border-color: var(--teal); }
.field input:focus { border-color: var(--teal); outline: 3px solid rgba(15,101,117,.18); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-error { min-height: 16px; display: block; margin-top: 2px; color: var(--error); font-size: 12px; line-height: 1.25; }
.radio-field { padding: 0; margin: 12px 0 6px; border: 0; }
.radio-options { display: flex; gap: 8px; }
.radio-options label { cursor: pointer; }
.radio-options input { position: absolute; opacity: 0; pointer-events: none; }
.radio-options span {
  min-width: 68px;
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1.5px solid #9eb3b7;
  border-radius: 999px;
  font-weight: 700;
}
.radio-options input:checked + span { color: white; background: var(--teal); border-color: var(--teal); }
.radio-options input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.consent { position: relative; display: flex; gap: 9px; align-items: flex-start; color: #334e55; font-size: 13px; line-height: 1.45; cursor: pointer; }
.consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}
.consent-box {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  margin-top: 1px;
  color: white;
  background: white;
  border: 2px solid #718b91;
  border-radius: 4px;
}
.consent-box::after { content: "✓"; opacity: 0; font-size: 14px; font-weight: 900; line-height: 1; }
.consent input:checked + .consent-box { background: var(--teal); border-color: var(--teal); }
.consent input:checked + .consent-box::after { opacity: 1; }
.consent input:focus-visible + .consent-box { outline: 3px solid var(--yellow); outline-offset: 2px; }
.consent input[aria-invalid="true"] + .consent-box { border-color: var(--error); }
.consent a { color: #075f72; font-weight: 700; text-underline-offset: 3px; }
.consent-error { margin-right: 27px; }
.turnstile-container { min-height: 0; margin-top: 9px; }
.button-submit {
  width: 100%;
  min-height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 9px 18px;
  color: var(--deep);
  background: var(--yellow);
  border: 0;
  border-radius: 8px;
  font-weight: 800;
}
.button-submit:hover { background: var(--yellow-hover); }
.button-submit:disabled { cursor: wait; opacity: .68; }
.form-note { margin: 7px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.form-status { margin-top: 10px; font-size: 14px; font-weight: 700; }
.form-status.error { padding: 9px; color: var(--error); background: #fff0f0; border-radius: 7px; }
.form-success { min-height: 510px; display: grid; place-content: center; justify-items: center; text-align: center; }
.form-success[hidden] { display: none; }
.success-icon { width: 68px; height: 68px; display: grid; place-items: center; margin-bottom: 22px; color: white; background: var(--success); border-radius: 50%; font-size: 34px; }
.form-success h2 { margin-bottom: 10px; font-size: 30px; }
.form-success p { margin: 0 0 20px; color: var(--muted); }
.text-button { padding: 4px; color: var(--teal); background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; font-weight: 700; }

.site-footer { padding: 24px 0; color: #c5d5d8; background: #061b21; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.footer-brand img { width: 78px; height: auto; }
.footer-inner nav { display: flex; gap: 22px; }
.footer-inner nav a { text-underline-offset: 4px; }
.footer-inner nav a:hover { color: white; }
.footer-inner p { margin: 0; }

/* Privacy and accessibility pages */
.legal-body { background: var(--mist); }
.legal-header { position: static; color: var(--ink); background: white; border-bottom: 1px solid var(--line); }
.legal-header .header-inner { justify-content: space-between; }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: 2px solid var(--teal);
  border-radius: 999px;
  color: var(--teal);
  background: transparent;
  text-decoration: none;
  font-weight: 700;
}
.button:hover { color: white; background: var(--teal); }
.button-small { font-size: 14px; }
.legal-page { padding: 60px 0 90px; }
.legal-card { max-width: 850px; margin-inline: auto; padding: clamp(28px, 6vw, 68px); background: white; border-radius: 20px; box-shadow: 0 15px 50px rgba(4,34,41,.08); }
.legal-page h1 { margin: 0 0 10px; font-size: clamp(36px, 5vw, 54px); }
.legal-updated { margin: 0 0 35px; color: var(--muted); font-size: 14px; }
.legal-page h2 { margin-top: 36px; margin-bottom: 10px; font-size: 24px; }
.legal-page p, .legal-page li { color: #344f57; }
.legal-page a { color: #075f72; font-weight: 700; text-underline-offset: 3px; }
.legal-page li + li { margin-top: 7px; }
.legal-notice { padding: 17px 20px; background: #fff8df; border-right: 4px solid var(--yellow); border-radius: 7px; }

@media (max-width: 880px) {
  .landing { padding-top: 115px; }
  .landing-grid { grid-template-columns: 1fr; gap: 35px; }
  .landing-copy { max-width: 690px; }
  .form-card { max-width: 690px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 24px), var(--container)); }
  .header-inner { min-height: 70px; }
  .brand img { width: 88px; }
  .landing { min-height: 0; padding: 94px 0 26px; align-items: flex-start; }
  .landing-image { object-position: 38% top; }
  .landing-overlay { background: linear-gradient(0deg, rgba(5,31,38,.98) 35%, rgba(5,31,38,.86) 72%, rgba(5,31,38,.7)); }
  .landing-grid { gap: 25px; }
  .landing-copy h1 { margin-bottom: 14px; font-size: 39px; }
  .landing-lead { margin-bottom: 18px; font-size: 17px; line-height: 1.5; }
  .quick-facts { gap: 7px; margin-bottom: 13px; font-size: 14px; }
  .quick-facts span { width: 20px; height: 20px; }
  .details-note { font-size: 12px; }
  .form-card { min-height: 0; padding: 23px 17px 19px; border-radius: 14px; }
  .form-heading { align-items: flex-start; margin-bottom: 18px; }
  .form-heading h2 { font-size: 27px; }
  .field-grid { grid-template-columns: 1fr; gap: 7px; }
  .field input { min-height: 44px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-inner nav { flex-wrap: wrap; justify-content: center; }
  .legal-page { padding: 25px 0 65px; }
  .legal-card { border-radius: 13px; }
  .legal-header .button { padding-inline: 13px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media (forced-colors: active) {
  .landing-overlay { background: rgba(0,0,0,.78); }
  .radio-options input:checked + span { outline: 3px solid CanvasText; }
}
