/* The home screen's frame on every other public page (11/11/2026, DECISIONS ו1228; templates/_site_frame.html).
   The header, footer and phone bar rules are copied from home-hub.css as they are (one look, two files because the
   home screen's own file carries its whole page); the tokens they read are set here on the frame's own elements.
   Then the text pages' title block (site-pages.css .hero) becomes the home screen's deep-teal band, and Maya stands
   at the foot of the contents column on a computer, in the bottom bar on a phone. */
.sf-top, .sf-foot, .sf-bbar, .sf-dock {
  --navy: #16294a; --body: #3f4a5e; --muted: #6b6459; --teal: #0f7368; --teal-deep: #0c5e58;
  --line: #e8e0d6; --mint: #e6ede2; --foot: 54px;
  font-family: 'Assistant', system-ui, sans-serif;
}
.sf-top *, .sf-foot *, .sf-bbar * { box-sizing: border-box; }
.sf-top a, .sf-foot a, .sf-bbar a { text-decoration: none; }
.sf-foot p, .sf-foot nav { margin: 0; }
.hh-i { flex: none; display: block; }

/* ── header: the site's one top bar (ו1330, assets/brand/site-bar.css); it carries .sf-top, which the rules below read ── */

/* ── footer: the home screen's, in the page's flow (it is fixed only on the home screen) ── */
.hh-foot { position: fixed; z-index: 40; bottom: 0; inset-inline: 0; height: var(--foot); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 20px; padding: 0 40px; background: #fff; border-top: 1px solid var(--line); }
.hh-foot__nav { display: flex; gap: 22px; flex-wrap: wrap; }
/* each link is a 44px target in the 54px bar: an 18px line, 13px above and under it taken back by the margin (so the
   line does not move), and 7px more at each side, inside the gap between the links */
.hh-foot__nav a { position: relative; padding-block: 13px; margin-block: -13px; font: 600 14px/18px 'Assistant', sans-serif; color: var(--teal-deep); }
.hh-foot__nav a::after { content: ""; position: absolute; inset: 0 -7px; }
.hh-foot__nav a:hover { text-decoration: underline; }
/* ו1287: "תפריט נגישות" (a11y-menu.js) looks like the links beside it, the same 44px target */
.hh-foot__nav .np-a11y-pagelink { position: relative; display: inline; min-height: 0; padding: 13px 0; margin-block: -13px; font: 600 14px/18px 'Assistant', sans-serif; color: var(--teal-deep); text-decoration: none; }
.hh-foot__nav .np-a11y-pagelink::after { content: ""; position: absolute; inset: 0 -7px; }
.hh-foot__nav .np-a11y-pagelink:hover { text-decoration: underline; }
.hh-foot__legal { display: flex; align-items: center; justify-content: center; gap: 8px; font: 700 14.5px 'Assistant', sans-serif; color: var(--navy); white-space: nowrap; }
.hh-foot__legal .hh-i { color: var(--teal); }
.hh-foot__c { justify-self: end; font-size: 13px; color: var(--muted); }
.sf-foot { position: static; height: auto; min-height: var(--foot); padding-block: 12px; }
.sf-foot .hh-foot__c p { margin: 0; }
.sf-foot { grid-template-columns: minmax(0, 1fr) auto auto; row-gap: 6px; }
.sf-contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--muted); }
.sf-contact .ltr { direction: ltr; unicode-bidi: isolate; color: var(--teal-deep); }

/* ── a phone, and a window too narrow for a computer's bar (home-hub.css) ── */
@media (max-width: 1179px) {
  .hh-foot { position: static; display: grid; grid-template-columns: 1fr; gap: 6px; height: auto; padding: 12px 16px 114px; }
  /* ו1309: the links flow in one row (two lines on a phone) with a thin line between two links; the line that would open
     a row sits outside the nav and is cut (overflow), so no script decides where a row starts. Then a line, the legal
     sentence in a quieter weight, and the copyright and the operator on one line. */
  .hh-foot { gap: 0; padding-top: 4px; }
  .hh-foot__nav { display: flex; flex-wrap: wrap; gap: 0; margin-inline: -11px; padding-bottom: 4px; overflow: hidden; }
  .hh-foot__nav a { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 11px; margin-block: 0; font-size: 14.5px; line-height: 1.4; }
  .hh-foot__nav a::after { content: none; }
  .hh-foot__nav .np-a11y-pagelink { position: relative; display: flex; align-items: center; justify-content: flex-start; text-align: start; min-height: 44px; padding: 0 11px; margin-block: 0; font-size: 14.5px; line-height: 1.4; }
  .hh-foot__nav .np-a11y-pagelink::after { content: none; }
  .hh-foot__nav a::before, .hh-foot__nav .np-a11y-pagelink::before { content: ""; position: absolute; inset-inline-start: -1px; top: 50%; height: 14px; margin-top: -7px; border-inline-start: 1px solid var(--line); }
  .hh-foot__nav a:focus-visible, .hh-foot__nav .np-a11y-pagelink:focus-visible { outline-offset: -3px; }
  .hh-foot .hh-foot__legal { justify-content: flex-start; align-items: flex-start; margin: 0; padding: 12px 0 10px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; line-height: 1.5; white-space: normal; }
  .hh-foot__legal .hh-i { margin-top: 2px; }
  .hh-foot__c { justify-self: start; display: flex; flex-wrap: wrap; column-gap: 8px; font-size: 12.5px; line-height: 1.5; }
  .hh-foot__c p { margin: 0; }
  .hh-foot__c .np-op { flex-basis: auto !important; width: auto !important; margin: 0 !important; font-weight: 400 !important; }
  .hh-foot__c .np-op::before { content: "·"; margin-inline-end: 8px; }
  .hh-bbar { display: flex; position: fixed; z-index: 55; inset-inline: 0; bottom: 0; height: calc(84px + env(safe-area-inset-bottom, 0px));
    align-items: center; gap: 4px; padding: 14px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -12px 26px -18px rgba(22, 41, 74, .4); }
  .hh-bbar__i { flex: 0 0 64px; min-width: 0; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    color: var(--navy); font: 700 12.5px 'Heebo', sans-serif; white-space: nowrap; min-height: 44px; background: none; border: 0; cursor: pointer; }
  .hh-bbar__me { width: 36px; height: 36px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; }
  .hh-bbar__me .hh-i { color: #fff; }
  .hh-bbar .hh-bbmrow { flex: 1 1 auto; min-width: 0; width: auto; box-shadow: 0 6px 16px rgba(20, 134, 122, .22); }
  .hh-bbmrow .mrow-tag { top: -11px; inset-inline-end: auto; left: 50%; transform: translateX(-50%); font-size: 11px; line-height: 1.45; padding: 0 9px; }
  .hh-bbmrow .mrow-tag svg { width: 10px; height: 10px; }
  .hh-bbmrow .mrow-in { gap: 7px; padding: 5px; padding-inline-end: 9px; }
  .hh-bbmrow .mrow-ring { padding: 2px; }
  .hh-bbmrow .mrow-av { width: 44px; height: 44px; }
  .hh-bbmrow .mrow-name b { font-size: 17px; line-height: 1.15; }
  .hh-bbmrow .mrow-name small { font-size: 12.5px; line-height: 1.2; white-space: nowrap; }
  .hh-bbmrow .mrow-wave { flex: 1; min-width: 0; height: 20px; gap: 2px; }
  .hh-bbmrow .mrow-wave i { width: 3px; }
  .hh-bbmrow .mrow-wave i:nth-child(1) { height: 6px; } .hh-bbmrow .mrow-wave i:nth-child(2) { height: 13px; }
  .hh-bbmrow .mrow-wave i:nth-child(3) { height: 18px; } .hh-bbmrow .mrow-wave i:nth-child(4) { height: 10px; }
  .hh-bbmrow .mrow-wave i:nth-child(5) { height: 15px; } .hh-bbmrow .mrow-wave i:nth-child(n+6) { display: none; }
  .hh-bbmrow .mrow-live { padding: 1px 7px; font-size: 11px; gap: 4px; }
  .hh-bbmrow .mrow-live i { width: 6px; height: 6px; }

  body:has(.sf-bbar) { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .sf-foot { padding-bottom: 16px; }
  .sf-dock .mrow-slot { display: none; }
}

/* ── Maya on a computer: at the foot of the contents column (site-frame.js moves her there) ── */
.sf-dock { position: relative; margin-top: 16px; }
.sf-dock .mrow-slot .mrow { width: 100%; }
.sf-dock > .mw:not(.is-full) { bottom: 84px; left: 0; right: 0; height: 420px; --mw-max: 420px; --mw-tail-x: 34px; z-index: 48; }
@media (min-width: 1180px) {
  .sf-bbar { display: none; }
  .sf-dock.sf-float { position: fixed; z-index: 45; left: 24px; bottom: 24px; width: 300px; margin: 0; }
}

/* ── the text pages' title block: the home screen's deep-teal band, a title's height (ו1228) ── */
body:has(.sf-top) .hero { max-width: 1180px; margin: 20px auto 0; border-radius: 28px; border: 0;
  background: linear-gradient(120deg, #11766a 0%, #0c5e58 100%); color: #fff; }
body:has(.sf-top) .hero .geo { color: #fff; opacity: .07; }
body:has(.sf-top) .hero .hero-t { padding-block: 40px 36px; }
body:has(.sf-top) .hero h1 { color: #fff; }
body:has(.sf-top) .hero .tagline { color: #8ff5dc; }
body:has(.sf-top) .hero .lede { color: #e3f5f0; }
body:has(.sf-top) .hero .chip { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
body:has(.sf-top) .hero .meta { color: #cfeee7; } body:has(.sf-top) .hero .meta svg { color: #8ff5dc; }
body:has(.sf-top) .hero .btn.pri { background: #fff; color: #0c5e58; box-shadow: 0 12px 22px -14px rgba(0, 0, 0, .6); }
body:has(.sf-top) .hero .btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
body:has(.sf-top) .hero .hero-f .disc { background: radial-gradient(circle at 50% 42%, rgba(255,255,255,.22) 0%, rgba(255,255,255,.08) 55%, rgba(255,255,255,0) 71%); }
body:has(.sf-top) .hero .hero-f .ring { border-color: rgba(255, 255, 255, .22); }
body:has(.sf-top) .hero .hero-f img { max-width: 260px; }
body:has(.sf-top) .hero a:focus-visible { outline-color: #fff; }
@media (max-width: 1220px) { body:has(.sf-top) .hero { margin-inline: 16px; } }
@media (max-width: 700px) {
  body:has(.sf-top) .hero { margin: 12px 12px 0; border-radius: 22px; }
  body:has(.sf-top) .hero .hero-t { padding-block: 22px 22px; }
  body:has(.sf-top) .hero .hero-f img { max-width: 104px; }
}
/* the contents column sticks under the frame's header (site-pages.css reads --hd) */
:root:has(.sf-top) { --hd: 80px; }
@media (max-width: 1179px) { :root:has(.sf-top) { --hd: 56px; } }

/* ── the reduced frame of a door: a login page (ו1228) ── */
.sf-slim { position: relative; background: #fff; border-bottom: 1px solid #e8e0d6; }
.sf-slim::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #8fe0d2, #bcd9f2, #cfc4f0, #f8c9ae, #f6dc9b); }
.sf-slim__in { display: flex; align-items: center; gap: 14px; max-width: 1180px; margin: 0 auto; min-height: 64px;
  padding: 4px max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.sf-slim__brand { display: block; line-height: 0; }
.sf-slim__brand img { height: 34px; width: auto; display: block; }
.sf-slimf { padding: 8px 16px 20px; }
.sf-slimf nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.sf-slimf a { display: inline-flex; align-items: center; min-height: 44px; color: #0c5e58; font: 600 14px 'Assistant', sans-serif; text-decoration: none; }
.sf-slimf a:hover { text-decoration: underline; }
/* the robot in a ring, not on a square tile (the review: "the robot on a pink square") */
.login-head .np-tile { border-radius: 50%; padding: 3px; background: linear-gradient(135deg, #8fe0d2, #cfc4f0); }
.login-head .np-tile img { border-radius: 50%; background: #e6ede2; }
