:root {
  --ink: #16212b;
  --steel: #233240;
  --steel-2: #2f4152;
  --text: #1d2730;
  --muted: #5b6874;
  --line: #e1e5e9;
  --bg: #ffffff;
  --bg-alt: #f3f5f7;
  --accent: #f5a524;
  --accent-ink: #1a1405;
  --term-green: #4ade80;
  --radius: 14px;
  --wrap: 1000px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h2 { font-size: clamp(1.35rem, 2.8vw, 1.6rem); font-weight: 800; margin-bottom: .8em; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Hero (includes the top bar) ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(1200px 500px at 85% -10%, var(--steel-2), transparent 70%),
    var(--ink);
  color: #fff;
  padding: 16px 0 clamp(36px, 6vw, 56px);
}
.hero::after {
  /* פס "סרט אזהרה" עדין בתחתית */
  content: ""; position: absolute; inset: auto 0 0 0; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, var(--ink) 14px 28px);
  opacity: .9;
}
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(16px, 4vw, 40px); }
/* wordmark styled as a shell prompt: "CLI Robotics>_" */
.logo {
  display: flex; align-items: baseline; font-weight: 800; font-size: 1.25rem; letter-spacing: -.03em;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.logo-prompt { color: var(--term-green); position: relative; top: .07em; }   /* the mono ">" sits high next to caps */
.logo-cursor { display: inline-block; width: .55em; height: .14em; background: var(--accent); margin-left: .1em; }
.lang-switch {
  color: rgba(255,255,255,.75); text-decoration: none; font-size: .9rem; font-weight: 500;
  padding: 4px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 6px;
}
.lang-switch:hover { color: #fff; border-color: rgba(255,255,255,.5); }

.eyebrow { color: var(--accent); font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 5vw, 2.9rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .35em; }
.hero h1 .line { display: block; }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: rgba(255,255,255,.78); max-width: 36em; margin-bottom: 24px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 16px; }

/* ---------- Terminal animation ---------- */
.terminal {
  width: 100%; max-width: 440px; justify-self: center;
  background: #0d141a; border: 1px solid #2b3b4a; border-radius: 12px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  font: 13.5px/1.65 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-align: left;
}
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 9px 12px; background: #16212b; border-bottom: 1px solid #22303d; }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4a59; }
.terminal-bar span { margin-left: 8px; color: #7d8b98; font-size: 12px; }
.terminal-body { padding: 14px 16px; color: #c9d3dc; white-space: pre-wrap; }
.terminal-body .ln { min-height: 1.65em; }
.terminal-body .prompt { color: var(--term-green); font-weight: 600; }
.terminal-body .cmd { color: #fff; }
.terminal-body .ok { color: var(--term-green); }
.terminal-body .out { padding-left: 2ch; }
/* the mono font has no Hebrew letters: Hebrew output lines use the site font instead */
:lang(he) .terminal-body .txt { font-family: "Heebo", system-ui, sans-serif; font-size: 1.08em; }
.terminal-body .bar-on { color: var(--accent); }
.terminal-body .bar-off { color: #33424f; }
.terminal-body .cursor {                      /* underscore cursor, like the logo */
  display: inline-block; width: .6em; height: .14em; vertical-align: -.12em; margin-left: 1px;
  background: var(--accent); animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Contact (phone + WhatsApp) ---------- */
.contact-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.phone {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-size: 1.6rem; font-weight: 700; letter-spacing: .01em;
}
.phone svg { width: 24px; height: 24px; color: var(--accent); }
.phone:hover span { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.wa {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3);
  color: #fff; text-decoration: none; font-size: .9rem; font-weight: 500;
}
.wa:hover { border-color: #25d366; }
.wa svg { width: 18px; height: 18px; color: #25d366; }

/* ---------- Sections ---------- */
.section { padding: clamp(32px, 5vw, 48px) 0; }

/* ---------- Team ---------- */
.team { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.member { text-align: center; padding: 22px 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.avatar {
  width: 88px; height: 88px; margin: 0 auto 12px; border-radius: 50%; overflow: hidden;
  background: var(--bg-alt); color: #9aa6b1; display: grid; place-items: center;
  border: 3px solid var(--accent);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar svg { width: 44px; height: 44px; stroke-width: 1.5; }
.member h3 { margin-bottom: 2px; }
.member .role { color: var(--muted); font-size: .95rem; margin: 0; }
.member .linkedin {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  color: #0a66c2; font-size: .9rem; font-weight: 500; text-decoration: none;
}
.member .linkedin:hover { text-decoration: underline; }
.member .linkedin svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.footer { background: #0f171e; color: rgba(255,255,255,.5); font-size: .85rem; padding: 14px 0; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .phone { font-size: 1.35rem; }
  .contact-row { gap: 10px 14px; }
  .hero-grid { grid-template-columns: 1fr; }
  .terminal { margin-top: 8px; font-size: 12px; }

  /* team cards become compact rows: photo beside the text */
  .team { gap: 12px; grid-template-columns: 1fr; }
  .member {
    display: grid; grid-template-columns: 72px 1fr; column-gap: 16px; align-items: center;
    text-align: start; padding: 14px 16px;
  }
  .avatar { grid-row: span 3; width: 72px; height: 72px; margin: 0; }
  .avatar svg { width: 38px; height: 38px; }
  .member .linkedin { margin-top: 4px; justify-self: start; }
}


@media (prefers-reduced-motion: reduce) {
  .terminal-body .cursor { animation: none; }
}
