:root {
  color-scheme: light dark;
  --bg: #f2f4f8;
  --surface: #ffffff;
  --ink: #101a2b;
  --muted: #4a586e;
  --rule: #cbd3e1;
  --accent: #2f3fe0;
  --on-accent: #ffffff;
  --font: system-ui, -apple-system, "Segoe UI", "Noto Sans Hebrew", "Arial Hebrew", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1420;
    --surface: #151d2c;
    --ink: #e9eef7;
    --muted: #a3b0c7;
    --rule: #2a3650;
    --accent: #93a2ff;
    --on-accent: #0e1420;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.site-header,
main,
.site-footer {
  width: 100%;
  max-width: 44rem;
  margin-inline: auto;
  padding-inline: 16px;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1.25rem;
  border-block-end: 1px solid var(--rule);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.brand-he {
  font-size: 1.35rem;
}

.brand-en {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.lang-switch {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
}

main {
  padding-block: 2.5rem 3rem;
}

.lang-section + .lang-section {
  margin-block-start: 4rem;
  padding-block-start: 2.5rem;
  border-block-start: 1px solid var(--rule);
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-align: start;
}

.hero-title {
  font-size: clamp(3.25rem, 16vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

h2 {
  margin: 2.25rem 0 0.4rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: start;
}

p,
ul,
ol {
  margin: 0 0 1rem;
  text-align: start;
}

ul {
  padding-inline-start: 1.25rem;
}

li + li {
  margin-block-start: 0.3rem;
}

.lead {
  max-inline-size: 36rem;
  margin-block-end: 1.5rem;
  font-size: 1.25rem;
  line-height: 1.55;
}

.meta-line {
  color: var(--muted);
  font-size: 0.95rem;
}

.steps {
  margin: 0.75rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  min-block-size: 1.6rem;
  margin: 0;
  padding-block: 0.7rem;
  padding-inline-start: 2.6rem;
  border-block-start: 1px solid var(--rule);
}

.steps li:last-child {
  border-block-end: 1px solid var(--rule);
}

.steps li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.85rem;
  inline-size: 1.5rem;
  block-size: 1.5rem;
  border: 2px solid var(--accent);
  border-radius: 5px;
}

.steps li:not(:last-child)::before {
  background: var(--accent);
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-start: 0.5rem;
  inset-block-start: 1.05rem;
  inline-size: 0.5rem;
  block-size: 0.85rem;
  border-right: 2.5px solid var(--on-accent);
  border-bottom: 2.5px solid var(--on-accent);
  transform: rotate(45deg);
}

.steps li:last-child::before {
  border-style: dashed;
  background: transparent;
}

.contact-pending {
  padding: 0.75rem 1rem;
  border: 1px dashed var(--rule);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1.5rem 2.5rem;
  border-block-start: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer nav {
  display: flex;
  gap: 1.25rem;
}

.site-footer p {
  margin: 0;
}
