﻿/* ============================================================
   סגנונות גלובליים — הועתקו מ-agentalk-site-demo.html.
   כאן רק מה שמשותף לכל האתר; סגנונות של סקשן ספציפי יושבים
   scoped בקומפוננטה שלו.
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

/* חץ "קדימה" לפי כיוון הכתיבה — RTL: ←, LTR: → */
:root { --arrow-fwd: "→"; }
html[dir="rtl"] { --arrow-fwd: "←"; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--teal); color: #fff; }
h1, h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.22; letter-spacing: -0.01em; }
.mono { font-family: var(--font-mono); }
/* ל-IBM Plex Mono אין גליפים עבריים — טקסט עברי בתוך .mono נופל ל-monospace של
   המערכת (Courier). אלמנטים שהתוכן שלהם עברי עוברים לפונט הגוף בעמודים בעברית. */
:lang(he) .pop, :lang(he) .credit, :lang(he) .credit-note, :lang(he) .credits-facts .mono { font-family: var(--font-body); }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--teal-deep);
  text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--teal); }

.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  padding: 13px 26px; border-radius: 10px; font-size: 15.5px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.btn-primary { background: var(--teal); color: #04302C; }
.btn-primary:hover { background: var(--teal-bright); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(15, 181, 166, .35); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: var(--line-dark); }
.btn-ghost-dark:hover { border-color: var(--muted-dark); }
.btn-ghost-light { background: transparent; color: var(--ink); border-color: #C9D0CE; }
.btn-ghost-light:hover { border-color: var(--ink); }

section { padding: 96px 0; }
h2 { font-size: clamp(27px, 3.2vw, 38px); color: var(--ink); margin-bottom: 14px; }
.section-lead { font-size: 17px; color: var(--muted); max-width: 62ch; margin-bottom: 54px; font-weight: 300; }

.chip {
  font-family: var(--font-mono); font-size: 11px; padding: 4px 11px; border-radius: 99px;
  border: 1px solid var(--line-dark); color: var(--muted-dark); white-space: nowrap;
}
.chip.teal { color: var(--teal); border-color: rgba(15, 181, 166, .4); }
.chip.light { border-color: #D4DAD8; color: var(--muted); }

/* focus-visible גלובלי לכל אינטראקציה (דרישת נגישות) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   פרוטוקול TODO — טוקן גלוי לנתון חסר. אסור לפרסם עמוד שמכיל
   את הקלאס הזה. כל מופע רשום ב-TODO-DATA.md.
   ============================================================ */
.todo {
  font-family: var(--font-mono);
  font-size: .85em;
  background: var(--todo-bg);
  color: var(--todo-text);
  padding: 2px 8px;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  overflow-wrap: break-word;
  unicode-bidi: plaintext;
}

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