/* HADAR SYSTEMS catalog — on top of /core/hc.css tokens. */
.hero { background: radial-gradient(900px 420px at 90% -20%, rgba(56, 189, 248, .35), transparent 60%), radial-gradient(700px 400px at -10% 120%, rgba(124, 58, 237, .35), transparent 60%), var(--navy);
  color: #fff; padding: 22px 18px 34px; }
.hero .in { max-width: 1120px; margin: 0 auto; }
.hero .top { display: flex; align-items: center; gap: 10px; margin-bottom: 38px; }
.hero .logo { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #38bdf8, #6366f1); display: grid; place-items: center; }
.hero .hs { font-weight: 900; letter-spacing: 2px; }
.hero .tag { font-size: 12px; opacity: .75; }
.hero .sp { flex: 1; }
.hero .live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: 1px; background: rgba(255, 255, 255, .12); padding: 5px 11px; border-radius: 999px; }
.hero .live i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .25); }
.hero h1 { font-size: clamp(30px, 6.4vw, 54px); line-height: 1.08; margin: 0 0 14px; }
.hero h1 span { background: linear-gradient(90deg, #7dd3fc, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(16px, 2.3vw, 19px); opacity: .85; max-width: 720px; margin: 0 0 22px; }
.hero .chips { flex-wrap: wrap; overflow: visible; }
.hero .chip { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .18); }
.hero .chip b { color: #7dd3fc; }
.cat { max-width: 1120px; margin: 0 auto; padding: 26px 16px 120px; }
.sec-h h2, .how h2, .model h2 { font-size: 24px; margin: 6px 0 6px; }
.sec-h p { max-width: 760px; margin: 0 0 18px; }
.grid-p { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-p { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .grid-p { grid-template-columns: repeat(3, 1fr); } }
.prod { background: var(--card); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); border: 2px solid transparent; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 16px;
  transition: border-color .15s, transform .12s; }
.prod.on { border-color: var(--c); }
.prod-top { display: flex; align-items: center; gap: 12px; }
.prod .tile { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: var(--c); flex: none; }
.prod .grow { flex: 1; min-width: 0; }
.prod .pname { font-weight: 800; font-size: 18px; }
.prod .phe { color: var(--muted); font-size: 14px; }
.prod .pick { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); color: transparent; cursor: pointer; display: grid; place-items: center; flex: none; }
.prod.on .pick { background: var(--c); border-color: var(--c); color: #fff; }
.prod .who { font-size: 13px; color: var(--ink-2); }
.prod .pain { margin: 0; font-size: 14px; background: var(--chip); padding: 9px 11px; border-radius: 11px; }
.prod .flow { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.prod .flow .st { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--c); }
.prod .flow .arr { color: var(--muted); font-size: 11px; }
.prod .val { display: flex; gap: 7px; align-items: center; font-weight: 800; color: var(--c); }
.prod details summary { cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); list-style: none; }
.prod details summary::-webkit-details-marker { display: none; }
.prod .io { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; font-size: 13px; }
.prod .io ul { margin: 4px 0 0; padding-inline-start: 16px; color: var(--ink-2); }
.prod .acts { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.prod .try { background: var(--c); }
.how, .model { margin-top: 34px; }
.layers { display: grid; gap: 10px; grid-template-columns: 1fr; margin: 10px 0; }
@media (min-width: 800px) { .layers { grid-template-columns: repeat(4, 1fr); } }
.offline-note { display: flex; gap: 10px; align-items: center; background: var(--card); padding: 14px; border-radius: 14px; box-shadow: var(--shadow); margin: 0 0 10px; border-inline-start: 4px solid var(--accent); }
.layer { display: flex; gap: 10px; align-items: center; background: var(--card); padding: 14px; border-radius: 14px; box-shadow: var(--shadow); }
.tiers { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 10px; }
@media (min-width: 800px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { background: var(--card); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.tier.mid { background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; }
.tier .tn { font-weight: 900; letter-spacing: 2px; font-size: 13px; opacity: .8; }
.tier .tp { font-size: 22px; font-weight: 800; margin: 4px 0; }
.tier p { margin: 0; font-size: 14px; }
.cta { margin-top: 30px; background: var(--navy); color: #fff; border-radius: 20px; padding: 22px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.cta h3 { margin: 0; font-size: 20px; } .cta p { margin: 4px 0 0; opacity: .8; }
.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 10px 18px 40px; }
.selbar { position: fixed; bottom: 12px; inset-inline: 12px; max-width: 900px; margin: 0 auto; z-index: 40; background: var(--card); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 12px 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border: 1px solid var(--line); }
.selbar .grow { flex: 1; min-width: 160px; }

/* construction sector (2026-11-03) */
.build-banner { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 16px; border-radius: 14px; max-width: 760px;
  background: rgba(202, 138, 4, .16); border: 1px solid rgba(250, 204, 21, .45); color: #fff; font-size: 14.5px; line-height: 1.4; }
.build-banner b { color: #fde047; }
.build-banner > span { flex: 1; }
.sec-h h3.sector { display: flex; align-items: center; gap: 8px; font-size: 18px; margin: 18px 0 10px; color: var(--ink-2); }
.build { margin-top: 34px; padding-top: 6px; scroll-margin-top: 70px; }
.build-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; justify-content: space-between; margin: 0 0 16px;
  padding: 22px 20px; border-radius: 18px; color: #fff; background: linear-gradient(120deg, #1c1917, #44403c 55%, #a16207); }
.build-head > div { flex: 1 1 420px; }
.build-head .kicker { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; color: #fde047; letter-spacing: .3px; }
.build-head h2 { font-size: clamp(22px, 4.5vw, 30px); margin: 8px 0 8px; line-height: 1.15; }
.build-head p { margin: 0; opacity: .88; max-width: 680px; }
.build-head .btn { background: #facc15; color: #1c1917; border-color: #facc15; font-weight: 800; }
/* tourism sector (2026-11-03): same blocks, Galilee sea and sunset colours */
.build-banner.tour { background: rgba(14, 116, 144, .22); border-color: rgba(103, 232, 249, .45); margin-top: 10px; }
.build-banner.tour b { color: #a5f3fc; }
.build-head.tour { background: linear-gradient(120deg, #083344, #0e7490 55%, #db2777); }
.build-head.tour .kicker { color: #a5f3fc; }
.build-head.tour .btn { background: #fff; color: #083344; border-color: #fff; }
/* food sector (2026-11-03): same blocks, warm kitchen colours */
.build-banner.food { background: rgba(234, 88, 12, .2); border-color: rgba(253, 186, 116, .45); margin-top: 10px; }
.build-banner.food b { color: #fed7aa; }
.build-head.food { background: linear-gradient(120deg, #431407, #c2410c 55%, #4d7c0f); }
.build-head.food .kicker { color: #fed7aa; }
.build-head.food .btn { background: #fff; color: #431407; border-color: #fff; }
/* health sector (2026-11-03): same blocks, clean clinic blues */
.build-banner.health { background: rgba(37, 99, 235, .2); border-color: rgba(147, 197, 253, .45); margin-top: 10px; }
.build-banner.health b { color: #bfdbfe; }
.build-head.health { background: linear-gradient(120deg, #172554, #2563eb 55%, #0d9488); }
.build-head.health .kicker { color: #bfdbfe; }
.build-head.health .btn { background: #fff; color: #172554; border-color: #fff; }
/* logistics sector (2026-11-03): same blocks, warehouse yellow and steel */
.build-banner.logistics { background: rgba(202, 138, 4, .2); border-color: rgba(253, 224, 71, .45); margin-top: 10px; }
.build-banner.logistics b { color: #fef08a; }
.build-head.logistics { background: linear-gradient(120deg, #1e293b, #475569 55%, #ca8a04); }
.build-head.logistics .kicker { color: #fef08a; }
.build-head.logistics .btn { background: #fff; color: #1e293b; border-color: #fff; }
/* retail sector (2026-11-03): same blocks, shop-window indigo and green */
.build-banner.retail { background: rgba(79, 70, 229, .22); border-color: rgba(165, 180, 252, .45); margin-top: 10px; }
.build-banner.retail b { color: #c7d2fe; }
.build-head.retail { background: linear-gradient(120deg, #1e1b4b, #4f46e5 55%, #059669); }
.build-head.retail .kicker { color: #c7d2fe; }
.build-head.retail .btn { background: #fff; color: #1e1b4b; border-color: #fff; }
/* farm sector (2026-11-04): same blocks, orchard green and soil */
.build-banner.farm { background: rgba(101, 163, 13, .22); border-color: rgba(190, 242, 100, .45); margin-top: 10px; }
.build-banner.farm b { color: #d9f99d; }
.build-head.farm { background: linear-gradient(120deg, #1a2e05, #4d7c0f 55%, #0f766e); }
.build-head.farm .kicker { color: #d9f99d; }
.build-head.farm .btn { background: #fff; color: #1a2e05; border-color: #fff; }
/* garage sector (2026-11-04): same blocks, workshop red and steel */
.build-banner.garage { background: rgba(220, 38, 38, .2); border-color: rgba(252, 165, 165, .45); margin-top: 10px; }
.build-banner.garage b { color: #fecaca; }
.build-head.garage { background: linear-gradient(120deg, #1f2937, #b91c1c 55%, #1d4ed8); }
.build-head.garage .kicker { color: #fecaca; }
.build-head.garage .btn { background: #fff; color: #1f2937; border-color: #fff; }
/* building management sector (2026-11-18): same blocks, evening indigo and glass */
.build-banner.facility { background: rgba(67, 56, 202, .22); border-color: rgba(196, 181, 253, .45); margin-top: 10px; }
.build-banner.facility b { color: #ddd6fe; }
.build-head.facility { background: linear-gradient(120deg, #1e1b4b, #4338ca 55%, #0d9488); }
.build-head.facility .kicker { color: #ddd6fe; }
.build-head.facility .btn { background: #fff; color: #1e1b4b; border-color: #fff; }
/* Hadar Garage mock-up in the showcase (showcase.js, case 'garage'): the money hero, round actions, the yellow plate, one step per car */
.sc-g-hero { border-radius: 16px; padding: 12px; color: #fff; background: linear-gradient(135deg, #0aa2c0, #2563eb); }
.sc-g-hero small, .sc-g-hero strong { display: block; }
.sc-g-hero small { font-size: 11px; opacity: .9; }
.sc-g-hero strong { font-size: 32px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.sc-g-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.sc-g-chips span { background: rgba(255, 255, 255, .2); border-radius: 999px; padding: 3px 8px; font-size: 10px; white-space: nowrap; }
.sc-g-acts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; text-align: center; font-size: 10.5px; font-weight: 700; color: var(--ink-2); }
.sc-g-act { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.sc-g-act i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--sc-tone); }
.sc-g-act.main i { background: linear-gradient(135deg, #0aa2c0, #2563eb); border-color: transparent; color: #fff; }
.sc-g-car { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sc-g-car .sc-mgrow b, .sc-g-car .sc-mgrow small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-g-plate { flex: none; background: #ffd21f; color: #14181f; border: 1.5px solid #14181f; border-inline-start-width: 9px; border-inline-start-color: #1d4ed8; border-radius: 5px; padding: 2px 5px; font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-g-sum { flex: none; font-variant-numeric: tabular-nums; }
.sc-g-why { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--ink-2); }
.sc-g-why i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #0aa2c0; }
.sc-g-why.good i { background: #16a34a; }
.sc-maction.sc-g-wa { background: #128c7e; }
/* craft sector (2026-11-18): same blocks, workshop ink, measuring-tape yellow */
.build-banner.craft { background: rgba(234, 179, 8, .18); border-color: rgba(253, 224, 71, .45); margin-top: 10px; }
.build-banner.craft b { color: #fef08a; }
.build-head.craft { background: linear-gradient(120deg, #0f172a, #1d4ed8 55%, #ca8a04); }
.build-head.craft .kicker { color: #fef08a; }
.build-head.craft .btn { background: #fff; color: #0f172a; border-color: #fff; }

/* Sales training (training.js) */
.prod .acts { flex-wrap: wrap; }
.tr-enter { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; color: var(--muted); text-decoration: none; }
.tr-enter:hover { color: var(--accent); }
.tr { max-width: 860px; margin: 0 auto; padding: 24px 16px 64px; overflow-wrap: anywhere; }
.tr-gate { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 340px; margin: 48px auto; padding: 28px 20px; text-align: center; background: var(--card, #fff); border: 1px solid var(--line); border-radius: var(--radius); }
.tr-gate h1 { font-size: 24px; margin: 0; }
.tr-gate p { margin: 0; }
.tr-gate input { width: 100%; padding: 12px; font-size: 18px; text-align: center; letter-spacing: 4px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent; color: var(--ink); }
.tr-gate .btn { width: 100%; justify-content: center; }
.tr-error { color: var(--bad); }
.tr-back { font-size: 14px; }
.tr-loading { padding: 48px 0; text-align: center; color: var(--muted); }
.tr-head h1 { margin: 6px 0 0; font-size: 30px; }
.tr-head > p { margin: 0 0 12px; color: var(--ink-2); }
.tr-kicker { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--accent); }
.tr-apps, .tr-jump, .tr-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tr-apps a { padding: 5px 12px; font-size: 14px; color: var(--ink-2); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; }
.tr-apps a[aria-current] { color: #fff; background: var(--accent); border-color: var(--accent); }
.tr-jump button { padding: 7px 14px; font: inherit; font-size: 14px; color: var(--accent); cursor: pointer; background: var(--accent-soft); border: 0; border-radius: var(--radius-sm); }
.tr-section { margin-top: 36px; scroll-margin-top: 72px; }
.tr-section h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 22px; }
.tr-node, .tr-leaf { margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card, #fff); }
.tr-leaf, .tr-node > summary { display: block; padding: 11px 14px; line-height: 1.6; }
.tr-leaf b, .tr-node > summary b { display: block; }
.tr-leaf span, .tr-node > summary span { color: var(--ink-2); }
.tr-node > summary { position: relative; padding-inline-start: 34px; cursor: pointer; list-style: none; }
.tr-node > summary::-webkit-details-marker { display: none; }
.tr-node > summary::before { content: '+'; position: absolute; inset-inline-start: 13px; top: 10px; font-weight: 700; color: var(--accent); }
.tr-node[open] > summary::before { content: '−'; }
.tr-kids { padding: 0 12px 12px; border-top: 1px solid var(--line); }
.tr-kids .tr-node, .tr-kids .tr-leaf { background: transparent; }
@media print { .site-nav, .tr-tools, .tr-jump, .tr-apps { display: none; } }
