/* quality.css — the home in the quality of the documents the owner praised (msg 1977, DGO-2630): the Kol Barama and
   Urbana quotes and the business plan. A cover in a frame, eyebrow → heading → a fading hairline, figures over ruled
   columns, numbered warm cards. Every word, the logo and the console shot are the page's own: this sheet only sets how
   they stand, after the site's main stylesheet. Remove its one <link> and the page is as it was. */
:root{--q-deep-1:#0b2e24;--q-deep-2:#145040;--q-deep-3:#1b5e4a;--q-mint:#7ecfad;--q-ink:#12382d;--q-ink-2:#2f8f6b;
  --q-muted:#4f5f58;--q-card:#f7f5f0;--q-card-line:#e8e2d6}

/* ── the cover: the brand row is its top, as in the demo he chose (msgs 2132 → 2204) ─────────── */
/* the header lies over the cover (one gradient, one hatch, one frame behind both — no seam) and scrolls away with it */
.top{position:absolute;top:0;left:0;right:0;z-index:50;background:transparent;border-bottom:0;
  backdrop-filter:none;-webkit-backdrop-filter:none;padding-top:20px;color:#fff}
.top>.wrap{width:calc(100% - 40px);box-sizing:border-box;padding-top:16px;padding-bottom:12px}
.top .brand,.top .brand small,.top nav.main a{color:#fff}
.top .brand small{opacity:.72;letter-spacing:.02em}
.top .brand .mark{border-radius:12px;box-shadow:0 0 0 1px rgba(255,255,255,.28)}
.top .menu-btn{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.22);border-radius:12px}
.top .btn-primary{background:#fff;color:var(--q-deep-2)}
.hero{background:linear-gradient(160deg,var(--q-deep-1) 0%,var(--q-deep-2) 55%,var(--q-deep-3) 100%);padding-top:20px}
.hero::before{content:"";position:absolute;inset:0;opacity:.07;pointer-events:none;
  background:repeating-linear-gradient(135deg,#fff 0 1px,transparent 1px 14px)}
.hero>.wrap{border:1px solid rgba(255,255,255,.16);border-radius:22px;padding:124px 36px 40px;
  width:calc(100% - 40px);box-sizing:border-box}
/* the mark's faint shape on the cover's left, clear of the words */
.hero>.wrap::before{content:"";position:absolute;left:-46px;top:118px;width:170px;height:170px;border-radius:34px;
  background:rgba(255,255,255,.045);pointer-events:none}
.hero>.wrap::after{content:"";position:absolute;left:6px;top:170px;width:54px;height:66px;border-radius:20px;
  background:rgba(0,0,0,.18);pointer-events:none}
/* the heading: its first line white, the rest in the logo's mint */
.hero h1{color:var(--q-mint)}
.hero h1::first-line{color:#fff}
.hero .eyebrow{background:none;border:0;padding:0;border-radius:0;color:var(--q-mint);font-size:.8rem;font-weight:700;letter-spacing:.04em}
.hero .eyebrow .dot{display:none}
.hero h1{font-weight:800;letter-spacing:-.5px;line-height:1.12}
.hero .lead{font-weight:300}
.hero .lead::after{content:"";display:block;width:64px;height:6px;border-radius:6px;background:var(--q-mint);margin-top:22px}
.hero .trust{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:26px;
  border-top:1px solid rgba(255,255,255,.16);border-bottom:1px solid rgba(255,255,255,.16)}
.hero .trust span{padding:12px 10px;font-size:.8rem;font-weight:500;line-height:1.35;color:rgba(255,255,255,.92)}
.hero .trust span::before{content:none}
.hero .trust span+span{border-inline-start:1px solid rgba(255,255,255,.16)}

/* ── a section's head: eyebrow → heading → a hairline that fades ───────────── */
.sec-head .kicker{color:var(--q-ink-2);font-size:.8rem;font-weight:700;letter-spacing:.04em;text-transform:none}
.sec-head h2{color:var(--q-ink);font-weight:800;line-height:1.2}
.sec-head h2::after{content:"";display:block;height:2px;margin:12px 0 4px;
  background:linear-gradient(to left,var(--q-ink) 0%,var(--q-mint) 70%,transparent 100%)}
.sec-head p{color:var(--q-muted)}

/* ── the figures under the cover: over ruled columns, as the quote's terms ─── */
.hero+section .grid>.card{background:none;border:0;border-top:2px solid var(--q-ink);border-radius:0;box-shadow:none;padding:12px 0 0}
.hero+section .card h3{color:var(--q-ink);font-size:1.45rem;font-weight:800}
.hero+section .card small{display:block;margin-top:6px;color:var(--q-ink-2);font-size:.75rem;letter-spacing:.02em}

/* ── every other grid: numbered warm cards, as the plan's chapters ─────────── */
section:not(.hero):not(.hero+section) .grid{counter-reset:q}
section:not(.hero):not(.hero+section) .grid>.card{counter-increment:q;background:var(--q-card);border-color:var(--q-card-line);
  border-radius:16px;box-shadow:none}
section:not(.hero):not(.hero+section) .grid>.card::before{content:counter(q,decimal-leading-zero);display:block;
  font-size:1.9rem;font-weight:300;line-height:1;color:var(--q-ink-2);margin-bottom:10px}
section:not(.hero):not(.hero+section) .grid>.card h3{color:var(--q-ink);font-weight:800}
section:not(.hero):not(.hero+section) .grid>.card p{color:var(--q-muted)}

@media (max-width:760px){
  .top>.wrap{width:calc(100% - 28px)}
  .hero>.wrap{padding:96px 20px 24px;width:calc(100% - 28px)}
  .hero .eyebrow{margin-top:112px}
  .hero .cta .btn{flex:1 1 100%;text-align:center}
  .hero .trust span{font-size:.75rem;padding:10px 8px}
}

/* ── the menu, measured over the full scan (msg 2246, «סריקה מלאה»): ────────────────────────────────────────────
   (1) on a phone the sheet above turned the menu's links white while the site's open menu stays a white panel — ten
       invisible links on white, over the brand's second line; it opens here as a panel of the cover, under the header,
       inside the frame's margins;
   (2) from 981px (where the site puts its links back in the bar) to 1239px the nine links do not fit one row: they
       wrapped into two, the first cut above the screen and «תיעוד» over «DIGITAL OFFICE · מבית בינה סולושנס» — on the
       live site too (measured at 1024 without this sheet). The menu button stays until the row fits (1240px). */
@media (max-width:1239px){
  .top nav.main{display:none;position:absolute;top:calc(100% + 6px);inset-inline:20px;flex-direction:column;gap:2px;
    padding:10px;background:rgba(11,46,36,.97);border:1px solid rgba(255,255,255,.16);border-radius:18px;
    box-shadow:0 20px 40px rgba(0,0,0,.35);z-index:60}
  .top nav.main.open{display:flex}
  .top .menu-btn{display:block}
  .top nav.main a:hover,.top nav.main a[aria-current]{background:rgba(255,255,255,.1);color:#fff}
}

/* v3.1 (as Bina's v3.2, group msg 2316): the open menu is a solid sheet — at 97% the cover's words and its white
   button read through it. */
@media (max-width:1239px){
  .top nav.main{background:var(--q-deep-1)}
}
