@font-face {
  font-family: Instrument;
  src: url("/type/instrument-serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Instrument;
  src: url("/type/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("/type/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #211a41;
  --accent: #382971;
  --muted: #61566a;
  --paper: #f8f7f1;
  --white: #fffdf8;
  --lavender: #eee6f7;
  --rule: #cfc6d2;
  --display: Instrument, Georgia, serif;
  --body: Geist, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 14px; }
[hidden] { display: none !important; }
body { background: var(--paper); color: var(--ink); margin: 0; font: 16px/1.5 var(--body); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font: 400 1rem/.99 var(--display); }
h1 { font-size: clamp(4.3rem,7.5vw,8.1rem); letter-spacing: -.026em; }
h2 { font-size: clamp(2.4rem,4.2vw,4.5rem); }
h3 { font-size: 2.4rem; }
a { color: var(--accent); text-underline-offset: .18em; }
a, button, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #7252b2; outline-offset: 4px; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; max-width: 100%; }
.width { width: min(1292px,calc(100% - clamp(2.15rem,10vw,11rem))); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .65rem; left: .65rem; padding: .55rem .9rem; background: var(--white); transform: translateY(-180%); }
.skip:focus { transform: none; }
.mast { border-bottom: 1px solid #cdc2cf; }
.mast-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: .9rem; }
.wordmark { display: inline-flex; align-items: center; gap: .52rem; font: 400 clamp(1.52rem,3.6vw,2.1rem)/1 var(--display); letter-spacing: -.02em; white-space: nowrap; text-decoration: none; color: var(--ink); }
.plate { display: inline-block; width: 1.18rem; height: 1.18rem; border: 1.5px solid var(--accent); border-radius: 50%; position: relative; }
.plate::before { content: ""; position: absolute; inset: .18rem; border: 1px solid var(--accent); border-radius: 50%; }
.mast nav { display: flex; gap: clamp(.8rem,2.8vw,2.55rem); align-items: center; font-weight: 570; font-size: .89rem; }
.mast nav a { color: var(--ink); text-decoration: none; }
.mast nav a:hover { text-decoration: underline; }
.practice-link { border: 1px solid #9a87ab; border-radius: 50em; padding: .42rem .78rem; white-space: nowrap; }
.hero { background: var(--lavender); border-bottom: 1px solid #cfc1d8; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.91fr); align-items: center; gap: clamp(1.65rem,4vw,4rem); padding-block: clamp(2.3rem,5.2vw,5.45rem); }
.hero-copy { padding-block: .45rem; }
.intro-note { color: var(--accent); margin-bottom: .59rem; letter-spacing: .04em; font-size: .87rem; font-weight: 690; }
.hero h1 { max-width: 11ch; }
.hero h1 em { color: #63449b; font-weight: 400; }
.intro { color: var(--muted); font-size: clamp(1rem,1.55vw,1.22rem); max-width: 43ch; margin-top: 1rem; }
.still { border-radius: 47% 47% 1.15rem 1.15rem / 45% 45% 1.15rem 1.15rem; overflow: hidden; padding: 6px; border: 1px solid #8975a3; background: #f8f1fb; }
.still img { object-fit: cover; aspect-ratio: 1.1; height: auto; border-radius: inherit; }
#search { margin-top: 1.45rem; max-width: 35rem; }
#search label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: .33rem; }
.search-box { display: flex; min-height: 53px; background: var(--white); border: 1px solid #867096; border-radius: .5rem; padding: .22rem; gap: .22rem; }
.search-box:focus-within { box-shadow: 0 0 0 2px #9e84bf; }
.search-box input { min-width: 0; flex: 1; padding: .45rem .68rem; border: 0; color: var(--ink); background: transparent; outline: none; }
.search-box input::placeholder { color: #746985; }
.search-box button, .solid, .outline { border: 1px solid var(--accent); border-radius: .36rem; padding: .57rem .82rem; color: var(--white); background: var(--accent); font-size: .88rem; font-weight: 690; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: .31em; min-height: 43px; text-align: center; line-height: 1.22; }
.search-box button:hover, .solid:hover { background: #503b91; }
.outline { color: var(--accent); background: transparent; }
.outline:hover:not(:disabled) { background: #eaddf6; }
.starters { margin-top: .8rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.starters a { border: 1px solid #bba8c5; padding: .24rem .57rem; color: var(--ink); font-size: .8rem; border-radius: 3em; text-decoration: none; }
.starters a:hover { background: var(--white); }
.line-head { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem 1rem; }
.line-head > a, .text-button { font-size: .89rem; }
.text-button { color: var(--accent); padding: .4rem 0; background: transparent; border: 0; text-decoration: underline; text-underline-offset: .19em; }
.results { margin-block: clamp(1.75rem,4vw,3.6rem) 0; padding-block: .7rem; }
.subtle { color: var(--muted); font-size: .91rem; margin-block: .6rem 1rem; overflow-wrap: anywhere; }
#matches { display: grid; gap: .55rem; }
.match { padding: clamp(.85rem,2.7vw,1.65rem); background: var(--card,#f0ede7); border: 1px solid var(--line,#cdc4bc); border-radius: .63rem; }
.match-lead { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.match .food-note { margin-block: .55rem; }
.match .prayer { padding: .72rem 0; }
.match > a { font-size: .88rem; margin: .31rem 1rem .31rem 0; display: inline-block; }
.chip { padding: .23rem .57rem; display: inline-block; background: var(--white); color: var(--ink); border: 1px solid var(--line,#aaa0a9); border-radius: 50rem; font-size: .82rem; font-weight: 680; }
.ochre { --card: #f3e7d2; --line: #d5bf9d; }
.rose { --card: #f5e3dc; --line: #d9b8ad; }
.plum { --card: #ebe0f1; --line: #c7a8d4; }
.green { --card: #e4ead8; --line: #b6c4a1; }
.olive { --card: #f0ebca; --line: #d5c78a; }
.blue { --card: #e2e9f0; --line: #adbed0; }
.neutral { --card: #f1e9e0; --line: #d2c3b3; }
.categories { padding-block: clamp(2.6rem,5.5vw,5.2rem) clamp(2.55rem,5vw,4.1rem); }
.categories ul { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); list-style: none; padding: 0; margin: 1.2rem 0 0; gap: .52rem; }
.categories li a { display: grid; align-content: start; gap: .45rem; min-height: 145px; height: 100%; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: .55rem; padding: .9rem; background: var(--card); }
.categories li a:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.categories strong { font: 400 clamp(1.55rem,2.6vw,2.65rem)/1 var(--display); overflow-wrap: anywhere; }
.categories b { font-size: 1.5rem; font-weight: 400; color: var(--accent); line-height: 1; }
.categories span { font-size: .85rem; }
.learn { border-top: 1px solid var(--rule); padding-top: clamp(1.95rem,4vw,3.8rem); }
.learn ul { list-style: none; padding: 0; margin: .95rem 0 0; }
.learn li { border-top: 1px solid var(--rule); }
.learn li:last-child { border-bottom: 1px solid var(--rule); }
.learn li a { min-height: 70px; display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr) auto; align-items: center; gap: .55rem 1rem; padding-block: .72rem; color: var(--ink); text-decoration: none; }
.learn li a:hover { background: #f0e9f5; }
.learn li strong { font: 400 clamp(1.4rem,2.3vw,2.25rem)/1 var(--display); }
.learn li span { font-size: .91rem; color: var(--muted); }
.lesson-banner { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-block: clamp(2.5rem,5vw,4.8rem); background: #ece6f5; border: 1px solid #d0bfde; border-radius: .6rem; padding: clamp(1.15rem,3vw,2.25rem); }
.lesson-banner h2 { font-size: clamp(2.15rem,4vw,3.6rem); }
.lesson-banner p { margin-top: .45rem; color: var(--muted); }
.footer { min-height: 86px; display: flex; gap: .6rem 1rem; justify-content: space-between; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--rule); padding-block: .8rem; color: var(--muted); font-size: .86rem; }
.footer .wordmark { font-size: 1.58rem; }
.footer .plate { height: .92rem; width: .92rem; }
.editorial { padding-block: clamp(2.1rem,5vw,4.7rem); min-height: 68vh; }
.editorial h1 { margin-top: .65rem; font-size: clamp(3.9rem,7.9vw,7rem); max-width: 17ch; }
.editorial h2 { font-size: clamp(2.2rem,4vw,3.5rem); }
.editorial .back { display: inline-block; font-size: .89rem; margin-bottom: .7rem; }
.editorial .intro-note { margin-bottom: 0; }
.editorial .intro { max-width: 54ch; }
.chart-controls { display: flex; gap: .6rem; margin-block: 1.28rem 1.55rem; }
.chart-list { display: grid; gap: .62rem; }
.chart-row { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.32fr); gap: .9rem 1.35rem; padding: clamp(1rem,3vw,1.75rem); background: var(--card); border: 1px solid var(--line); border-radius: .55rem; }
.chart-row h2 { margin-bottom: .48rem; }
.chart-row h2 a { color: var(--ink); }
.examples { margin-top: .45rem; font-size: .87rem; }
.prayer { align-self: center; }
.hebrew { font: 500 clamp(1.42rem,2.75vw,2.34rem)/1.45 var(--hebrew, "Times New Roman", serif); text-align: left; margin-bottom: .24rem; overflow-wrap: anywhere; unicode-bidi: isolate; }
.prayer .reading { font-weight: 610; font-size: .95rem; max-width: 62ch; }
.meaning { margin-top: .32rem; font-size: .88rem; color: var(--muted); }
.sources { margin-top: clamp(2rem,4.4vw,3.7rem); padding-top: 1.15rem; border-top: 1px solid var(--rule); }
.sources p, .group-page section > p { margin-top: .65rem; max-width: 66ch; }
.sources ul, .related ul { padding-left: 1.25rem; font-size: .91rem; }
.sources li + li, .related li + li { margin-top: .26rem; }
.group-page { max-width: 920px; }
.feature-prayer { margin-top: 1.45rem; border-radius: .6rem; border: 1px solid var(--line); background: var(--card); padding: clamp(1.2rem,3vw,2rem); }
.group-page section { margin-top: 1.8rem; }
.group-page > p:last-child { margin-top: 1rem; }
.food-table { list-style: none; padding: 0; margin: .85rem 0 0; border-top: 1px solid var(--rule); }
.food-table li { display: grid; grid-template-columns: minmax(110px,.65fr) minmax(0,1.35fr); gap: .47rem 1.15rem; padding-block: .62rem; border-bottom: 1px solid var(--rule); }
.food-table span { color: var(--muted); }
.comparison { display: grid; gap: .48rem; }
.comparison > div { display: flex; gap: 1rem; align-items: center; justify-content: space-between; background: #eee6f7; border-radius: .5rem; padding: .7rem 1rem; border: 1px solid var(--rule); }
.compare-link { text-decoration: none; }
.study { max-width: 800px; }
.exercise { margin-top: 1.55rem; border: 1px solid #bca8cc; border-radius: .74rem; background: #f2eaf8; padding: clamp(1.1rem,4vw,2.35rem); }
.study-head { display: flex; justify-content: space-between; gap: .5rem; align-items: center; color: var(--accent); font-size: .85rem; font-weight: 650; margin-bottom: .8rem; }
progress { width: min(36%,195px); height: 8px; accent-color: var(--accent); }
#condition { color: var(--muted); margin-block: .57rem 1rem; }
.answers { display: grid; gap: .46rem; grid-template-columns: repeat(3,minmax(0,1fr)); }
.answers .outline { width: 100%; background: var(--white); }
.answers button:disabled { cursor: default; }
.answers button:disabled:not(.right,.wrong) { opacity: .55; }
.feedback { margin-top: .9rem; padding: .65rem .78rem; border-radius: .4rem; font-size: .93rem; }
.answers .right, .feedback.right { background: #dcebd6; border-color: #59914d; color: #254929; }
.answers .wrong, .feedback.wrong { background: #f4e1dc; border-color: #a46a63; color: #6d2d26; }
#advance { margin-top: .92rem; }
#score-note { margin-top: .5rem; }
#review { list-style: none; padding: 0; margin: 1rem 0; }
#review li { display: flex; justify-content: space-between; gap: .4rem; border-top: 1px solid #cbbfd5; padding: .5rem 0; }
#review li:last-child { border-bottom: 1px solid #cbbfd5; }
#review span { text-align: right; font-size: .86rem; }
@media (max-width: 975px) {
  .categories ul { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .categories li a { min-height: 112px; }
}
@media (max-width: 670px) {
  .mast-inner { min-height: 60px; }
  .mast nav { font-size: .78rem; }
  .mast nav > a:first-child { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.45rem; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(3.85rem,11.7vw,6.3rem); max-width: none; }
  .still { max-width: 415px; }
  .still img { aspect-ratio: 1.47; }
  .categories li a { min-height: 108px; padding: .68rem; }
  .line-head { align-items: start; flex-wrap: wrap; }
  .chart-row { grid-template-columns: minmax(0,1fr); }
  .editorial h1 { font-size: clamp(3.45rem,11vw,5.6rem); }
  .learn li a { grid-template-columns: minmax(0,1fr) auto; }
  .learn li span { grid-row: 2; }
  .learn li b { grid-column: 2; grid-row: 1; }
  .footer p { display: none; }
}
@media (max-width: 370px) {
  .mast nav { gap: .42rem; }
  .wordmark { font-size: 1.37rem; gap: .32rem; }
  .plate { width: .95rem; height: .95rem; }
  .plate::before { inset: .14rem; }
  .practice-link { padding: .32rem .48rem; }
  .hero h1 { font-size: 3.48rem; }
  .search-box button { font-size: .77rem; padding-inline: .44rem; }
  .search-box input { padding-inline: .39rem; }
  .categories ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lesson-banner { display: block; }
  .lesson-banner .solid { margin-top: .65rem; }
  .answers { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media print {
  @page { margin: .48in; }
  body { background: #fff; color: #15101b; font-size: 10pt; }
  .mast, .skip, .footer, .chart-controls, .editorial .back { display: none; }
  .editorial { padding: 0; width: 100%; min-height: 0; }
  .editorial h1 { font-size: 34pt; max-width: none; }
  .editorial .intro { color: #333; max-width: none; font-size: 10pt; margin-top: .2in; margin-bottom: .15in; }
  .chart-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .09in; }
  .chart-row { break-inside: avoid; display: block; padding: .11in; background: #fff; }
  .chart-row h2 { font-size: 21pt; }
  .chart-row a { color: inherit; text-decoration: none; }
  .chart-row .prayer { margin-top: .07in; }
  .chart-row .hebrew { font-size: 15pt; }
  .chart-row .reading, .chart-row .meaning, .chart-row .examples, .sources ul { font-size: 8.4pt; }
  .sources { margin-top: .18in; padding-top: .10in; }
  .sources h2 { font-size: 17pt; }
  .sources p { font-size: 9pt; margin-top: .05in; max-width: none; }
}
@font-face {
  font-family: FrankRuhl;
  src: url("/type/frank-ruhl-libre-hebrew.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
:root { --hebrew: FrankRuhl, "Times New Roman", serif; }
.possible { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem .82rem; margin-bottom: .35rem; }
.possible span { color: var(--muted); }
@media print {
  .chart-row { padding: .10in; line-height: 1.22; }
  .chart-row h2 { margin-bottom: .05in; }
  .chart-row .hebrew { line-height: 1.25; font-size: 14pt; }
  .chart-row .reading, .chart-row .meaning { line-height: 1.22; margin-top: .02in; }
  .chart-row .examples { margin-top: .03in; }
  .sources p { line-height: 1.22; }
  .sources ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 .16in; margin: .06in 0 0; }
  .sources li + li { margin-top: 0; }
}
