/* ============================================================
   COZMO — Brand Design System
   Fonts: Rubik (headings + body, Latin) + Assistant (Hebrew)
   ============================================================ */

/* ── Tokens ── */
:root {
  --bg: #fafafa;
  --bg-2: #f0f1ff;
  --panel: #ffffff;
  --line: rgba(63,61,86,.10);
  --line-soft: rgba(63,61,86,.06);
  --text: #3F3D56;
  --muted: #5a5880;
  --faint: #7b79a0;
  --accent: #6366F1;
  --accent-soft: #A5B4FC;
  --accent-deep: #312E81;
  --teal: #2DD4BF;
  --cyan: #22D3EE;
  --amber: #F59E0B;
  --coral: #FF5A5F;
  --pink: #DB2777;
  /* Surface scale — four radii, three elevations. Pick from these; a fifth
     value reads as drift, not intent. */
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(63,61,86,.05);
  --sh-2: 0 14px 34px -18px rgba(63,61,86,.32);
  --sh-3: 0 34px 80px -40px rgba(49,46,129,.45);
  --maxw: 1160px;
  --font-head: 'Rubik','Assistant', system-ui, sans-serif;
  --font: 'Rubik','Assistant', system-ui, sans-serif;
  /* ┌───────────────────────────────────────────────────────────────────────┐
     │  LOGO LOCK — the header wordmark. Fredoka 600.                        │
     │                                                                       │
     │  These two lines are the ONLY switch for the logo's typeface. The      │
     │  site font is Rubik; the logo does not follow it and never should.     │
     │  This is the one place Fredoka is still used anywhere in the project.  │
     │                                                                       │
     │  Do not point --font-logo at --font-head or --font, and do not         │
     │  restyle .brand elsewhere — the enforced block further down will       │
     │  override you and you'll chase it for an hour.                         │
     │                                                                       │
     │  To change the logo deliberately: edit these two lines, then update    │
     │  Brand Book/LOGO-LOCK.md and the type section of brand-book.html.      │
     │  Locked 2026-07-30 at Yael's request.                                  │
     └───────────────────────────────────────────────────────────────────────┘ */
  --font-logo: 'Fredoka', system-ui, sans-serif;
  --font-logo-weight: 600;
  --nav-h: 70px;
  --grad: linear-gradient(120deg, var(--accent), var(--cyan));
  --grad-brand: linear-gradient(95deg, #4F46E5, #6366F1 40%, #38BDF8 72%, #22D3EE);
}

/* Brand-name gradient — wraps "Cozmo" in headings via brand.js */
.cozmo-word {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline;
}
.cta-band .cozmo-word,
.section--ink .cozmo-word {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: inherit;
  color: inherit;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 19px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(99,102,241,.15); }
a { color: inherit; text-decoration: none; }
/* Keyboard focus, in our own colours instead of the browser's system ring.
   :focus-visible only fires for keyboard/AT navigation, never on mouse click. */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible,
summary:focus-visible, [role="button"]:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
/* On ink and gradient surfaces the deep indigo disappears — go light there. */
.section--ink a:focus-visible, .section--ink button:focus-visible,
.cta-band a:focus-visible, .cta-band button:focus-visible,
.announce a:focus-visible, .announce button:focus-visible,
.btn-primary:focus-visible, .btn-accent:focus-visible {
  outline-color: #fff;
}
h1,h2,h3,h4,h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
/* Balanced wrapping for section headings — never leave one word alone on the
   last line. Browsers without text-wrap just wrap normally, so this is safe.
   The home hero (h2.head) sets its own lines and opts out. */
h1, h2, h3, h4 { text-wrap: balance; }
.head, .head .ln { text-wrap: initial; }
/* A <br> inside a heading switches balancing off in Chrome, so a headline that
   wants one line per sentence uses .hl blocks instead — each sentence then
   balances on its own. */
h1 > .hl, h2 > .hl, h3 > .hl { display: block; }
/* Statement paragraphs — display copy, not reading copy. Each sentence group
   gets its own line, so a new sentence never starts mid-line. Mobile flows
   normally: the breaks would only make short ragged lines there. */
@media (min-width: 961px) {
  p > .hl { display: block; }
}
img, svg { max-width: 100%; display: block; }

/* ── Layout ── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.center { text-align: center; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 48px; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 40px; }
.g-2 { grid-template-columns: 1fr 1fr; }
.g-3 { grid-template-columns: repeat(3,1fr); }
.g-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 1040px){ .g-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .g-4 { grid-template-columns: 1fr; } }

/* ── Background FX ── */
.bg-fx {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(65% 55% at 50% -5%, rgba(99,102,241,.20), transparent 70%),
    radial-gradient(40% 40% at 88% 5%, rgba(34,211,238,.16), transparent 65%),
    radial-gradient(35% 30% at 8% 12%, rgba(91,79,224,.10), transparent 60%),
    radial-gradient(34% 34% at 90% 92%, rgba(244,63,94,.10), transparent 62%),
    radial-gradient(30% 30% at 10% 82%, rgba(45,212,191,.10), transparent 62%);
}
/* Hero nebula canvas — stays anchored at the top, but its bottom edge
   dissolves so it doesn't cut a hard line across the page. */
#bgGL {
  -webkit-mask: linear-gradient(to bottom, #000 50%, transparent 90%);
          mask: linear-gradient(to bottom, #000 50%, transparent 90%);
}

/* ── Nebula decorations ── */
.nebula-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: -1;
}
@media (prefers-reduced-motion: reduce) {
  .nebula-deco { opacity: 0 !important; }
}

/* ── Eyebrow ── */
.eyebrow {
  font-size: 14px; font-weight: 700; letter-spacing: .10em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px; display: block;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px;
  font-weight: 700; font-size: 16px; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap; font-family: var(--font);
}
.btn-lg { padding: 15px 30px; font-size: 17px; }
.btn-primary { background: linear-gradient(110deg, #6366F1, #818CF8); background-clip: padding-box; border-color: transparent; color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(99,102,241,.35); }
.btn-ghost { background: rgba(63,61,86,.05); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: rgba(63,61,86,.09); }
.btn-accent { background: var(--grad); background-clip: padding-box; border-color: transparent; color: #fff; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(99,102,241,.30); }
.btn-secondary { background: rgba(99,102,241,.07); color: var(--accent); border-color: rgba(99,102,241,.18); font-size: 14px; padding: 8px 16px; border-radius: var(--r-sm); }
.btn-onlight, .btn-onlight-light { background: #fff; background-clip: padding-box; border-color: transparent; color: var(--accent-deep); font-weight: 700; }
.btn-onlight:hover, .btn-onlight-light:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.btn-onink { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.28); font-size: 14px; padding: 9px 20px; border-radius: var(--r-sm); }
.btn-onink:hover { background: rgba(255,255,255,.2); }

/* ── Arrow link ── */
.arrow-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-weight: 700; font-size: 16px;
  transition: gap .2s;
}
.arrow-link::after { content: '→'; }
.arrow-link:hover { gap: 10px; }

/* ── Announcement ── */
.announce-wrap { background: var(--grad); position: relative; z-index: 200; }
.announce {
  display: flex; align-items: center; justify-content: center;
  padding: 10px 48px; gap: 10px; min-height: 44px;
}
.announce-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.7); flex: none;
  animation: blink 1.6s infinite;
}
.announce-inner { font-size: 14px; color: #fff; font-weight: 600; text-align: center; }
.announce-inner a { color: #fff; text-decoration: underline; opacity: .9; }
.announce-close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; opacity: .8;
}

/* ── Nav ── */
header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
header.scrolled {
  background: rgba(250,250,250,.90);
  backdrop-filter: blur(16px);
  border-color: var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; gap: 4px; height: var(--nav-h);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-size: 32px; line-height: 1;
  color: var(--text); flex: none; margin-right: 16px;
}
/* Scale logo icon to text height so the brand box doesn't balloon above the line */
.brand svg { height: 1.05em; width: auto; }

/* ── LOGO LOCK · enforced ──────────────────────────────────────────────────
   The wordmark's identity, held against everything downstream: later rules,
   page-level <style> blocks, and inherited typography from a parent.

   font-synthesis:none matters — without it, a browser that fails to load
   Fredoka will faux-bold a fallback face and quietly ship a fake wordmark.
   The neutralised properties below exist because each one is set somewhere
   else in the codebase and would otherwise leak in.

   Change the logo via --font-logo / --font-logo-weight in :root, not here. */
/* The repeated class is deliberate, not a typo. It raises specificity to
   (0,3,2) so this block also outranks a hand-written descendant selector
   carrying !important — e.g. `.nav-inner .brand{font-weight:300!important}`,
   which ties plain `html body .brand` and then wins on cascade order.
   Verified against seven override attempts; see Brand Book/LOGO-LOCK.md. */
html body .brand.brand.brand,
html body .footer-brand .brand.brand.brand {
  font-family: var(--font-logo) !important;
  font-weight: var(--font-logo-weight) !important;
  /* All of these are !important on purpose. Tested: without it a stray
     .brand{letter-spacing:.4em;text-transform:uppercase} wins on specificity
     and deforms the wordmark even while the typeface itself holds. */
  font-synthesis: none !important;
  font-style: normal !important;
  font-variant: normal !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  text-transform: none !important;
  font-feature-settings: normal !important;
  font-variation-settings: normal !important;
}
.nav-menu { display: flex; align-items: center; gap: 2px; flex: 1; padding-top: 6px; }
.nav-item { position: relative; }
.nav-link {
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 17px; font-weight: 600;
  color: var(--text); padding: 8px 13px; border-radius: var(--r-sm);
  display: flex; align-items: center; gap: 5px; white-space: nowrap; line-height: 1;
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.open { color: var(--text); background: rgba(63,61,86,.05); }
.caret {
  display: inline-block; width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; margin-top: 1px; transition: transform .2s;
}
.nav-link.open .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: 8px;
  min-width: 240px; box-shadow: var(--sh-2);
  display: none; flex-direction: column; gap: 2px; z-index: 200;
}
.dropdown.open { display: flex; }
.dropdown a { padding: 10px 14px; border-radius: var(--r-sm); display: block; transition: background .15s; }
.dropdown a:hover { background: rgba(99,102,241,.06); }
.dropdown a strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.dropdown a span { font-size: 12.5px; color: var(--faint); margin-top: 1px; display: block; }
/* Industries mega menu (two-column) */
.dropdown--mega { flex-direction: row; gap: 0; padding: 0; min-width: 520px; overflow: hidden; }
.mega-all {
  flex: 0 0 210px; display: flex; flex-direction: column; justify-content: space-between;
  padding: 20px 18px !important; border-radius: 0 !important;
  background: linear-gradient(160deg, rgba(99,102,241,.10), rgba(56,189,248,.08));
  border-right: 1px solid var(--line-soft);
}
.mega-all-top { display: block; }
.mega-all strong { display: block; font-size: 16px; font-weight: 800; color: var(--text); }
.mega-all em {
  display: block; font-style: normal; font-size: 13px; font-weight: 700;
  color: var(--accent-deep); margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line-soft);
}
.mega-list { flex: 1; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-label {
  grid-column: 1 / -1; font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--faint); padding: 6px 12px 4px;
}
.mega-list a { padding: 9px 12px; border-radius: var(--r-sm); display: block; transition: background .15s; }
.mega-list a:hover { background: rgba(99,102,241,.06); }
.mega-list a strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--text); }
@media (max-width: 900px) {
  .dropdown--mega { flex-direction: column; min-width: 0; }
  .mega-all { flex: none; border-right: none; border-bottom: 1px solid var(--line-soft); padding: 14px !important; }
  .mega-list { grid-template-columns: 1fr; }
}
.nav-login {
  font-size: 15px; font-weight: 600; color: var(--muted);
  padding: 8px 14px; border-radius: var(--r-sm); margin-left: auto; transition: color .2s;
}
.nav-login:hover { color: var(--text); }
.nav-cta { margin-left: 8px; padding: 9px 18px; font-size: 14px; border-radius: var(--r-sm); }

/* ── AIRY NAV LINE · desktop only ──────────────────────────────────────────
   השורה הרחבה והמרווחת של התפריט (בהשראת scytale):
   הלוגו בקצה שמאל, הפריטים פרושים באוויר במרכז, Log in + כפתור בקצה ימין.

   למה צריך wrap רחב יותר: ה-header חלק מ-.wrap של 1160px, ורוחב התפריט
   עצמו הוא ~1056px — כלומר נשארו ~50px "אוויר" בלבד, ולכן הפריטים נצמדו
   ללוגו. רק ל-header נותנים מכל רחב יותר; תוכן העמודים נשאר 1160px.

   הריווח נעשה ב-margin-left:auto על כל פריט (ולא ב-gap קבוע) בכוונה:
   פלקסבוקס מחלק את האוויר הפנוי שווה בשווה בין כל ה-auto — וכשאין
   אוויר (חלון צר, 1081–1200px) הם מתכווצים לאפס מעצמם. עם gap קבוע
   השורה הייתה חורגת מהמסך בדיוק בטווח הזה. ה-max-width של 1440px
   הוא מה שעוצר את הריווח מלהתרחב בלי סוף במסך רחב מאוד.

   מתג כיבוי: מוחקים את הבלוק הזה — התפריט חוזר לצמוד כשהיה. */
@media (min-width: 1081px) {
  .nav-menu > .nav-item { margin-left: auto; }
  .nav-login { margin-left: auto; }

  /* ── פס זכוכית מרחף ──────────────────────────────────────────────────
     שתי התכונות שאהבת בצילום, ושלא היו לנו:
     (1) זכוכית — פס שקוף-למחצה עם טשטוש, שהתוכן נגלל מתחתיו ונראה דרכו.
         קודם ה-header היה שקוף לגמרי בראש העמוד ונצבע בלבן אטום רק
         בגלילה (header.scrolled), ולכן זה נראה כמו רצועה לבנה.
     (2) מרחף — לא צמוד לגג המסך: יש רווח מלמעלה ומהצדדים, פינות
         מעוגלות וצל רך, כך שהפס "שוכב" מעל העמוד.

     שני מצבים:
     • בראש העמוד — הפס *צמוד לבאנר*: רוחב מלא, בלי רווח, בלי פינות.
     • ברגע שמתחילים לגלול (brand.js מוסיף .scrolled מעל 20px) — הוא
       מתרומם ומרחף: מתכנס מהצדדים, מתעגל ומקבל צל.

     ── למה הזכוכית על ::after ולא על ה-header עצמו ──
     בגרסה הראשונה נתתי ל-header padding בגלילה, וזה גרם *רעידה* בתחילת
     הגלילה: גובה ה-header גדל ב-24px, כל התוכן שמתחתיו זז, וזה קרה
     בדיוק ברגע שחוצים את סף 20px — כלומר ההזזה עצמה שינתה מה נמצא
     בפריים. הפתרון: גובה ה-header *קבוע לגמרי* (padding אחיד בשני
     המצבים), והפס הוא שכבה נפרדת — ::after ממוקם absolute מאחורי
     התוכן. מה שמונפש הוא רק ה-inset/פינות/צל שלו, שלא נוגעים בפריסת
     העמוד בכלל, ולכן אין קפיצה ואין reflow תוך גלילה.

     ה-inset בגלילה מחושב כך שהפס יוצא *בדיוק* בגודל ה-.wrap שבתוכו
     (24px מהצד בחלון צר, ובמסך רחב חצי מהעודף מעל 1392px) — כך הלוגו
     והתפריט תמיד יושבים באותו מרחק מדופן הפס.

     בונוס: מכיוון שהטשטוש כבר לא על אלמנט-אב של .nav-menu, הטכניקה
     הזאת גם פותרת את באג הוובקיט שמנע ממנה לרוץ במובייל — אם תרצי,
     אפשר להפעיל אותה שם באותה צורה. */

  /* גובה קבוע בשני המצבים — זה מה שמונע את הרעידה.
     חובה לכתוב כאן גם header.scrolled: לכלל הבסיסי למעלה
     (header.scrolled{background:rgba(250,250,250,.9);backdrop-filter:blur(16px)})
     יש עוצמה גבוהה יותר מ-header לבד, ו-media query לא מוסיף עוצמה —
     בלי זה חוזר בגלילה רקע לבן ברוחב מלא, כלומר "פס מאחורי הפס". */
  header, header.scrolled {
    padding: 10px 0;
    background: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    border-bottom-color: transparent;
    box-shadow: none;
  }
  #header .wrap { max-width: min(1392px, calc(100% - 48px)); }

  /* מצב א' — בראש העמוד: זכוכית ברוחב מלא, צמודה לבאנר */
  header::after {
    content: ''; position: absolute; z-index: -1; pointer-events: none;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(252,252,255,.62);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
            backdrop-filter: blur(22px) saturate(150%);
    border: 1px solid transparent; border-radius: 0;
    transition: top .32s cubic-bezier(.4,0,.2,1), bottom .32s cubic-bezier(.4,0,.2,1),
                left .32s cubic-bezier(.4,0,.2,1), right .32s cubic-bezier(.4,0,.2,1),
                border-radius .32s cubic-bezier(.4,0,.2,1),
                background .3s, box-shadow .32s, border-color .3s;
  }

  /* ── פס הגרדיאנט של המותג מתחת לפריט ─────────────────────────────────
     כמו באתר של Howazit: הפריט שנמצאים בו (ובריחוף) מקבל פס דק בגרדיאנט
     המותג מתחתיו. את הפריט הנוכחי מסמן brand.js לפי כתובת העמוד
     (class .is-current), כי ה-nav כתוב ידנית ב-33 העמודים ואין בו סימון.

     כיביתי כאן את ריבוע-הרקע האפור שהיה בריחוף: עם הזכוכית מתחת הוא
     יצא עכור, ועכשיו הפס הוא הסימון. להחזיר = למחוק את השורה
     .nav-link:hover,.nav-link.open{background:none}. */
  .nav-link { position: relative; }
  .nav-link:hover, .nav-link.open { background: none; }
  .nav-link::after {
    content: ''; position: absolute; left: 13px; right: 13px; bottom: 1px;
    height: 3px; border-radius: 3px; background: var(--grad-brand);
    transform: scaleX(0); transition: transform .22s cubic-bezier(.4,0,.2,1);
  }
  .nav-link:hover::after,
  .nav-link.open::after,
  .nav-item.is-current > .nav-link::after { transform: scaleX(1); }

  /* ── תפריט מורף · וריאציית "רך ואיטי" ────────────────────────────────
     בהשראת ramp.com (שם זה Radix NavigationMenu). במקום שלכל פריט יהיה
     לוח שנדלק ונכבה, יש לוח אחד משותף (.nav-vp) שנשאר על המסך כל זמן
     שהעכבר בשורה, ומשנה גודל ומקום בין הפריטים; התוכן מחליק פנימה
     לכיוון התנועה. brand.js הוא שמזיז את ה-.dropdown הקיימים לתוך הלוח
     בדסקטופ, ומחזיר אותם למקום במובייל (שם הם אקורדיון) — ראי navMorph.

     הערכים כאן הם הווריאציה שבחרת בדמו (yaels/nav-morph-demo.html):
     0.42s, האטה רכה, החלקה של 22px. הזמנים של השהיית הפתיחה/סגירה
     יושבים ב-brand.js (120ms / 240ms) כדי שהכל יהיה עקבי. */
  .nav-inner { position: relative; }
  .nav-vp {
    --morph: .42s; --ease: cubic-bezier(.22,1,.36,1); --fade: .26s; --slide: 22px;
    position: absolute; top: calc(100% + 2px); left: 0; z-index: 200;
    width: 0; height: 0; overflow: hidden;
    background: var(--panel); border: 1px solid var(--line-soft);
    border-radius: var(--r); box-shadow: var(--sh-2);
    opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.985);
    transition: width var(--morph) var(--ease), height var(--morph) var(--ease),
                left var(--morph) var(--ease), opacity var(--fade) ease,
                transform var(--fade) ease, visibility 0s linear var(--fade);
  }
  .nav-vp.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  /* בתוך הלוח: הלוחות תמיד "מסודרים" (כדי שנוכל למדוד אותם), והמסגרת
     של כל אחד מבוטלת — המסגרת היא של הלוח המשותף. */
  .nav-vp .dropdown {
    position: absolute; top: 0; left: 0; display: flex !important;
    width: max-content; background: none; border: none; box-shadow: none;
    border-radius: 0; opacity: 0; pointer-events: none;
    transform: translateX(var(--from, 0));
    transition: opacity var(--fade) ease, transform var(--fade) var(--ease);
  }
  .nav-vp .dropdown.is-active { opacity: 1; pointer-events: auto; transform: none; }
  .nav-vp .dropdown--mega { width: 520px; }
  /* כשלוח פתוח, הפס של העמוד הנוכחי נחלש — כדי שלא ידלקו שני פסים
     באותה עוצמה (אחד "איפה אני" ואחד "על מה אני מרחפת"). */
  .nav-menu.has-open .nav-item.is-current > .nav-link::after { opacity: .3; }
  .nav-link::after { transition: transform .22s cubic-bezier(.4,0,.2,1), opacity .2s; }

  /* מצב ב' — בגלילה: אותה שכבה מתכנסת לפס מרחף */
  header.scrolled::after {
    top: 10px; bottom: 10px;
    left: max(24px, calc((100% - 1392px) / 2));
    right: max(24px, calc((100% - 1392px) / 2));
    background: rgba(252,252,255,.78);
    border-color: rgba(255,255,255,.65);
    border-radius: 20px;
    box-shadow: 0 14px 34px -22px rgba(48,46,80,.45);
  }

  /* ── לפטופ צר (1081–1240) ─────────────────────────────────────────────
     הפס המרחף "אוכל" 48px מהרוחב, והשורה עצמה צריכה ~1056px — בלי טיפול
     היא חורגת מהמסך וגוררת גלילה אופקית.

     בקשה של Yael: הטיפוגרפיה לא מוקטנת בשום רוחב. לכן קונים את הרוחב
     מהריווחים בלבד: הפס מתקרב לקצוות (12px במקום 24), ה-padding של המכל
     מצטמצם, והריווח הפנימי של הפריטים מתהדק ב-4px מכל צד.
     החשבון ברוחב 1081px (הצר ביותר שבו השורה עוד מוצגת):
     1057 מכל − 24 padding = 1033 פנוי, מול שורה של ~1008 → נכנס.

     הבלוק הזה חייב לשבת *בסוף* בלוק הדסקטופ: לכללים שלמעלה יש בדיוק אותה
     עוצמה (#header .wrap, header.scrolled::after), ובעוצמה שווה מנצח מי
     שכתוב אחרון. media query מקונן לא מוסיף עוצמה. */
  @media (max-width: 1240px) {
    #header .wrap { max-width: calc(100% - 24px); padding: 0 12px; }
    header.scrolled::after { left: 12px; right: 12px; }
    .nav-link { padding: 8px 9px; }
    .nav-link::after { left: 9px; right: 9px; }
    .nav-login { padding: 8px 10px; }
    .nav-cta { margin-left: 4px; padding: 9px 15px; }
  }
  /* ב-1081px השורה נכנסת *בדיוק* לרוחב, בלי פיקסל עודף — ולפני שהגופן
     Rubik נטען הטקסט נמדד בגופן חלופי ויכול לצאת רחב יותר לרגע. עוד 2px
     מכל צד של פריט (≈24px בסך הכל) הם כרית הביטחון לרגע ההזה. */
  @media (max-width: 1160px) {
    .nav-link { padding: 8px 7px; }
    .nav-link::after { left: 7px; right: 7px; }
  }
}

/* ── Sections ── */
/* Section stripes — tinted stripes use soft multi-color washes; plain
   .section stays clean flat white, for a mixed wash / flat rhythm.
   The wash lives on a ::before that fades out at the top/bottom edges,
   so each stripe dissolves into its neighbour instead of a hard cut. */
.section { padding: 96px 0; }
.section--tight { padding: 56px 0; }
.section--mist, .section--alt { position: relative; isolation: isolate; }
.section--mist::before, .section--alt::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask: linear-gradient(to bottom, transparent 0, #000 45%, #000 55%, transparent 100%);
          mask: linear-gradient(to bottom, transparent 0, #000 45%, #000 55%, transparent 100%);
}
.section--mist::before {
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(99,102,241,.26), transparent 62%),
    radial-gradient(70% 120% at 100% 100%, rgba(34,211,238,.22), transparent 62%),
    radial-gradient(60% 90% at 50% 50%, rgba(244,63,94,.05), transparent 70%),
    rgba(99,102,241,.05);
}
.section--alt::before {
  background:
    radial-gradient(75% 120% at 100% 0%, rgba(45,212,191,.28), transparent 62%),
    radial-gradient(70% 120% at 0% 100%, rgba(99,102,241,.18), transparent 62%),
    radial-gradient(55% 90% at 40% 60%, rgba(34,211,238,.14), transparent 70%),
    rgba(45,212,191,.05);
}
.section--ink { background: var(--accent-deep); color: #fff; }
.section--ink .eyebrow { color: var(--teal); }
.section--ink h2 { color: #fff; }
.section--ink .lead { color: rgba(255,255,255,.78); }
.section-head { max-width: 740px; margin: 0 auto; text-align: center; }
/* A statement paragraph that needs its first sentence group on one line. */
.section-head--wide { max-width: 790px; }
.section-head.center { margin: 0 auto; }
/* Section heads inside feature rows stay left-aligned */
.fr-text .section-head,
.hero-split .section-head { text-align: left; margin: 0; }
/* Hero-centered section-heads stay centered */
.hero-centered .section-head { margin: 0 auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 16px; }
.lead { font-size: 19px; color: var(--muted); line-height: 1.6; }
/* קישור *בתוך משפט* בפסקת lead.
   הכלל הבסיסי של האתר הוא a{color:inherit;text-decoration:none} — וזה נכון
   לרכיבים (כרטיסים, תפריט, כפתורים), שם הקישור הוא כל האזור. אבל בתוך
   משפט זה משאיר את הקישור זהה לחלוטין לטקסט סביבו: בעמוד Legal הפסקה
   "we're one email away: info@howazit.com. You can also request security
   docs directly" נראתה כמו טקסט מת — אי אפשר היה לדעת שיש שם שני קישורים.
   הצבע לבד לא מספיק (נגישות), ולכן גם קו תחתון עדין.
   .legal-prose a כבר צבוע — זה משלים את פסקות ה-lead (9 עמודים). */
.lead a:not(.btn):not(.arrow-link) {
  color: var(--accent-deep); font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(99,102,241,.42);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  word-break: break-word;                 /* כתובות מייל ארוכות לא שוברות פריסה */
  transition: color .2s, text-decoration-color .2s;
}
.lead a:not(.btn):not(.arrow-link):hover {
  color: var(--accent); text-decoration-color: currentColor;
}
/* על רקע כהה ה-accent-deep לא נקרא */
.section--ink .lead a:not(.btn):not(.arrow-link) {
  color: #fff; text-decoration-color: rgba(255,255,255,.55);
}

/* ── Hero (centered, index style) ── */
.hero-centered {
  padding: 120px 0 80px;
  text-align: center; position: relative;
}
.hero-centered h1 {
  font-size: clamp(46px, 6.5vw, 82px);
  font-weight: 700; letter-spacing: -.02em; margin-bottom: 26px;
}
/* No dynamic element beside the copy → let the row breathe across the width
   instead of squeezing it into a narrow centered column. The headline spans
   the full row so it stays on fewer lines; the lead keeps a readable measure. */
.hero-centered .section-head { max-width: none; }
.hero-centered .lead { max-width: 820px; margin: 0 auto 36px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  font-size: 14px; font-weight: 800; margin-top: 20px; }
.hero-note .hn-dot { color: var(--faint); font-weight: 800; }
.hero-note span:not(.hn-dot) { white-space: nowrap;
  background: linear-gradient(90deg, #4F46E5, #6366F1, #22D3EE);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; }

/* ── Hero (split, 2-col) ── */
.hero-split {
  padding: 80px 0 72px; position: relative;
}
/* The copy track is the wide one. A 50/50 split cramps the headline into four
   ragged lines while the viz floats in half a screen of air — the headline gets
   the room, the viz keeps only what its card needs. */
.hero-split .hero-grid {
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 48px; align-items: center;
}
/* Stage-first heroes (viz left, copy right) keep the copy on the wide track. */
.hero-split .hero-grid--rev { grid-template-columns: 1fr 1.6fr; }
.hero-split h1 {
  font-size: clamp(40px, 5.5vw, 70px);
  font-weight: 700; letter-spacing: -.02em; margin-bottom: 24px;
}
/* Headline line control, desktop only — mobile wraps naturally.
   .pay-line drops the gradient payoff phrase onto its own line so the emphasis
   never splits mid-phrase; br.hb sets a break the copy reads better with.
   Only use .pay-line where the payoff phrase fits one line (≤ ~9em). */
@media (min-width: 961px) {
  .hero-split h1.pay-line > .grad-text { display: block; }
  /* Keeps a hyphenated word whole — browsers happily break after a hyphen.
     Desktop only: on a narrow phone the break is what keeps it on screen. */
  .hero-split h1 .nb { white-space: nowrap; }
}
@media (max-width: 960px) {
  .hero-split h1 br.hb { display: none; }
}
/* ── Headline size steps ──
   A hero headline gets 2–3 lines, never more, and a line never starts in the
   middle of a sentence. Long copy earns a step down rather than a fourth line.
   Each step keeps the 70px/5.5vw ratio, so the fluid behaviour is identical.
   Pick the LARGEST step that lands the headline in 2–3 clean lines. */
h1.h1-s62 { font-size: clamp(38px, 4.9vw, 62px); }
h1.h1-s56, .hero-split h1.h1-long { font-size: clamp(36px, 4.4vw, 56px); }
h1.h1-s50 { font-size: clamp(34px, 3.9vw, 50px); }
h1.h1-s46 { font-size: clamp(32px, 3.6vw, 46px); }
.hero-split .lead { margin-bottom: 32px; max-width: 500px; }
/* A hero with no CTA row shouldn't carry the same bottom air as one with
   buttons — without this the copy ends in a dead band. */
.hero-split .lead:last-child { margin-bottom: 0; }
.hero-split:not(:has(.hero-ctas)) { padding-bottom: 40px; }

/* ── Grad text ──
   Emphasis for the payoff phrase of a headline. One per headline — the gradient
   only reads as emphasis while the rest of the line stays solid. */
.grad-text {
  background: linear-gradient(110deg, var(--accent) 20%, var(--cyan) 80%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* The gradient lives on the text fill, so anything that can't clip a background
   to glyphs would render the phrase invisible. These keep it legible instead. */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad-text { -webkit-text-fill-color: currentColor; color: var(--accent); background: none; }
}
@media (forced-colors: active) {
  .grad-text { -webkit-text-fill-color: currentColor; color: CanvasText; background: none; }
}
@media print {
  .grad-text { -webkit-text-fill-color: currentColor; color: #000; background: none; }
}

/* ── Badge ── */
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: rgba(63,61,86,.04); border: 1px solid var(--line);
  font-size: 13px; color: var(--muted); margin-bottom: 28px;
}
.badge-pill b {
  background: var(--grad); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 9px;
  border-radius: 999px; letter-spacing: .02em;
}

/* ── Action Card ── */
.acard {
  border: 2px solid transparent; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(#fff,#fff) padding-box, linear-gradient(140deg,#6366F1 0%,#2DD4BF 55%,#22D3EE 100%) border-box;
  box-shadow: 0 26px 64px -22px rgba(99,102,241,.32), 0 16px 40px -20px rgba(63,61,86,.12);
}
.acard-hd {
  display: flex; align-items: center; gap: 10px;
  background: rgba(63,61,86,.02); padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.acard-tag { font-size: 12px; font-weight: 700; color: var(--text); }
.ac-badge {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#6366F1,#22D3EE); color: #fff;
  box-shadow: 0 6px 12px -6px rgba(99,102,241,.6);
}
.ac-badge svg { width: 14px; height: 14px; }
.til-ic { flex: none; margin-right: 5px; vertical-align: -3px; }
.acard-explain .til-ic { vertical-align: -2px; }
.acard-status {
  margin-left: auto; display: inline-flex; align-items: center;
  gap: 7px; font-size: 12px; color: var(--teal); font-weight: 700;
}
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot--mint { background: var(--teal); animation: blink 1.6s infinite; }
.dot--amber { background: var(--amber); }
.dot--coral { background: var(--coral); animation: blink 1.6s infinite; }
.dot--blue { background: var(--accent); }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.acard-bd { padding: 18px; }
.acard-bd h3 { font-size: 18px; margin-bottom: 10px; }
.acard-sub { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.acard-tiles { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px; }
.acard-tiles.cols-2 { grid-template-columns: repeat(2,1fr); }
.acard-tiles.cols-1 { grid-template-columns: 1fr; }
.tile {
  border-radius: 14px; padding: 2px; border: 1.5px solid transparent;
  background: linear-gradient(#fff,#fff) padding-box, linear-gradient(135deg,#6366F1,#2DD4BF,#22D3EE) border-box;
  box-shadow: 0 8px 20px -12px rgba(99,102,241,.35);
}
.tile-inner { padding: 12px; }
.ic-badge {
  width: 22px; height: 22px; border-radius: 7px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#6366F1,#22D3EE); color: #fff; margin-bottom: 7px;
}
.ic-badge svg { width: 12px; height: 12px; display: block; }
.tile-label { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 6px; color: var(--accent-deep); }
.tile-val { font-family: var(--font-head); font-size: 24px; font-weight: 700; letter-spacing: -.01em; color: var(--accent-deep); }
.tile-body { font-size: 13.5px; color: var(--text); line-height: 1.45; }
.tile-sub { font-size: 11.5px; color: var(--faint); margin-top: 3px; }
.acard-explain {
  padding: 11px 13px;
  background: rgba(99,102,241,.09); border: 1px solid transparent;
  border-radius: var(--r-sm); font-size: 13.5px; color: var(--muted); margin-bottom: 14px;
}
.acard-explain .tile-label { display: inline; margin-right: 6px; }
.acard-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.acard-meta { font-size: 12px; color: var(--faint); }
.acard-foot .sb-ring {
  display: inline-block; --sb-inset: -3px; --sb-radius: 15px;
  transition: transform .2s ease;
}
.acard-foot .sb-ring:hover { transform: scale(1.08); }
.acard-foot .btn-primary, .acard-foot .btn-accent {
  background: var(--panel); color: var(--accent); box-shadow: none;
}
.acard-foot .btn-primary:hover, .acard-foot .btn-accent:hover {
  transform: none; box-shadow: none; background: var(--panel);
}
.drawer { margin: 8px 0; }
.drawer-btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 14px; font-weight: 700;
  color: var(--accent); display: flex; align-items: center; gap: 6px; padding: 0;
}
.drawer-panel {
  display: none; padding: 14px; margin-top: 8px;
  background: rgba(63,61,86,.03); border-radius: 10px;
  border: 1px solid var(--line-soft);
  font-size: 13px; color: var(--muted);
}
.drawer-panel.open { display: block; }
.drawer-panel ul { list-style: none; padding: 0; }
.drawer-panel li { margin-bottom: 8px; line-height: 1.5; }
.drawer-panel strong { color: var(--text); }

/* ── Spinning gradient border (AI-generated content marker) ── */
@property --border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.sb-ring { position: relative; }
.sb-ring::before {
  content: ''; position: absolute; pointer-events: none;
  inset: var(--sb-inset, -3px); border-radius: var(--sb-radius, var(--r-lg));
  background: conic-gradient(from var(--border-angle), var(--accent), var(--cyan), var(--teal), var(--accent-soft), var(--accent));
  animation: sb-spin 5s linear infinite;
}
.sb-ring > * { position: relative; }
@keyframes sb-spin { to { --border-angle: 360deg; } }

/* ── Logo bar ── */
.logobar { text-align: center; }
.logobar-eyebrow { font-size: 13px; color: var(--faint); margin-bottom: 24px; }
.logobar-track-wrap { overflow: hidden; mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent); }
.logobar-track { display: flex; gap: 48px; width: max-content; animation: marquee 28s linear infinite; }
.logobar-track:hover { animation-play-state: paused; }
.logo-ph { display: flex; align-items: center; gap: 9px; opacity: .45; flex: none; }
.logo-ph-mark { width: 28px; height: 28px; background: var(--muted); border-radius: 5px; flex: none; }
.logo-ph-mark.round { border-radius: 50%; }
.logo-ph-mark.diamond { border-radius: 5px; transform: rotate(45deg); width: 22px; height: 22px; }
.logo-ph-name { font-weight: 700; font-size: 15px; color: var(--muted); white-space: nowrap; }
.logobar-note { font-size: 11.5px; color: var(--faint); margin-top: 20px; }
@keyframes marquee { 0% { transform: translateX(0) } 100% { transform: translateX(-50%) } }

/* ── Feature row ── */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.fr-text h2 { font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 14px; }
.fr-text h3 { font-size: clamp(22px, 3vw, 34px); margin-bottom: 14px; }
.fr-text .lead { margin-bottom: 20px; }
.fr-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.fr-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; color: var(--muted); }
.fr-list li::before {
  content: '✓'; display: inline-block; width: 20px; height: 20px;
  background: var(--grad); color: #fff; border-radius: 50%;
  font-size: 11px; font-weight: 900; flex: none; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
}

/* ── Experience Replay ── */
.replay {
  display: grid; grid-template-columns: repeat(6,1fr); gap: 16px;
}
.replay-stage {
  --sb-inset: -3px; --sb-radius: 21px;
  animation: stagePulse 9s ease-in-out infinite;
}
.replay-stage::before {
  opacity: .45;
  animation: stageBorderPulse 9s ease-in-out infinite;
}
.replay-stage-inner {
  position: relative; z-index: 1; height: 100%;
  background: var(--panel); border-radius: var(--r);
  padding: 28px 20px;
  box-shadow: var(--sh-2);
}
.replay-node { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); margin-bottom: 16px; }
.replay-stage .tile-label { color: var(--accent); margin-bottom: 8px; font-size: 13px; }
.replay-stage h4 { font-size: 24px; margin-bottom: 6px; }
.replay-stage p { font-size: 16px; color: var(--faint); }
.replay-caption { text-align: center; font-size: 19px; font-weight: 800; margin-top: 26px; }

@keyframes stagePulse {
  0% { transform: scale(1); }
  6% { transform: scale(1.06); }
  14% { transform: scale(1); }
  100% { transform: scale(1); }
}
@keyframes stageBorderPulse {
  0% { opacity: .45; }
  6% { opacity: 1; }
  14% { opacity: .45; }
  100% { opacity: .45; }
}
.replay-stage:nth-child(1), .replay-stage:nth-child(1)::before { animation-delay: 0s; }
.replay-stage:nth-child(2), .replay-stage:nth-child(2)::before { animation-delay: 1.5s; }
.replay-stage:nth-child(3), .replay-stage:nth-child(3)::before { animation-delay: 3s; }
.replay-stage:nth-child(4), .replay-stage:nth-child(4)::before { animation-delay: 4.5s; }
.replay-stage:nth-child(5), .replay-stage:nth-child(5)::before { animation-delay: 6s; }
.replay-stage:nth-child(6), .replay-stage:nth-child(6)::before { animation-delay: 7.5s; }

/* ── Experience Replay — customer journey player ── */
.xr { display: flex; gap: 40px; align-items: stretch; }
.xr-copy { flex: 1 1 320px; align-self: center; text-align: left; }
.xr-copy h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 16px; }
.xr-cap { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; font-size: 15px; font-weight: 800; }
.xr-cap-row { display: flex; align-items: center; gap: 10px; }
.xr-cap-row .xr-dot { color: var(--faint); }
.xr-cap span { white-space: nowrap; }

/* middle — journey line + stops */
.xr-journey { position: relative; flex: 0 0 176px; width: 176px; }
.xr-track { position: absolute; width: 3px; border-radius: 3px; transform: translateX(-50%);
  background: repeating-linear-gradient(rgba(99,102,241,.32) 0 6px, transparent 6px 13px); }
.xr-fill { position: absolute; width: 4px; border-radius: 4px; transform: translateX(-50%);
  background: linear-gradient(180deg, #6366F1, #38BDF8, #2DD4BF); box-shadow: 0 0 10px rgba(56,189,248,.5);
  transition: height .6s cubic-bezier(.5,0,.2,1), width .6s cubic-bezier(.5,0,.2,1); }
.xr-bridge { position: absolute; height: 2px; border-radius: 2px; pointer-events: none; z-index: 1; opacity: .6;
  transform: translateY(-50%); transition: top .6s cubic-bezier(.5,0,.2,1), background .4s; }
.xr-handle { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--cyan);
  box-shadow: 0 0 0 5px rgba(56,189,248,.22), 0 0 20px 5px rgba(56,189,248,.5), 0 2px 6px rgba(0,0,0,.14);
  transform: translate(-50%,-50%); z-index: 4; pointer-events: none;
  transition: top .6s cubic-bezier(.5,0,.2,1), left .6s cubic-bezier(.5,0,.2,1); }
.xr-stops { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 100%; z-index: 2; }
.xr-stop { display: flex; align-items: center; gap: 14px; cursor: pointer; justify-content: flex-end; }
.xr-node { flex: none; width: 16px; height: 16px; border-radius: 50%; background: #dcdcec; border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line); transition: transform .4s, background .4s, box-shadow .4s; }
.xr-stop.done .xr-node { background: var(--c); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent); }
.xr-stop.active .xr-node { transform: scale(1.5); background: var(--c);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 24%, transparent), 0 0 16px var(--c); }
.xr-cl { flex: 1; text-align: right; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--faint); transition: color .4s; white-space: nowrap; }
.xr-stop.done .xr-cl { color: color-mix(in srgb, var(--c) 78%, var(--muted)); }
.xr-stop.active .xr-cl { color: var(--c); }

/* right — detail card */
.xr-detail { position: relative; flex: 1 1 360px; min-width: 0; min-height: 250px; }
.xr-frame { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(180deg, #fff, #f4f5fd); border-radius: 24px; padding: 32px 34px; border: 1px solid var(--line-soft);
  box-shadow: 0 32px 62px -26px rgba(48,46,80,.36), 0 6px 15px -8px rgba(48,46,80,.16), inset 0 1px 0 #fff;
  opacity: 0; transform: translateY(12px) scale(.99); pointer-events: none;
  transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1); }
.xr-frame.on { opacity: 1; transform: none; }
.xr-frame::before { content: ''; position: absolute; left: 0; top: 28px; bottom: 28px; width: 5px; border-radius: 0 4px 4px 0; background: var(--c); }
.xr-frame-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.xr-lab { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.xr-step { font-size: 12.5px; font-weight: 700; color: var(--faint); }
.xr-frame h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(26px, 3vw, 34px); margin: 0 0 12px; line-height: 1.05; }
.xr-desc { font-size: 19px; font-weight: 700; color: var(--text); margin: 0 0 8px; line-height: 1.3; }
.xr-why { font-size: 15px; font-weight: 700; color: var(--pink); margin: 0; line-height: 1.45; }

@media (prefers-reduced-motion: reduce) {
  .xr-frame, .xr-fill, .xr-bridge, .xr-handle, .xr-node, .xr-cl { transition: none !important; }
}
@media (max-width: 820px) {
  .xr { flex-direction: column; }
  .xr-copy { text-align: center; }
  .xr-journey { width: 100%; flex: none; min-height: 220px; }
  .xr-bridge { display: none; }
}

/* ── Flat (horizontal) variant — journey line stacked below, e.g. product page ── */
.xr--flat { flex-direction: column; align-items: center; gap: 34px; }
.xr--flat .xr-detail { flex: none; width: 100%; max-width: 620px; min-height: 188px; }
.xr--flat .xr-journey { flex: none; width: 100%; max-width: 780px; }
.xr--flat .xr-stops { flex-direction: row; justify-content: space-between; height: auto; }
.xr--flat .xr-stop { flex-direction: column-reverse; align-items: center; gap: 12px; justify-content: flex-start; }
.xr--flat .xr-cl { flex: none; text-align: center; }
.xr--flat .xr-track { top: auto; left: 0; width: auto; height: 3px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, rgba(99,102,241,.32) 0 6px, transparent 6px 13px); }
.xr--flat .xr-fill { top: auto; left: 0; width: 0; height: 4px; transform: translateY(-50%);
  background: linear-gradient(90deg, #6366F1, #38BDF8, #2DD4BF); }
.xr--flat .xr-bridge { display: none; }
@media (max-width: 720px) {
  .xr--flat .xr-cl { font-size: 10.5px; }
}

/* ── Tabs ── */
.tabs-bar {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.tab {
  cursor: pointer;
  font-family: var(--font); font-size: 15px; font-weight: 700;
  color: var(--muted); padding: 10px 18px;
  display: flex; align-items: center; gap: 8px;
  border: 2px solid transparent; border-radius: 999px;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    conic-gradient(from var(--border-angle), var(--accent), var(--cyan), var(--teal), var(--accent-soft), var(--accent)) border-box;
  animation: sb-spin 6s linear infinite;
  transition: color .2s, box-shadow .2s, transform .15s;
}
.tab:nth-child(2) { animation-delay: -1.5s; }
.tab:nth-child(3) { animation-delay: -3s; }
.tab:nth-child(4) { animation-delay: -4.5s; }
.tab:hover {
  color: var(--text);
  transform: scale(1.06); box-shadow: 0 6px 16px rgba(99,102,241,.18);
  z-index: 1;
}
.tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tab[aria-selected="true"] {
  color: var(--accent-deep);
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    conic-gradient(from var(--border-angle), var(--accent), var(--cyan), var(--teal), var(--accent-soft), var(--accent)) border-box;
  box-shadow: 0 4px 14px rgba(99,102,241,.16);
}
@media (prefers-reduced-motion: reduce) {
  .tab { animation: none; }
}
.tab-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Outcome tile (card container + animated icon) ── */
.otile{
  display:flex; flex-direction:column; position:relative; text-decoration:none; color:inherit;
  background:var(--panel); border:1px solid var(--line); border-radius:var(--r);
  padding:26px 24px 22px; box-shadow:var(--sh-1); overflow:hidden;
  transition:transform .32s cubic-bezier(.4,0,.2,1), box-shadow .32s cubic-bezier(.4,0,.2,1), border-color .32s;
}
a.otile:hover{ transform:translateY(-6px); border-color:transparent;
  box-shadow:0 26px 52px -26px rgba(99,102,241,.5);
  background:linear-gradient(var(--panel),var(--panel)) padding-box, linear-gradient(140deg,#6366F1,#2DD4BF 55%,#22D3EE) border-box;
}
.otile h4{ font-family:var(--font-head); font-size:19px; margin:2px 0 8px; font-weight:700; }
.otile p{ color:var(--muted); font-size:14.5px; line-height:1.55; margin:0 0 16px; }
.otile .arrow-link, .otile .pill{ margin-top:auto; align-self:flex-start; }
.otile--soon{ opacity:.6; }
.otile-viz{ height:82px; display:flex; align-items:center; margin-bottom:14px; overflow:visible; }

/* ── Icon tile (otile-ic) ── */
.otile-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; flex: none; margin-bottom: 14px;
}
.otile-ic svg { width: 24px; height: 24px; flex: none; }
.ic--blue   { background: rgba(99,102,241,.10);  color: var(--accent); }
.ic--mint   { background: rgba(45,212,191,.12);  color: #0d7a6e; }
.ic--violet { background: rgba(49,46,129,.10);   color: var(--accent-deep); }
.ic--amber  { background: rgba(245,158,11,.10);  color: #92580a; }
.ic--coral  { background: rgba(255,90,95,.10);   color: #b83034; }
.ic--cyan   { background: rgba(34,211,238,.12);  color: #0369a1; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(5,1fr); }
.step { padding: 28px 24px; border-right: 1px solid var(--line-soft); }
.step:last-child { border-right: none; }
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad); color: #fff;
  font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 14px;
}
/* Colorful step numbers — cycle through the brand palette incl. rose */
.steps .step:nth-child(1) .step-n { background: linear-gradient(135deg,#6366F1,#818CF8); }
.steps .step:nth-child(2) .step-n { background: linear-gradient(135deg,#2DD4BF,#22D3EE); }
.steps .step:nth-child(3) .step-n { background: linear-gradient(135deg,#F43F5E,#FB7185); }
.steps .step:nth-child(4) .step-n { background: linear-gradient(135deg,#22D3EE,#6366F1); }
.steps .step:nth-child(5) .step-n { background: linear-gradient(135deg,#818CF8,#312E81); }
.step h4 { font-size: 18px; margin-bottom: 10px; }
.step p { font-size: 16px; color: var(--muted); line-height: 1.6; }

/* ── Feed ── */
.feed {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: visible;
  box-shadow: var(--sh-2);
}
.feed-row { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line-soft); }
.feed-row:last-child { border-bottom: none; }
.feed-main { flex: 1; }
.feed-main h4 { font-size: 15px; margin-bottom: 4px; }
.feed-meta { font-size: 12.5px; color: var(--faint); }
/* Open button — spinning gradient border (matches btn-secondary radius) */
.feed-open { display: inline-block; position: relative; z-index: 0; --sb-inset: -2px; --sb-radius: 9px; transition: transform .22s var(--ease, cubic-bezier(.34,1.56,.64,1)); }
.feed-open:hover { transform: scale(1.28) translateY(-4px); z-index: 3; }
.feed-open .btn-secondary { background: var(--panel); transition: box-shadow .22s ease; }
.feed-open:hover .btn-secondary { background: var(--panel); box-shadow: 0 14px 30px rgba(99,102,241,.30); }

/* ── Feed v2 — added dynamism (brand-family palette) ── */
.feed.v2 .feed-row {
  position: relative; padding-left: 24px;
  transition: background .25s ease, transform .25s ease;
  animation: scanRow 4.5s ease-in-out infinite;
}
.feed.v2 .feed-row:nth-child(2) { animation-delay: 1.5s; }
.feed.v2 .feed-row:nth-child(3) { animation-delay: 3s; }

/* category accent bar — pulses as the live-scan highlight travels down the rows */
.feed.v2 .feed-row::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0;
  background: var(--rc, var(--accent)); opacity: .55; transition: opacity .25s ease, width .25s ease;
  animation: scanBar 4.5s ease-in-out infinite;
}
.feed.v2 .feed-row:nth-child(2)::before { animation-delay: 1.5s; }
.feed.v2 .feed-row:nth-child(3)::before { animation-delay: 3s; }
@keyframes scanRow {
  0% { background: transparent; }
  5% { background: color-mix(in srgb, var(--rc) 9%, transparent); }
  22% { background: transparent; }
  100% { background: transparent; }
}
@keyframes scanBar {
  0%, 100% { opacity: .4; transform: scaleY(.86); }
  5% { opacity: 1; transform: scaleY(1); }
  22% { opacity: .4; transform: scaleY(.86); }
}

.feed.v2 .feed-row:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--rc) 8%, transparent), transparent 70%); transform: translateX(3px); }
.feed.v2 .feed-row:hover::before { opacity: 1; width: 5px; }
.feed.v2 .feed-row.rc-coral { --rc: var(--accent); }  /* indigo */
.feed.v2 .feed-row.rc-blue  { --rc: var(--cyan); }
.feed.v2 .feed-row.rc-mint  { --rc: var(--teal); }

/* live pulse dot on high-priority pill — brand indigo */
.feed.v2 .pill--coral { position: relative; padding-left: 20px; }
.feed.v2 .pill--coral::before {
  content: ""; position: absolute; left: 9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 0 rgba(99,102,241,.6); animation: livePulse 1.8s ease-out infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(99,102,241,.55); }
  70% { box-shadow: 0 0 0 7px rgba(99,102,241,0); }
  100% { box-shadow: 0 0 0 0 rgba(99,102,241,0); }
}

/* pills re-aligned to brand family (indigo / cyan / teal) */
.feed.v2 .pill--coral { background: rgba(99,102,241,.12); color: var(--accent-deep); }
.feed.v2 .pill--blue  { background: rgba(34,211,238,.16); color: #0e7490; }
.feed.v2 .pill--mint  { background: rgba(45,212,191,.16); color: #0d7a6e; }

/* arrow nudge on the Open button */
.feed.v2 .feed-open .btn-secondary::after { content: " →"; display: inline-block; transition: transform .25s ease; }
.feed.v2 .feed-row:hover .feed-open .btn-secondary::after { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .feed.v2 .feed-row,
  .feed.v2 .feed-row::before,
  .feed.v2 .pill--coral::before { animation: none; }
}

.pill { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; display: inline-block; margin-bottom: 8px; }
.pill--coral { background: rgba(236,72,153,.12); color: #be2a72; }
.pill--blue { background: rgba(99,102,241,.12); color: var(--accent); }
.pill--mint { background: rgba(45,212,191,.12); color: #0d7a6e; }
.pill--amber { background: rgba(165,180,252,.18); color: var(--accent-deep); }

/* ── Comparison — "today → Cozmo" transform (one unified panel, 1/3 : 2/3 split) ── */
.cztf { position: relative; margin: 0 auto; max-width: 900px; display: grid;
  grid-template-columns: 1fr 84px 2fr;
  border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: #fff; overflow: hidden;
  box-shadow: var(--sh-3); }
.cztf-c { padding: 18px 26px; display: flex; align-items: center; min-height: 70px; position: relative; z-index: 1; }
.cztf-c.cztf-mid { justify-content: center; padding: 0; }
.cztf-b { border-bottom: 1px solid var(--line-soft); }
/* tinted "Cozmo zone" — on every right-column cell so it tracks the split */
.cztf-c.cztf-cz { background: linear-gradient(180deg, rgba(99,102,241,.05), rgba(34,211,238,.05));
  border-left: 1px solid rgba(99,102,241,.14); }
.cztf-hd { min-height: 0; padding-top: 22px; padding-bottom: 16px; font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.cztf-hd.cztf-today { color: var(--faint); }
.cztf-hd.cztf-cz { color: var(--accent); }
.cztf-live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  margin-right: 9px; animation: cztf-blink 1.6s infinite; }
@keyframes cztf-blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
/* OLD — stays plain grey; on transform it just dims back a little (no strike-through) */
.cztf-old { color: var(--muted); font-size: 16px; line-height: 1.45;
  opacity: 1; transition: opacity .6s ease; }
.cztf-old.done { opacity: .5; }
/* NEW — branded icon + text, calm fade (no bounce) */
.cztf-new { display: flex; align-items: center; gap: 13px; font-size: 16px; font-weight: 700; color: var(--text);
  line-height: 1.4; opacity: 0; transform: translateX(-14px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.33,0,.2,1); }
.cztf-new.show { opacity: 1; transform: none; }
.cztf-ico { flex: none; width: 28px; height: 28px; }
/* flow connector on the seam — brand gradient particles stream today → Cozmo */
.cztf-flow { position: relative; display: block; width: 60px; height: 22px; }
.cztf-track { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.6,0,.2,1); }
.cztf-flow.on .cztf-track, .cztf-flow.done .cztf-track { transform: scaleX(1); }
.cztf-p { position: absolute; top: 50%; margin-top: -3.5px; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px rgba(34,211,238,.7); opacity: 0; }
/* active transform: brisk stream */
.cztf-flow.on .cztf-p { animation: cztf-flowp 1.5s linear infinite; }
.cztf-flow.on .cztf-p:nth-child(3) { animation-delay: .5s; }
.cztf-flow.on .cztf-p:nth-child(4) { animation-delay: 1s; }
/* resting state: keep a slow, gentle drift so the connector stays alive */
.cztf-flow.done .cztf-p { animation: cztf-flowp 3.4s linear infinite; }
.cztf-flow.done .cztf-p:nth-child(3) { animation-delay: 1.13s; }
.cztf-flow.done .cztf-p:nth-child(4) { animation-delay: 2.27s; }
@keyframes cztf-flowp { 0% { opacity: 0; transform: translateX(2px); } 18% { opacity: 1; } 82% { opacity: 1; }
  100% { opacity: 0; transform: translateX(52px); } }
/* HOVER — highlight the whole row + lift it slightly off the card */
.cztf-c { transition: background-color .35s ease, transform .3s cubic-bezier(.33,0,.2,1), box-shadow .3s ease; cursor: default; }
/* lift the row as ONE surface: each cell's shadow is biased OUTWARD (left cell → left,
   right cell → right, middle → straight down) so no shadow crosses the internal seams */
.cztf-c.cztf-hl { transform: translateY(-4px); z-index: 3; }
.cztf-c.cztf-today.cztf-hl { background-color: rgba(99,102,241,.07); box-shadow: -12px 15px 28px -18px rgba(49,46,129,.40); }
.cztf-c.cztf-mid.cztf-hl   { background-color: rgba(99,102,241,.05); box-shadow: 0 13px 18px -16px rgba(49,46,129,.34); }
.cztf-c.cztf-cz.cztf-hl    { background: linear-gradient(180deg, rgba(99,102,241,.15), rgba(34,211,238,.15)); box-shadow: 12px 15px 28px -18px rgba(49,46,129,.40); }
.cztf-c.cztf-today.cztf-hl::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad); }
@media (prefers-reduced-motion: reduce) {
  .cztf-old, .cztf-new, .cztf-track, .cztf-p { transition: none; animation: none; }
  .cztf-c { transition: none; }
  .cztf-c.cztf-hl { transform: none; }
}
@media (max-width: 720px) {
  .cztf { grid-template-columns: 1fr; max-width: 440px; }
  .cztf-hd, .cztf-c.cztf-mid { display: none; }
  .cztf-c { min-height: 0; }
  .cztf-c.cztf-today { padding: 16px 20px 2px; border-bottom: 0; }
  .cztf-c.cztf-cz { padding: 4px 20px 16px; border-left: 0; border-bottom: 1px solid var(--line-soft); }
  .cztf-c.cztf-cz:last-child { border-bottom: 0; }
  .cztf-new { transform: none; }
}

/* ── Quotes ── */
.carousel { position: relative; overflow: hidden; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform .4s ease; }
.carousel-slide { min-width: 100%; padding: 0 4px; }
.quote-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 40px 44px;
  max-width: 680px; margin: 0 auto;
  box-shadow: var(--sh-2);
}
.quote-mark {
  font-size: 64px; line-height: .8;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 16px; font-family: Georgia, serif;
}
blockquote { font-size: 20px; line-height: 1.6; color: var(--text); margin-bottom: 24px; font-style: italic; }
.quote-attrib { display: flex; align-items: center; gap: 14px; }
.qa-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); flex: none; }
.carousel-slide:nth-child(1) .qa-mark { background: linear-gradient(135deg,#6366F1,#22D3EE); }
.carousel-slide:nth-child(2) .qa-mark { background: linear-gradient(135deg,#2DD4BF,#22D3EE); }
.carousel-slide:nth-child(3) .qa-mark { background: linear-gradient(135deg,#F43F5E,#FB7185); }
.quote-attrib strong { display: block; font-size: 15px; color: var(--text); }
.quote-attrib span span { font-size: 13px; color: var(--faint); display: block; }
.carousel-ctrls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.carousel-btn {
  background: none; border: 1px solid var(--line); cursor: pointer;
  width: 38px; height: 38px; border-radius: 50%; font-size: 18px; color: var(--muted);
  display: flex; align-items: center; justify-content: center; transition: border-color .2s, color .2s;
}
.carousel-btn:hover { border-color: var(--accent); color: var(--accent); }
.carousel-dots { display: flex; gap: 7px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line); cursor: pointer; border: none; transition: background .2s, transform .2s;
}
.carousel-dot.active { background: var(--accent); transform: scale(1.2); }

/* ── Trust band (full-bleed lineage strip) ── */
.trust-band {
  background: var(--accent-deep); color: #fff;
  position: relative; overflow: hidden;
}
.trust-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(680px 420px at 88% -12%, rgba(99,102,241,.55), transparent 62%),
    radial-gradient(560px 400px at 6% 118%, rgba(45,212,191,.22), transparent 60%);
}
.trust-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto;
  gap: clamp(36px,5vw,80px); align-items: start;
}
.trust-copy h2 { color: #fff; font-size: clamp(26px,3.4vw,42px); margin-bottom: 14px; }
.trust-copy .lead { color: rgba(255,255,255,.78); margin-bottom: 28px; }
.trust-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 26px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge {
  padding: 8px 17px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: #fff; border: 1px solid rgba(255,255,255,.30);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 22px -8px rgba(124,131,240,.55), inset 0 0 0 1px rgba(255,255,255,.04);
}
.note-flag { font-size: 12px; color: rgba(255,255,255,.4); border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; margin-top: 20px; }

/* "Built by" Howazit reversed logo (directly on the strip) */
.trust-logo {
  display: inline-flex; flex-direction: column; align-items: flex-end; gap: 14px;
  text-decoration: none; margin-top: 6px;
}
.trust-logo-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.trust-logo-img { height: 48px; width: auto; display: block; transition: transform .2s ease; }
.trust-logo:hover .trust-logo-img { transform: translateY(-2px); }

/* decorative fill */
.tb-deco { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.tb-ring { border: 1.5px solid rgba(255,255,255,.10); }
.tb-ring.r1 { width: 340px; height: 340px; top: -120px; right: 18%; }
.tb-ring.r2 { width: 200px; height: 200px; bottom: -90px; right: 6%; border-color: rgba(45,212,191,.18); }
.tb-ring.r3 { width: 120px; height: 120px; top: 40px; right: 44%; border-color: rgba(255,255,255,.07); }
.tb-dot { width: 9px; height: 9px; background: var(--teal); box-shadow: 0 0 16px 3px rgba(45,212,191,.5); }
.tb-dot.d1 { top: 64px; right: 40%; }
.tb-dot.d2 { bottom: 70px; right: 30%; background: var(--cyan); box-shadow: 0 0 16px 3px rgba(34,211,238,.5); }
.tb-dot.d3 { top: 120px; right: 12%; width: 6px; height: 6px; }
.tb-glow { width: 420px; height: 420px; background: radial-gradient(circle, rgba(99,102,241,.45), transparent 65%); top: -140px; right: 8%; filter: blur(10px); }

/* top dot drifts slowly around a wide, gentle circle */
.tb-dot.d1 { animation: tb-orbit 22s linear infinite; }
@keyframes tb-orbit {
  from { transform: rotate(0deg) translateX(46px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(46px) rotate(-360deg); }
}
/* the other dots drift gently on their own random paths while twinkling */
.tb-dot.d2 { animation: tb-drift-a 17s ease-in-out infinite, tb-twinkle 5.5s ease-in-out infinite; }
.tb-dot.d3 { animation: tb-drift-b 21s ease-in-out infinite .8s, tb-twinkle 7s ease-in-out infinite .8s; }
@keyframes tb-drift-a {
  0%   { translate: 0 0; }
  25%  { translate: 22px -14px; }
  50%  { translate: -10px 20px; }
  75%  { translate: 16px 12px; }
  100% { translate: 0 0; }
}
@keyframes tb-drift-b {
  0%   { translate: 0 0; }
  25%  { translate: -18px 16px; }
  50%  { translate: 14px 22px; }
  75%  { translate: -12px -16px; }
  100% { translate: 0 0; }
}
@keyframes tb-twinkle {
  0%, 100% { opacity: 1; scale: 1; }
  50%      { opacity: .35; scale: .85; }
}
@media (prefers-reduced-motion: reduce) {
  .tb-dot.d1, .tb-dot.d2, .tb-dot.d3 { animation: none; }
}

@media (max-width: 820px) {
  .trust-inner { grid-template-columns: 1fr; gap: 36px; justify-items: start; }
  .tb-ring.r1, .tb-ring.r3, .tb-dot.d1, .tb-dot.d3 { display: none; }
}

/* ── CTA Band ── */
.cta-band {
  background: var(--grad); border-radius: var(--r-lg);
  padding: 64px clamp(28px,6vw,72px); text-align: center;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(28px,4vw,48px); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.84); font-size: 18px; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.deco { position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); }
.deco.d1 { width: 300px; height: 300px; top: -80px; right: -60px; }
.deco.d2 { width: 180px; height: 180px; bottom: -50px; left: 40px; }
/* Final-CTA button: our dynamic spinning gradient ring (border only) + grow on hover */
.cta-band .btn { position: relative; }
.cta-band .btn::before {
  content: ''; position: absolute; pointer-events: none;
  inset: -2px; border-radius: 14px; padding: 2px;
  background: conic-gradient(from var(--border-angle), var(--accent), var(--cyan), var(--teal), var(--accent-soft), var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: sb-spin 5s linear infinite;
}
.cta-band .btn:hover { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .cta-band .btn::before { animation: none; }
}

/* ── Stat row ── */
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.stat-card {
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: 28px; text-align: center;
}
.stat-card .val { font-size: 42px; font-weight: 700; font-family: var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-card .label { font-size: 15px; color: var(--muted); margin-top: 4px; }

/* ── Info list (anatomy etc) ── */
.info-list { list-style: none; padding: 0; }
.info-list li { padding: 13px 0; border-top: 1px solid var(--line-soft); font-size: 16px; color: var(--muted); line-height: 1.5; }
.info-list li strong { color: var(--text); }
.info-list li:first-child { border-top: none; }

/* ── Footer ── */
.footer { background: #1a1830; color: rgba(255,255,255,.7); padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.55); }
.footer-badges { display: flex; gap: 8px; margin-top: 20px; }
.footer-badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.6); }
.footer h5 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 18px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer li a { font-size: 14.5px; color: rgba(255,255,255,.65); transition: color .2s; }
.footer li a:hover { color: #fff; }
.footer-bot { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 14px; color: rgba(255,255,255,.35); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,.35); transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ── Cookie ── */
.cookie {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 24px; max-width: 540px; width: calc(100% - 48px);
  box-shadow: var(--sh-3); z-index: 500;
  display: none; flex-direction: column; gap: 16px;
}
.cookie.show { display: flex; }
.cookie p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media(max-width: 480px) {
  .cookie-btns { flex-direction: column; }
  .cookie-btns .btn { width: 100%; justify-content: center; }
}

/* ── Floating signal bubbles (Problem section) ── */
.signal-bubbles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sig-chip {
  position: absolute; bottom: 0; opacity: 0;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700;
  backdrop-filter: blur(8px);
}
.sig-chip.indigo { background: rgba(99,102,241,.12); color: var(--accent); border: 1px solid rgba(99,102,241,.22); }
.sig-chip.teal   { background: rgba(45,212,191,.12); color: #0d7a6e;     border: 1px solid rgba(45,212,191,.22); }
.sig-chip.cyan   { background: rgba(34,211,238,.12); color: #0369a1;     border: 1px solid rgba(34,211,238,.22); }
.bubbles-active .sig-chip { animation: float-up 5.5s ease-in-out forwards; }
.sig-chip:nth-child(1) { left: 7%;  animation-delay: 0s;    animation-duration: 5.8s; }
.sig-chip:nth-child(2) { left: 20%; animation-delay: .8s;   animation-duration: 6.2s; }
.sig-chip:nth-child(3) { left: 38%; animation-delay: 1.5s;  animation-duration: 5.5s; }
.sig-chip:nth-child(4) { left: 57%; animation-delay: .3s;   animation-duration: 6.8s; }
.sig-chip:nth-child(5) { left: 72%; animation-delay: 1.1s;  animation-duration: 5.9s; }
.sig-chip:nth-child(6) { left: 87%; animation-delay: .6s;   animation-duration: 6.4s; }
@keyframes float-up {
  0%   { opacity: 0; transform: translateY(0); }
  12%  { opacity: 1; }
  80%  { opacity: .55; }
  100% { opacity: 0; transform: translateY(-160px); }
}

/* ── Keyword chips (AI Shift / dark section) ── */
.kw-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.kw-chip {
  padding: 9px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 700; opacity: 0;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.85);
}
.kw-chip.c-teal   { background: rgba(45,212,191,.15);  border-color: rgba(45,212,191,.30); }
.kw-chip.c-indigo { background: rgba(165,180,252,.12); border-color: rgba(165,180,252,.28); }
.kw-chip.c-cyan   { background: rgba(34,211,238,.12);  border-color: rgba(34,211,238,.28); }
.chips-active .kw-chip { animation: chip-pop 3.8s ease forwards; }
.kw-chip:nth-child(1) { animation-delay: 0s; }
.kw-chip:nth-child(2) { animation-delay: .15s; }
.kw-chip:nth-child(3) { animation-delay: .30s; }
.kw-chip:nth-child(4) { animation-delay: .45s; }
.kw-chip:nth-child(5) { animation-delay: .60s; }
.kw-chip:nth-child(6) { animation-delay: .75s; }
.kw-chip:nth-child(7) { animation-delay: .90s; }
.kw-chip:nth-child(8) { animation-delay: 1.05s; }
@keyframes chip-pop {
  0%   { opacity: 0; transform: translateY(14px) scale(.92); }
  18%  { opacity: 1; transform: translateY(0) scale(1); }
  82%  { opacity: 1; }
  100% { opacity: .65; }
}

/* ── Steps connecting line ── */
.steps-wrap { position: relative; }
.steps-line-svg { position: absolute; top: 18px; left: 0; width: 100%; height: 4px; pointer-events: none; overflow: visible; }
.steps-line-path { stroke: url(#stepsGrad); stroke-width: 2; fill: none; stroke-dasharray: 2000; stroke-dashoffset: 2000; stroke-linecap: round; }
.line-draw .steps-line-path { animation: draw-line 1.6s ease forwards .2s; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
.step-n { transition: box-shadow .4s, transform .4s; }
.line-draw .step:nth-child(1) .step-n { animation: node-pulse .9s ease forwards .5s; }
.line-draw .step:nth-child(2) .step-n { animation: node-pulse .9s ease forwards 1.0s; }
.line-draw .step:nth-child(3) .step-n { animation: node-pulse .9s ease forwards 1.5s; }
.line-draw .step:nth-child(4) .step-n { animation: node-pulse .9s ease forwards 2.0s; }
.line-draw .step:nth-child(5) .step-n { animation: node-pulse .9s ease forwards 2.5s; }
@keyframes node-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(99,102,241,.65); transform: scale(1); }
  40%  { box-shadow: 0 0 0 16px rgba(99,102,241,.15); transform: scale(1.32); }
  70%  { box-shadow: 0 0 0 22px rgba(99,102,241,0); transform: scale(1.12); }
  100% { box-shadow: none; transform: scale(1); }
}


/* ── Badge shimmer ── */
.badge {
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%) no-repeat;
  background-size: 200% 100%;
  animation: shimmer 9s ease-in-out infinite;
}
@keyframes shimmer {
  0%,100% { background-position: -200% 0; }
  12%      { background-position: 200% 0; }
}

/* ── CTA blob drift ── */
.deco.d1 { animation: blob-drift 8s ease-in-out infinite; }
.deco.d2 { animation: blob-drift 11s ease-in-out infinite reverse; }
@keyframes blob-drift {
  0%,100% { transform: scale(1) translate(0,0); }
  50%     { transform: scale(1.15) translate(10px,-10px); }
}

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(22px); }
@media(prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .sig-chip, .kw-chip, .steps-line-path, .step-n,
  .badge, .deco { animation: none !important; }
  .logobar-track { animation: none !important; }
  .sb-ring::before { animation: none !important; }
  .replay-stage { animation: none !important; }
}

/* ── Responsive ── */
@media(max-width: 960px) {
  .hero-split .hero-grid { grid-template-columns: 1fr; }
  .g-2 { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.reverse { direction: ltr; }
  .replay { grid-template-columns: repeat(3,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* ── Hamburger button ── */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px; margin-left: auto;
  background: none; border: none; cursor: pointer; border-radius: var(--r-sm);
  transition: background .2s;
}
.nav-hamburger:hover { background: rgba(63,61,86,.06); }
.nav-hamburger span {
  display: block; height: 2px; width: 22px; border-radius: 2px;
  background: var(--text); transition: transform .25s, opacity .2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav collapses to hamburger while the desktop menu still needs ~1056px to fit */
@media(max-width: 1080px) {
  .nav-hamburger { display: flex; }
  /* --drawer-top: תחתית ה-header האמיתית, ש-brand.js מודד ומעדכן.
     בלי זה התפריט נפתח ב-70px מקצה המסך — ובראש העמוד, כשרצועת
     ההודעה דוחפת את ה-header למטה, הוא כיסה את הלוגו ואת ההמבורגר
     עצמו: הקלקה על ה-X פגעה בתפריט ולא בכפתור, ולא היה איך לסגור.
     ה-fallback ל-var(--nav-h) שומר על ההתנהגות הקודמת אם ה-JS נפל. */
  .nav-menu {
    display: none; position: fixed;
    inset: var(--drawer-top, var(--nav-h)) 0 0 0;
    background: rgba(250,250,250,.97); backdrop-filter: blur(16px);
    flex-direction: column; overflow-y: auto; z-index: 99;
    padding: 16px 16px 40px;
  }
  .nav-menu.open { display: flex; }
  .nav-item { width: 100%; }
  .nav-link { width: 100%; font-size: 18px; padding: 13px 16px; justify-content: space-between; border-radius: 12px; }
  .dropdown {
    position: static; box-shadow: none; border: none;
    background: rgba(99,102,241,.05); border-radius: 12px;
    padding: 6px 8px; margin: 4px 0 8px; display: flex !important;
    flex-direction: column;
  }
  .dropdown a { padding: 10px 12px; }
  .nav-login { padding: 13px 16px; font-size: 17px; margin: 8px 0 0; }
  .nav-cta { margin: 8px 0 0; padding: 14px 18px; font-size: 16px; text-align: center; justify-content: center; }
  /* העיצוב של תפריט הטלפון (ריווח, קווי הפרדה, יישור Log in, הזכוכית
     המרחפת, הפס הגרדיאנטי) יושב ב-mobile.css — הקובץ הייעודי למובייל,
     עם מתג הכיבוי שלו. כאן נשאר רק השלד המשותף לטלפון ולטאבלט. */
}
@media(max-width: 680px) {
  .replay { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .acard-tiles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-card .val { font-size: 34px; }
  .announce { padding: 10px 40px 10px 16px; }
  .hero-centered { padding: 80px 0 60px; }
  .hero-split { padding: 60px 0 56px; }
  .section { padding: 64px 0; }
  .form-card { padding: 28px 20px; }
}

/* ── Anatomy: three horizontal bands beside the card ──
   Bands keep their own height (align:start) so opening the card's drawer
   grows only the card, not the bands. The read (g1) sits top-right, a touch roomier. */
.anat-side { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: start; }
.anat-grp { display: flex; flex-direction: column; gap: 7px; }
.anat-col {
  background: var(--panel); border: 1px solid var(--line-soft); border-left: 4px solid var(--bar);
  border-radius: 12px; padding: 14px 20px;
  display: flex; flex-direction: column; justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.anat-col:hover { transform: scale(1.05); box-shadow: 0 16px 40px -10px rgba(63,61,86,.24); z-index: 2; }
.anat-col.g1 { --bar: var(--accent); --kick: var(--accent); }
.anat-col.g2 { --bar: var(--teal);   --kick: var(--teal); }
.anat-col.g3 { --bar: #F43F5E;        --kick: #F43F5E; }
/* header: kicker tag pinned top-right, title on the left */
.anat-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 7px; flex-direction: row-reverse; justify-content: space-between; }
.anat-kick { font-size: 13px; letter-spacing: .07em; text-transform: uppercase; color: var(--kick); font-weight: 700; white-space: nowrap; }
.anat-hd { font-family: var(--font-head); font-size: 17px; color: var(--text); font-weight: 700; margin: 0; }
.anat-items { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 26px; }
.anat-row.full { grid-column: 1 / -1; }
.anat-row b { display: block; font-size: 15px; color: var(--text); margin-bottom: 2px; }
.anat-row p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.4; }
.anat-col.g1 { padding: 16px 24px; }
.anat-col.g1 .anat-head { margin-bottom: 8px; }
.anat-col.g1 .anat-items { gap: 8px 30px; }
@media(max-width: 940px){
  .anat-side { grid-template-columns: 1fr; gap: 22px; }
}

/* ── Comparison table ── */
.table-wrap { overflow-x: auto; }
.cmap { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmap th {
  text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); padding: 0 20px 14px;
  border-bottom: 2px solid var(--line);
}
.cmap th:first-child { padding-left: 0; }
.cmap td { padding: 14px 20px; border-bottom: 1px solid var(--line-soft); color: var(--text); vertical-align: top; }
.cmap td:first-child { padding-left: 0; font-weight: 600; white-space: nowrap; }
.cmap tbody tr:last-child td { border-bottom: none; }
.cmap tr.is-cozmo td {
  background: linear-gradient(90deg, rgba(99,102,241,.06) 0%, rgba(45,212,191,.04) 100%);
  color: var(--accent); font-weight: 600;
}
.cmap tr.is-cozmo td:first-child { border-radius: 8px 0 0 8px; }
.cmap tr.is-cozmo td:last-child { border-radius: 0 8px 8px 0; }

/* ── Demo page ── */
.demo-layout {
  display: grid; grid-template-columns: 1fr 480px; gap: 72px;
  align-items: start; padding: 72px 0 96px;
}
.demo-left { padding-top: 8px; }
.demo-left h1 { font-size: clamp(36px,4.5vw,58px); line-height: 1.08; text-wrap: balance; margin-bottom: 20px; }
.demo-left .lead { font-size: 17px; max-width: 46ch; margin-bottom: 32px; }
.demo-trust { list-style: none; padding: 0; margin: 0 0 40px; display: flex; flex-direction: column; gap: 12px; }
.demo-trust li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.demo-trust li svg { flex: none; }
.demo-quote {
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: 24px 28px; margin-top: 40px;
}
.demo-quote blockquote { font-size: 15px; line-height: 1.6; color: var(--text); font-style: italic; margin: 0 0 16px; }
.demo-quote cite { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-style: normal; }
.demo-quote cite strong { color: var(--text); display: block; font-style: normal; }

/* Form card */
.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 40px 36px;
  box-shadow: var(--sh-2);
}
.form-card h2 { font-size: 22px; margin-bottom: 6px; }
.form-card .form-sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.field .req { color: var(--accent); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; box-sizing: border-box;
  padding: 11px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--bg);
  font-family: var(--font); font-size: 15px; color: var(--text);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}
.field textarea { resize: vertical; min-height: 88px; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.btn-block { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; line-height: 1.5; }
.form-success { text-align: center; padding: 24px 0; }
.form-success .check { font-size: 40px; color: var(--teal); margin-bottom: 12px; }
.form-success h3 { font-size: 22px; margin-bottom: 8px; }

@media(max-width:860px){
  .demo-layout { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 72px; }
  .demo-layout > * { min-width: 0; }
}

/* Legal document prose */
.legal-prose { max-width: 800px; margin: 0 auto; font-size: 16px; line-height: 1.75; }
.legal-prose h1, .legal-prose h2 { font-size: 24px; margin: 40px 0 14px; }
.legal-prose h3 { font-size: 19px; margin: 32px 0 10px; }
.legal-prose h4 { font-size: 17px; margin: 26px 0 8px; }
.legal-prose p { margin: 0 0 14px; }
.legal-prose ul, .legal-prose ol { margin: 0 0 16px; padding-left: 26px; }
.legal-prose li { margin-bottom: 8px; }
.legal-prose a { color: var(--accent); word-break: break-word; }
.legal-prose .tablewrap { overflow-x: auto; margin: 18px 0 24px; }
.legal-prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.legal-prose th, .legal-prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-prose th { background: rgba(99,102,241,.06); }

@media(max-width: 460px) {
  .acard-tiles { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .badge-band { gap: 8px; }
}

/* ── Resources page: split-hero visual, article cards, guide live-dot ── */
/* Cozmo "thinking" hero visual */
.res-hero-visual {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px; position: relative; min-height: 320px;
}
.res-hero-visual::before {
  content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.18), rgba(34,211,238,.10) 45%, transparent 70%);
  z-index: 0;
}
.res-hero-visual > * { position: relative; z-index: 1; }
.res-hero-visual .cz-orb { width: 168px; height: 168px; border-radius: 46px; }
.res-hero-visual .cz-orb::before { inset: -3px; border-radius: 49px; }
.res-hero-visual .cz-orb-face { width: 160px; height: 160px; border-radius: 43px; gap: 22px; }
.res-hero-visual .cz-eye { width: 22px; height: 22px; }
.res-hero-visual .cz-thinking-dots i { width: 13px; height: 13px; }

.rcard {
  display: flex; flex-direction: column; position: relative; text-decoration: none; color: inherit;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 1px 2px rgba(63,61,86,.05); overflow: hidden;
  transition: transform .32s cubic-bezier(.4,0,.2,1), box-shadow .32s cubic-bezier(.4,0,.2,1), border-color .32s;
}
.rcard:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -20px rgba(63,61,86,.30); border-color: var(--accent-soft); }
.rcard-top {
  position: relative; height: 158px; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: linear-gradient(135deg,#EEF0FF,#E0F7FB); border-bottom: 1px solid var(--line-soft);
}
.rcard-top--a { background: linear-gradient(135deg,#ECEFFF 0%,#DCE3FF 100%); }
.rcard-top--b { background: linear-gradient(135deg,#FFF4E2 0%,#FFE7D2 100%); }
.rcard-top--c { background: linear-gradient(135deg,#E4FBF5 0%,#D6F1FF 100%); }
.rcard-top::before {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(99,102,241,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(99,102,241,.06) 1px,transparent 1px);
  background-size: 22px 22px;
  -webkit-mask: radial-gradient(120% 90% at 50% 40%,#000,transparent 78%);
  mask: radial-gradient(120% 90% at 50% 40%,#000,transparent 78%);
}
.rcard-top > * { position: relative; z-index: 1; }
.rcard-bd { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.rcard-bd .pill { align-self: flex-start; }
.rcard-bd h4 { font-size: 20px; line-height: 1.25; margin: 0; }
.rcard-bd p { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.rcard-bd .arrow-link { margin-top: 6px; font-weight: 700; color: var(--accent); }
.rcard:hover .arrow-link { gap: 10px; }
.rcard-top .cz-wire { width: 190px; }
.rcard-top .cz-replay { transform: scale(.9); }
.rcard-top .cz-orb { width: 64px; height: 64px; border-radius: 19px; }
.rcard-top .cz-orb::before { inset: -2px; border-radius: 21px; }
.rcard-top .cz-orb-face { width: 60px; height: 60px; border-radius: 18px; }
.rcard-scene { display: flex; flex-direction: column; align-items: center; gap: 14px; }

.guide-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-top: 2px; }
