/* lvad.co.il landing page. Same look as the app's sign-in screen: the dark pump panel and its rotor. */
@font-face { font-family: 'IBM Plex Sans'; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-sans-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Hebrew'; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-hebrew-hebrew-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Hebrew'; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-hebrew-hebrew-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Hebrew'; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-sans-hebrew-hebrew-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Vazirmatn'; font-weight: 400; font-display: swap; src: url(fonts/vazirmatn-arabic-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Vazirmatn'; font-weight: 600; font-display: swap; src: url(fonts/vazirmatn-arabic-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Vazirmatn'; font-weight: 700; font-display: swap; src: url(fonts/vazirmatn-arabic-700-normal.woff2) format('woff2'); }

:root {
  --pump-deep: #0e2a3b;
  --pump-mid: #164257;
  --pump-line: #4a8aa6;
  --flow: #5fd3e3;
  --panel-ink: #e6f4f8;
  --panel-ink-2: #a9c8d4;
  --bg: #f3f5f8;
  --bg-alt: #e8eef2;
  --card: #ffffff;
  --ink: #13232d;
  --ink-2: #44535e;
  --line: #d3dde4;
  --link: #0b5cad;
  --focus: #0b5cad;
  font-family: 'IBM Plex Sans', 'IBM Plex Sans Hebrew', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

:root:lang(ar) {
  font-family: 'Vazirmatn', 'IBM Plex Sans', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  line-height: 1.6;
  font-size: 1.0625rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
}

a {
  color: var(--link);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.hero :focus-visible {
  outline-color: var(--flow);
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--card);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 600;
}

.skip:focus {
  top: 16px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--panel-ink);
  background: radial-gradient(110% 90% at 70% 40%, var(--pump-mid) 0%, var(--pump-deep) 65%);
  padding-bottom: 72px;
}

[dir='rtl'] .hero {
  background: radial-gradient(110% 90% at 30% 40%, var(--pump-mid) 0%, var(--pump-deep) 65%);
}

.hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand__mark {
  width: 34px;
  height: 34px;
  color: var(--flow);
}

.langs {
  display: inline-flex;
  border: 1px solid rgb(230 244 248 / 35%);
  border-radius: 999px;
  padding: 3px;
}

.langs button {
  font: inherit;
  font-size: 0.95rem;
  color: var(--panel-ink);
  background: transparent;
  border: 0;
  border-radius: 999px;
  min-height: 36px;
  padding: 4px 14px;
  cursor: pointer;
}

.langs button:lang(ar) {
  font-family: 'Vazirmatn', sans-serif;
}

.langs button[aria-pressed='true'] {
  background: var(--panel-ink);
  color: var(--pump-deep);
  font-weight: 600;
}

.hero__body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding-top: 40px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--flow);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-wrap: balance;
}

.lead {
  margin: 0 0 32px;
  color: var(--panel-ink-2);
  font-size: 1.15rem;
  max-width: 38em;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn--primary {
  background: var(--flow);
  color: var(--pump-deep);
}

.btn--primary:hover {
  background: #8ae2ee;
}

.btn--ghost {
  color: var(--panel-ink);
  border: 1.5px solid rgb(230 244 248 / 55%);
}

.btn--ghost:hover {
  background: rgb(230 244 248 / 10%);
}

.hero__note {
  margin: 16px 0 0;
  font-size: 0.95rem;
  color: var(--panel-ink-2);
}

.hero__pump {
  display: flex;
  justify-content: center;
}

/* The rotor from the sign-in screen: housing, two flow rings travelling in opposite directions. */
.pump {
  width: min(400px, 100%);
  height: auto;
  overflow: visible;
}

.pump__glow { fill: var(--flow); opacity: 0.08; }
.pump__housing { fill: none; stroke: var(--pump-line); stroke-width: 1.5; }
.pump__flow { fill: none; stroke: var(--flow); stroke-linecap: round; }
.pump__flow--outer { stroke-width: 1.4; stroke-dasharray: 2 13; opacity: 0.75; animation: pump-flow 6s linear infinite; }
.pump__flow--inner { stroke-width: 1; stroke-dasharray: 1 9; opacity: 0.45; animation: pump-flow 9s linear infinite reverse; }
.pump__rotor { animation: pump-spin 14s linear infinite; transform-origin: 0 0; }
.pump__hub-ring { fill: rgb(255 255 255 / 3%); stroke: var(--panel-ink-2); stroke-width: 1; }
.pump__vane { fill: none; stroke: var(--panel-ink); stroke-width: 3.2; stroke-linecap: round; }
.pump__hub { fill: var(--flow); }

@keyframes pump-spin { to { transform: rotate(360deg); } }
@keyframes pump-flow { to { stroke-dashoffset: -150; } }

/* ---------------------------------------------------------------- sections */
.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 32px;
}

.steps,
.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

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

.step,
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}

.step h3,
.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.step p,
.feature p {
  margin: 0;
  color: var(--ink-2);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--pump-deep);
  color: var(--flow);
  font-weight: 700;
}

.feature__icon {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  fill: none;
  stroke: var(--pump-mid);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status {
  border-inline-start: 4px solid var(--pump-line);
  background: var(--card);
  border-radius: 12px;
  padding: 24px 28px;
}

.status h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.status p {
  margin: 0;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  font-size: 0.95rem;
  color: var(--ink-2);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
}

.credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  text-decoration: none;
  min-height: 44px;
}

.credit img {
  display: block;
  height: 24px;
  width: auto;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin: 0;
}

.contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.copy {
  margin: 0;
}

/* ---------------------------------------------------------------- narrow screens and motion */
@media (max-width: 860px) {
  .hero__body {
    grid-template-columns: 1fr;
    padding-top: 8px;
  }
  .hero__pump {
    order: -1;
  }
  .pump {
    width: min(220px, 60vw);
  }
  .steps,
  .features {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 52px 0;
  }
}

@media (max-width: 420px) {
  .wrap {
    padding: 0 16px;
  }
  .langs button {
    padding: 4px 10px;
  }
  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pump__rotor,
  .pump__flow {
    animation: none;
  }
  .btn {
    transition: none;
  }
}
