/* (3.45.0) THE CLEAN EDITORIAL LOOK — the public pages (home / pricing, the landing pages, legal, tutorials, filter
   help). Loaded after look3450.css and after the page's own sheets (home.css, home3190.css, tutorial.css, a page's
   <style>). The mock "B · Clean editorial": white, #111 titles in a light tight serif, #444 body, hairlines, soft
   #F6F5F1 bands, one deep green, pill buttons, small uppercase green labels, thin rule lists, no shadows/gradients.
   Look only — the words, links, sections and scripts of the pages are unchanged. The sefer-page drawings, the cover
   drawings and the "Try it" pages are previews of the product: not restyled. */

:root:root { --shadow318: none; }

html body { background: var(--ed-bg); color: var(--ed-ink); font: 16px/1.6 var(--ed-sans); }
html[dir="rtl"] body { font-family: var(--ed-sans); }

/* ---------- the header: wordmark, plain links, outline "Sign in", one green pill ---------- */
html .top { background: var(--ed-bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: var(--ed-hair); box-shadow: none;
  padding-block: 18px; padding-inline: max(var(--ed-gutter), calc((100% - var(--ed-max)) / 2 + var(--ed-gutter))); }
html .top .brand { gap: 10px; color: var(--ed-ink); }
html .top .brand img { width: 30px; height: 30px; border-radius: var(--ed-r2); }
html .top .brand span { font: 600 26px/1 var(--ed-serif); letter-spacing: -.01em; }
html[dir="rtl"] .top .brand span { font-family: var(--ed-heb); font-weight: 700; letter-spacing: 0; }
html .top nav { gap: 26px; }
html .top nav > a:not(.btn):not(.lang) { color: var(--ed-ink); font-size: 15px; }
html .top nav > a:not(.btn):not(.lang):hover { color: var(--ed-accent); }
html .lang { border: 1px solid var(--ed-line-2); color: var(--ed-ink); border-radius: var(--ed-pill); padding: 5px 14px; font-size: 14px; }
html .lang:hover { border-color: var(--ed-ink); }

/* ---------- buttons ---------- */
html .btn { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--ed-pill); font-weight: 500; font-size: 15px; padding: 10px 20px; min-height: 0; border: 1px solid var(--ed-line-2); background: transparent; color: var(--ed-ink); box-shadow: none; }
html .btn:hover { border-color: var(--ed-ink); }
html .btn.gold { background: var(--ed-accent); border: 1px solid var(--ed-accent); color: var(--ed-accent-ink); box-shadow: none; }
html .btn.gold:hover { background: var(--ed-accent-hover); border-color: var(--ed-accent-hover); color: var(--ed-accent-ink); }
html .btn.ghost { border-color: var(--ed-ink); background: transparent; color: var(--ed-ink); }
html .btn.ghost:hover { background: var(--ed-soft); border-color: var(--ed-ink); }
html .btn.big { padding: 15px 26px; font-size: 16px; }
html .btn:focus-visible, html .lang:focus-visible, html .tbtn:focus-visible, html .cb:focus-visible { outline: 2px solid var(--ed-focus); outline-offset: 2px; }
html .more { color: var(--ed-accent); font-weight: 500; }
html .tbtn { border-radius: var(--ed-pill); border-color: var(--ed-line-2); }
html .tbtn:hover { border-color: var(--ed-ink); }

/* ---------- type ---------- */
html main { max-width: var(--ed-max); padding-inline: var(--ed-gutter); }
html :is(h1, h2) { font-family: var(--ed-serif); font-weight: 400; letter-spacing: var(--ed-track-title); color: var(--ed-ink); }
html h3 { font-family: var(--ed-serif); font-weight: 400; letter-spacing: -.01em; color: var(--ed-ink); }
html[dir="rtl"] :is(h1, h2, h3) { font-family: var(--ed-heb); letter-spacing: 0; }
html[dir="rtl"] h3 { font-weight: 700; }
html h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1; margin: 14px 0 24px; }
html .hero h1, html .hero318 h1 { font-size: clamp(40px, 5.2vw, 72px); line-height: .98; color: var(--ed-ink); }
html h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.05; margin-bottom: 32px; }
html :is(.feat318 h2, .hero318 h1, .tools318 h2, .covers3d h2, .m9-card h3, .t9-text h4) { color: var(--ed-ink); }
html .eyebrow { color: var(--ed-accent); font-weight: 600; font-size: 13px; letter-spacing: var(--ed-track-label); }
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 14px; }
html :is(.lead, .muted, .note, .sub) { color: var(--ed-body); }
html .lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; }

/* ---------- sections: white space, hairlines between them, soft bands ---------- */
html main > section + section { border-top: var(--ed-hair); }
html section { padding-block: clamp(48px, 7vw, 88px); }
html .pricing { background: var(--ed-soft); border-radius: 0; border-top: 0 !important; padding-inline: clamp(16px, 3vw, 40px); }
html .pricing + section { border-top: 0; }

/* ---------- cards become quiet boxes and thin rule lists ---------- */
html :is(.step, .plan, .pack, .lv, .rv, .card318, .tut318-card, .ty-form, .lib, .qc, .m9-card, .n9-grid > *, .sh-grid li, .t9-scr, .win, .wave) { box-shadow: none; border-radius: var(--ed-r1); }
html .step { border: 0; border-top: 1px solid var(--ed-rule); border-radius: 0; background: transparent; padding: 22px 0 0; }
html .step .ic { color: var(--ed-accent); }
html .step h3 { font-size: 24px; }
html .grid3, html .grid4 { gap: 40px; }
html .why .grid3 > div, html .points > div { border-top: 1px solid var(--ed-rule); }
html .trio318 .card318, html .tut318-card { border: 0; border-top: 1px solid var(--ed-rule); border-radius: 0; background: transparent; padding-inline: 0; }
html .tut318-card b, html .tut318-card span { padding-inline: 0; }
html .tut318-card img { border: var(--ed-hair); border-radius: var(--ed-r1); }
html .trio318 .card318 b, html .tut318-card b, html .tl-list b { color: var(--ed-ink); font-weight: 600; }
html .tl-list { gap: 0; border-top: 1px solid var(--ed-rule); }
html .tl-list a { border: 0; border-bottom: var(--ed-hair); border-radius: 0; background: transparent; padding: 14px 0; }
html .tl-list a:hover b { color: var(--ed-accent); }
html .sh-grid li { border: 0; border-top: 1px solid var(--ed-rule); border-radius: 0; background: transparent; padding: 16px 0 0; }
html .lm-day { border-inline-start-width: 1px; border-color: var(--ed-accent); }
html .lm-day li::before { background: var(--ed-accent); border-color: var(--ed-bg); width: 11px; height: 11px; inset-inline-start: -6px; }
html .ticks li::before, html .plan li::before, html .feats li::before { color: var(--ed-accent); }
html .lib { border: var(--ed-hair); background: var(--ed-soft); }
html .rv { border: 0; border-top: 1px solid var(--ed-rule); border-radius: 0; background: transparent; padding-inline: 0; }
html .shot img { border-radius: var(--ed-r1); box-shadow: none; border-color: var(--ed-line); }
html .hero-shot img { box-shadow: none; }

/* the levels and the plan switch */
html .scale i { background: var(--ed-line); height: 1px; border-radius: 0; }
html .lv { background: transparent; border: 0; border-top: 1px solid var(--ed-rule); border-radius: 0; padding: 18px 0 0; }
html .lv.lv5 { border: 0; border-top: 2px solid var(--ed-accent); }
html .lv .n, html .lv:nth-child(n) .n { background: transparent; color: var(--ed-accent); border: 1px solid var(--ed-accent-line); font-family: var(--ed-serif); font-weight: 400; }
html .lv.lv5 .n { background: var(--ed-accent); color: var(--ed-accent-ink); border-color: var(--ed-accent); }
html .chips span { background: transparent; border-color: var(--ed-line-2); }
html :is(.toggle, .lv-mode) { background: var(--ed-bg); border-color: var(--ed-line-2); }
html :is(.toggle, .lv-mode) button { color: var(--ed-ink); }
html :is(.toggle, .lv-mode) button.on { background: var(--ed-accent); color: var(--ed-accent-ink); }

/* prices */
html .plans { gap: 0; border-top: 1px solid var(--ed-rule); }
html .plan { background: transparent; border: 0; border-bottom: var(--ed-hair); border-radius: 0; padding: 28px 24px 28px 0; }
html[dir="rtl"] .plan { padding: 28px 0 28px 24px; }
html .plans > .plan + .plan { border-inline-start: var(--ed-hair); padding-inline-start: 24px; }
html .plan.best { border: 0; border-bottom: var(--ed-hair); border-top: 2px solid var(--ed-accent); margin-top: -1px; }
html .plans > .plan.best + .plan, html .plans > .plan + .plan.best { border-inline-start: var(--ed-hair); }
html .plan.best::before { background: var(--ed-accent); color: var(--ed-accent-ink); font-weight: 600; letter-spacing: .04em; border-radius: var(--ed-pill); top: -13px; }
html .plan .price { font-family: var(--ed-serif); font-weight: 400; font-size: 48px; letter-spacing: var(--ed-track-title); }
html .plan li { border-top: var(--ed-hair); }
html .packs { gap: 0; border-top: 1px solid var(--ed-rule); }
html .pack { background: transparent; border: 0; border-bottom: var(--ed-hair); border-radius: 0; padding: 18px 18px 18px 0; }
html .plan9, html .new-pill3190 { box-shadow: none; }
@media (max-width: 860px) {
  html .plans > .plan + .plan { border-inline-start: 0; padding-inline-start: 0; }
  html .plan, html[dir="rtl"] .plan { padding-inline: 0; }
}

/* questions */
html .faq details { background: transparent; border: 0; border-bottom: var(--ed-hair); border-radius: 0; padding: 18px 0; margin: 0; }
html .faq details:first-of-type { border-top: 1px solid var(--ed-rule); }
html .faq summary { font-weight: 500; font-size: 17px; }
html .faq summary::marker { color: var(--ed-accent); }

/* the demo window (a drawing of the product): flat, in the site's colours */
html .win { border-color: var(--ed-line); }
html .win-bar { background: var(--ed-ink); }
html .win-tools { background: var(--ed-soft); }
html .opts button { border-radius: var(--ed-r2); }
html .opts button:hover { border-color: var(--ed-ink); }
html .qc { border-color: var(--ed-line); }
html .queries { background: var(--ed-bg); }

/* "Try it": the choices and form (the pages it makes are previews — not touched) */
html .ty-choice { border-width: 1px; border-radius: var(--ed-r1); }
html .ty-choice:hover { border-color: var(--ed-ink); }
html .ty-choice.on { border-color: var(--ed-accent); box-shadow: 0 0 0 1px var(--ed-accent); }
html .ty-form { border-color: var(--ed-line); background: var(--ed-soft); }
html .ty-form input:not([type=file]), html .ty-form textarea { background: var(--ed-bg); border-color: var(--ed-line-2); border-radius: var(--ed-r2); }

/* the last call to act: the deep green band of the mock */
html .final { background: var(--ed-accent); color: var(--ed-accent-ink); border-top: 0 !important; margin-block: 32px 0; padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: flex-end; justify-content: space-between; text-align: start; }
html .final h2 { margin: 0; flex: 1 1 420px; color: var(--ed-accent-ink); text-align: start; font-size: clamp(32px, 4.4vw, 56px); }
html .final .btn.gold, html .lp-cta .btn.gold { background: var(--ed-accent-ink); border-color: var(--ed-accent-ink); color: var(--ed-accent); font-weight: 600; }
html .final .btn.gold:hover, html .lp-cta .btn.gold:hover { background: var(--ed-soft); border-color: var(--ed-soft); color: var(--ed-accent-hover); }
html .final .btn:focus-visible, html .lp-cta .btn:focus-visible { outline-color: var(--ed-accent-ink); }
html .lp-cta { background: var(--ed-accent); color: var(--ed-accent-ink); border: 0; border-radius: 0; padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 40px); }
html .lp-cta h2 { color: var(--ed-accent-ink); }
html .lp-cta .btn.ghost { border-color: rgba(255,255,255,.7); color: var(--ed-accent-ink); }
html .lp-cta .btn.ghost:hover { background: rgba(255,255,255,.1); }
:root[data-theme="dark"] .lp-cta .btn.ghost { border-color: var(--ed-accent-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lp-cta .btn.ghost { border-color: var(--ed-accent-ink); } }

/* landing pages */
html .lp { max-width: 820px; }
html .lp h2 { font-size: clamp(26px, 3vw, 36px); }
html .lp p, html .lp li { color: var(--ed-body); }
html .lp .crumbs { color: var(--ed-muted); }
html .lp-related a { color: var(--ed-accent); }

/* the footer: quiet grey, a hairline */
html footer { color: var(--ed-muted); border-top: var(--ed-hair); padding: 32px var(--ed-gutter) 48px; }
html footer a { color: var(--ed-muted); }
html footer a:hover { color: var(--ed-ink); }
html .ft-pages { border-bottom-color: var(--ed-line); padding-bottom: 14px; margin-bottom: 8px; }
html .ft-pages b { color: var(--ed-ink); font-weight: 600; }

/* legal pages (legal.html's own <style> before this) */
html .legal .contacts { border-radius: var(--ed-r1); background: var(--ed-soft); }
html .legal button.choice { border-color: var(--ed-line-2); }
html .legal h1, html .legal .h1 { font-weight: 400; font-size: clamp(34px, 4.4vw, 52px); }
html .legal h3 { font-family: var(--ed-sans); font-weight: 600; font-size: 18px; letter-spacing: 0; }

/* phones */
@media (max-width: 640px) {
  html .top { padding-block: 12px; }
  html .top nav { gap: 10px; }
  html .top .brand span { font-size: 22px; }
  html .top nav .btn.ghost { padding: 7px 14px; font-size: 14px; }
  html .final { margin-inline: calc(-1 * var(--ed-gutter)); }
}

/* ---------- (3.45.0 join-up) side-by-side with the mock: "New in Chibur" was still six rounded cards with green titles;
   now a thin rule list like the mock's "01 Transcribe" row (a #111 rule on top, no box, titles in ink) ---------- */
html .n9-grid { gap: 0 40px; }
html .n9-grid a { background: transparent; border: 0; border-top: 1px solid var(--ed-rule); border-radius: 0; padding: 18px 0 22px; transform: none; }
html .n9-grid a:hover, html .n9-grid a:focus-visible { border-color: var(--ed-accent); transform: none; }
html .n9-grid a:hover b { color: var(--ed-accent); }
html .n9-grid b { color: var(--ed-ink); font-weight: 600; }
html .n9-grid .yic3190 { color: var(--ed-accent); }

/* (3.45.0 join-up) the hero: the mock gives the title room ("From a recorded shiur" on one line, not "shiur" alone);
   the text column now gets a little more than the picture. Same words and picture, desktop only (the phone is one column). */
@media (min-width: 861px) {
  html .hero318 { grid-template-columns: 1.2fr 1fr; }
  html .hero318 h1 { font-size: clamp(40px, 4.7vw, 66px); text-wrap: balance; }
}
/* (3.45.0 join-up) section heads sit at the start like the mock ("What you get", "Nothing changes…"), not centred.
   Only the label, the title and the short intro under it; the content under them is not moved. Hebrew follows (start = right). */
:root:root main > section > :is(p.eyebrow, h2, p.center, p.sub) { text-align: start; margin-inline-start: 0; }
html main > section.gilyon { text-align: start; }
/* (3.45.0 join-up) the 3D covers' shelf on the landing page: the stage around the covers is a soft band with a hairline
   (like the Cover builder's 3D view in this build), not a navy gradient with a shadow. The covers themselves are not touched. */
:root:root .c9-shelf { background: var(--ed-soft); box-shadow: none; border-radius: var(--ed-r1); border: var(--ed-hair); }
:root:root .c9-shelf::after { background: var(--ed-line-2); height: 1px; }
