:root{--hh-ink:#ecedf0;--hh-muted:#b9c6cf;--hh-edge:#334251;--hh-accent:#dec08a;--hh-surface:#13212c;--hh-back:#0c1721}
.h-site{background:linear-gradient(180deg,#10212d 0,#0b1621 670px);color:var(--hh-ink);min-height:76vh;padding-bottom:90px;font-family:inherit;line-height:1.72}
.h-site *{box-sizing:border-box}.h-site a{color:#f4d293;text-underline-offset:3px}.h-site a:hover{text-decoration-thickness:2px}.h-site a:focus-visible,.h-site button:focus-visible,.h-site textarea:focus-visible,.h-site input:focus-visible{outline:3px solid #f3ce84;outline-offset:3px}
.h-skip{position:absolute;top:-100px;left:14px;padding:12px;background:#fff;color:#111;z-index:999}.h-skip:focus{top:15px}
.h-topbar{max-width:1120px;margin:0 auto;display:flex;gap:12px;flex-wrap:wrap;padding:27px 24px 6px;font-size:.82rem;color:var(--hh-muted);text-transform:uppercase;letter-spacing:.07em}.h-topbar a{color:#d5d9dd;text-decoration:none}
.h-lede{max-width:1120px;padding:55px 24px 44px;margin:auto;border-bottom:1px solid var(--hh-edge)}.h-lede--study{max-width:840px}.h-kicker{font-size:.8rem;font-weight:700;letter-spacing:.19em;color:var(--hh-accent)!important;text-transform:uppercase;margin:0 0 16px}.h-lede h1{max-width:900px;font-size:clamp(2.2rem,4.6vw,4.2rem);font-weight:650;letter-spacing:-.033em;line-height:1.13;color:#fff;margin:0 0 20px}.h-deck{font-size:clamp(1.08rem,1.5vw,1.34rem);max-width:680px;color:#d8e0e7;margin:0;line-height:1.65}
.h-actions{display:flex;gap:18px;flex-wrap:wrap;align-items:center;margin:26px 0 0}.h-site .h-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;background:#dfbe7b;color:#15212a;text-decoration:none;border:1px solid #dfbe7b;padding:12px 23px;border-radius:4px;font:inherit;font-weight:750;cursor:pointer}.h-site .h-button:hover{background:#f2d59d}.h-textlink{font-weight:650}
.h-content,.h-article{max-width:840px;margin:0 auto;padding:20px 24px}.h-section{padding:26px 0 32px;border-bottom:1px solid var(--hh-edge);scroll-margin-top:20px}.h-section h2{font-size:clamp(1.5rem,2.1vw,2rem);font-weight:650;letter-spacing:-.018em;line-height:1.27;color:#f6f7f8;margin:0 0 22px}
.h-prose p,.h-article p,.h-article>p{font-size:1.06rem;color:#d9dfe5;line-height:1.8;margin:0 0 19px}.h-prose strong,.h-article strong{color:#fff;font-weight:700}.h-prose h3{font-size:1.17rem;color:#f7e3ba}.h-prose blockquote,.h-article blockquote{margin:25px 0;padding:14px 22px;border-left:3px solid #d8b979;background:rgba(232,194,136,.08);color:#eae5dd}.h-prose ul,.h-prose ol,.h-article ul{padding-left:23px}.h-prose li{padding-bottom:8px}.h-prose code{background:#223543;padding:1px 5px;color:#f0d9ac}.h-citations{white-space:normal;display:inline}.h-site .h-cite{display:inline-flex;background:#2a3b48;border:1px solid #536372;padding:0 6px;margin:0 2px;font-size:.7rem;border-radius:3px;text-decoration:none;line-height:1.8;color:#f3d7aa}
.h-toc{max-width:840px;margin:25px auto 5px;padding:18px 24px 23px;background:#14232f;border:1px solid #374b5a;border-radius:5px}.h-toc h2{font-size:1.04rem;color:#ebedf0;margin:0 0 12px}.h-toc ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 30px;padding-left:23px;margin:0}.h-toc li{font-size:.91rem;line-height:1.5}.h-toc a{color:#d3dbe4;text-decoration:none}.h-toc a:hover{text-decoration:underline}
.h-next,.h-course-index,.h-reflection,.h-check,.h-progress,.h-private-notes,.h-lesson-nav,.h-source-tools,.h-source-grid,.h-return{max-width:840px;margin:30px auto;padding:24px}.h-next{max-width:1120px}.h-next h2,.h-reflection h2,.h-check h2,.h-progress h2,.h-private-notes h2{color:#fff;font-size:1.46rem;margin:0 0 14px}.h-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:22px 0}.h-site .h-tile{border:1px solid var(--hh-edge);background:var(--hh-surface);border-radius:5px;padding:24px;display:block;text-decoration:none}.h-tile h3{margin:0 0 18px;font-size:1.18rem;color:#fff}.h-tile span{color:#e6c58c}
.h-course-index{padding:0 24px}.h-site .h-lesson-row{display:grid;grid-template-columns:62px minmax(0,1fr) 30px;align-items:center;gap:16px;text-decoration:none;color:#fff;padding:18px 20px;border:1px solid var(--hh-edge);margin:11px 0;border-radius:5px;background:#142330}.h-lesson-no{font-size:1.45rem;color:#dfc68c}.h-lesson-label strong{font-size:1.09rem;display:block}.h-lesson-label small{display:block;color:var(--hh-muted);margin-top:4px}.h-lesson-arrow{color:#e5c888}.h-done{border-color:#5f806b!important}.h-done .h-lesson-no:before{content:'✓ ';font-size:.9rem}.h-info{background:rgba(215,180,121,.09);border-left:3px solid var(--hh-accent);padding:18px 20px;max-width:790px;margin:20px auto;font-size:.94rem}
.h-article{font-size:1.07rem;line-height:1.83}.h-article blockquote[dir=rtl]{font-size:1.45rem;line-height:2.1;font-family:'Noto Serif Hebrew','Ezra SIL','SBL Hebrew',serif;text-align:right;unicode-bidi:isolate}.h-reflection,.h-check,.h-progress,.h-private-notes{border:1px solid var(--hh-edge);border-radius:5px;background:#142330}.h-reflection p,.h-check p,.h-progress p{color:#d9e0e5}.h-choices{display:grid;gap:12px}.h-choices button{display:block;padding:14px 20px;text-align:left;min-height:48px;background:#233543;color:#f3f4f5;border:1px solid #65727a;border-radius:4px;font:inherit;cursor:pointer}.h-choices button[aria-pressed=true]{border-color:#dfc180;background:#30433d}.h-feedback{font-weight:650}.h-feedback--correct{color:#b6e2bd!important}.h-progress .h-button{margin:12px 12px 12px 0}.h-progress-result{font-size:.92rem;color:#bee5c7}.h-account-note{font-size:.88rem}.h-private-notes textarea{width:100%;background:#0b1721;color:#fff;border:1px solid #64727e;border-radius:4px;padding:14px;font:inherit}.h-private-notes label{display:block;margin-bottom:7px}.h-private-notes button:not(.h-button){padding:11px 15px;background:transparent;color:#ebce9c;border:1px solid #a08057;border-radius:4px;cursor:pointer}.h-lesson-nav{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.h-return{font-size:.98rem;border-top:1px solid var(--hh-edge)}
.h-source-grid{max-width:1120px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.h-site .h-source{display:block;padding:20px;text-decoration:none;border:1px solid var(--hh-edge);background:#142330;border-radius:5px}.h-source>span{font-size:.75rem;letter-spacing:.08em;color:#e5bf7d;display:block}.h-source>strong{font-size:1.09rem;display:block;margin:9px 0;color:#fff}.h-source small{display:block;color:#c0ccd4;font-size:.86rem;line-height:1.5}.h-source-tools label{display:block;margin-bottom:7px}.h-source-tools input{width:100%;padding:13px 15px;min-height:48px;background:#142330;color:#fff;border:1px solid #7b8790;border-radius:4px}.h-source[hidden]{display:none}
@media(max-width:850px){.h-topbar{padding-top:20px}.h-toc ol{grid-template-columns:1fr}}
@media(max-width:590px){.h-lede{padding:34px 20px 34px}.h-topbar{padding-left:20px;padding-right:20px;font-size:.75rem;gap:9px}.h-content,.h-article{padding:16px 20px}.h-section{padding:23px 0}.h-grid,.h-source-grid{grid-template-columns:1fr}.h-toc,.h-next,.h-reflection,.h-check,.h-progress,.h-private-notes,.h-lesson-nav,.h-source-tools{margin:18px 16px;padding:19px}.h-source-grid{padding:0 16px}.h-course-index{padding:0 16px}.h-site .h-lesson-row{grid-template-columns:42px minmax(0,1fr) 18px;padding:15px 12px;gap:11px}.h-lesson-no{font-size:1.12rem}.h-lesson-label strong{font-size:.95rem}.h-lede h1{font-size:clamp(2rem,8vw,2.6rem)}.h-prose p{font-size:1rem}}
@media(prefers-reduced-motion:reduce){.h-site *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{.h-topbar,.h-toc,.h-next,.h-actions,.h-lesson-nav,[data-heritage-notes],.h-site .h-progress,.h-source-tools{display:none!important}.h-site{background:#fff!important;color:#111}.h-site p,.h-site h1,.h-site h2,.h-site h3,.h-prose p{color:#111!important}.h-section{break-inside:avoid}}
/* 8.4: explicit guest/account import, editorial preview and bilingual mobile navigation */
.h-site .h-language{margin-left:auto;font-weight:750;color:#f0cb88;text-decoration:underline}
.h-sync{max-width:840px;margin:20px auto;padding:20px 24px;border:1px solid #637885;background:#182d38;border-radius:5px}
.h-sync[hidden],.h-private-notes[hidden],.h-answer-note[hidden]{display:none}
.h-sync p{color:#e0e8e8;margin:0 0 15px;max-width:72ch}
.h-sync button{padding:11px 15px;min-height:44px;margin:0 10px 10px 0;background:transparent;color:#f0d3a5;border:1px solid #ac946c;border-radius:4px;cursor:pointer;font:inherit}
.h-sync .h-button{background:#dec08a;color:#17232b;border-color:#dec08a}
.h-preview-banner{max-width:1120px;margin:0 auto;padding:14px 24px}
.h-prose [lang="he"],.h-article [lang="he"]{font-family:'Noto Serif Hebrew','SBL Hebrew','Ezra SIL',serif;direction:rtl;unicode-bidi:isolate;line-height:1.9;font-size:1.1em}
.h-site .h-tile:hover,.h-site .h-lesson-row:hover,.h-site .h-source:hover{border-color:#9b8564}
.h-site .h-source small,.h-site .h-tile h3,.h-lesson-label strong{overflow-wrap:anywhere}
@media(max-width:590px){.h-sync{margin:18px 16px;padding:18px}.h-sync button{width:100%;margin-right:0}.h-site .h-language{margin-left:0}.h-toc li{overflow-wrap:anywhere}}

/* Heritage video teaching and subscription pages. */
.h-video-reading{max-width:860px;margin:36px auto;padding:28px 0;border-top:1px solid rgba(129,139,149,.35)}.h-video-ratio{aspect-ratio:16/9;width:100%;background:#101924}.h-video-ratio iframe{border:0;display:block;width:100%;height:100%}.h-video-reading details{margin:18px 0;line-height:1.8}.h-video-reading summary{cursor:pointer;font-weight:700}.h-video-reading details p{max-width:75ch;white-space:pre-line}.h-video-note{font-size:.94rem;opacity:.82}.h-email-form{max-width:650px;padding:22px;border:1px solid rgba(132,153,169,.45);margin:28px 0}.h-email-form label{display:block;line-height:1.5}.h-email-form input[type=email]{display:block;width:100%;max-width:550px;padding:13px;border:1px solid #697887;border-radius:3px;font:inherit;margin:8px 0 16px;background:#fff;color:#17222c}.h-email-form input[type=checkbox]{width:19px;height:19px;margin-right:10px;vertical-align:middle}.h-honeypot{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}.h-email-form button:focus-visible,.h-email-form input:focus-visible{outline:3px solid #bd9051;outline-offset:3px}@media(max-width:600px){.h-video-reading{padding:20px 0}.h-email-form{padding:18px 14px}}

.h-source-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px 20px;border-top:1px solid rgba(110,121,133,.35);padding:18px 0;margin:14px 0 32px}.h-source-meta>div{border-bottom:1px solid rgba(110,121,133,.24);padding-bottom:10px}.h-source-meta dt{font-size:.82rem;text-transform:uppercase;letter-spacing:.06em;opacity:.7}.h-source-meta dd{margin:2px 0 0;font-size:1rem;overflow-wrap:anywhere}@media(max-width:550px){.h-source-meta{grid-template-columns:1fr}}

.h-email-form textarea,.h-email-form input[name=source]{display:block;width:100%;max-width:650px;padding:12px;margin:8px 0 16px;border:1px solid #8799a4;border-radius:3px;font:inherit;background:#fff;color:#15252e}.h-email-form textarea:focus-visible{outline:3px solid #bd9051;outline-offset:3px}

.h-source-image{margin:25px 0 35px;padding:16px;background:#162733;border:1px solid #4c6370}.h-source-image img{display:block;width:100%;max-height:900px;object-fit:contain}.h-source-image figcaption{font-size:.91rem;line-height:1.65;color:#cbd5de;margin-top:12px}
