/* The look shared by public resource pages: calm, centred, one idea per screen.
   Headings use Cause, as the alphabet and numbers charts do. Motion is small and stops for
   visitors who ask for less of it. */

.so-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* A cut-out picture placed like a sticker: white edge, slight tilt, soft shadow under it. */
.so-sticker {
    --tilt: -6deg;
    display: block;
    height: auto;
    transform: rotate(var(--tilt));
    filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff)
        drop-shadow(0 6px 10px rgba(48, 57, 44, .18));
}

/* The paper card from the alphabet chart, for any block that should feel hand-made. */
.so-paper-card { position: relative; isolation: isolate; }
.so-paper-card::before {
    content: '';
    position: absolute;
    inset: -0.35rem -0.15rem;
    z-index: -1;
    background: url("/images/alphabet/card.png") center / 100% 100% no-repeat;
    filter: brightness(1.18) contrast(0.88) saturate(0.92);
}

@keyframes so-rise { from { transform: scaleY(.2); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes so-pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }
@keyframes so-fade-up { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Level test ---------- */
.public-site .pub-page-header--test { text-align: center; }
.public-site .pub-page-header--test > div { margin-inline: auto; }
.public-site .pub-page-header--test h1,
.public-site .level-test .level-test__result-level,
.public-site .level-test h2 { font-family: Cause, var(--font-sans); font-weight: 600; letter-spacing: 0; }
.level-test { border: 0; background: transparent; max-width: 640px; margin-inline: auto; }

/* Start: five steps, one line, one button. */
.level-test__intro { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 20px 36px; }
.level-test__ladder { display: flex; align-items: flex-end; justify-content: center; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.level-test__ladder li { display: grid; place-items: end center; width: clamp(40px, 12vw, 56px); padding-bottom: 8px; border-radius: 12px; background: var(--primary-wash); color: var(--text); font: 700 14px var(--font-sans); transform-origin: bottom; }
.level-test__ladder li:nth-child(1) { height: 44px; }
.level-test__ladder li:nth-child(2) { height: 64px; }
.level-test__ladder li:nth-child(3) { height: 84px; }
.level-test__ladder li:nth-child(4) { height: 104px; }
.level-test__ladder li:nth-child(5) { height: 124px; }
.public-site .level-test__intro p { margin-bottom: 20px; font-size: 18px; color: var(--text); }
.level-test__climb { position: relative; }
.level-test__olive { position: absolute; width: 46px; height: auto; inset-inline-end: -6px; bottom: 124px; transform-origin: 50% 100%; }
.level-test__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.public-site .level-test__chips li { padding: 7px 14px; border-radius: 999px; background: #f3f4f0; font-size: 14px; font-weight: 700; color: #4b5048; }
.level-test__feedback { animation: so-slide-up .3s cubic-bezier(.2, .9, .3, 1.1) both; }
.public-site .level-test__intro .level-test__primary,
.level-test__results .level-test__result-actions > .level-test__primary { width: min(100%, 340px); min-height: 58px; justify-content: center; border-radius: 16px; font-size: 18px; font-weight: 700; box-shadow: 0 3px 0 var(--primary-hover); }

/* Questions: soft tiles, as in onboarding, instead of outlined boxes. */
.level-test__top { padding: 8px 4px 0; }
.level-test__progress { height: 12px; border-radius: 12px; background: #eef0ea; overflow: hidden; }
.level-test__progress > span { position: relative; display: block; height: 100%; border-radius: inherit; background: var(--primary); transition: width .45s cubic-bezier(.2, .9, .3, 1.1); }
.level-test__progress > span::after { content: ""; position: absolute; inset: 3px 8px auto; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .45); }
.level-test__question { padding: 28px 4px 24px; }
.public-site .level-test h2 { font-size: clamp(24px, 5.4vw, 30px); line-height: 1.2; margin-bottom: 22px; }
.public-site .level-test__tile {
    border: 2px solid #e5e8e1; border-bottom-width: 4px; border-radius: 16px; background: #fff; box-shadow: none;
    padding: 12px 16px; min-height: 64px; font-size: 17px; font-weight: 600;
    transition: transform 120ms ease, border-color 150ms ease, background-color 150ms ease;
}
.public-site .level-test__tile:hover:not(:disabled):not([aria-disabled="true"]) { background: #fafbf8; border-color: #d6dbd0; }
.public-site .level-test__tile:active:not(:disabled):not([aria-disabled="true"]) { transform: translateY(2px); border-bottom-width: 2px; }
.public-site .level-test__tile.is-paired { background: #f6faef; border-color: #c9dcae; }
.public-site .level-test__tile[aria-pressed='true'] { background: #f3f9ea; border-color: var(--primary); }
.public-site .level-test__tile.is-correct { background: #eef7e3; border-color: var(--primary); color: #3f6b1d; }
.public-site .level-test__tile.is-incorrect { background: #fdeeeb; border-color: #e3a097; color: #9b3b30; }
.public-site .level-test__tile [lang='he'] { font-size: 26px; font-weight: 500; }
.level-test__match-column { grid-auto-rows: 68px; gap: 12px; }
.level-test__options { gap: 12px; }
.level-test__actions { border-top: 0; padding: 12px 4px 20px; }
.public-site .level-test__actions .level-test__primary { min-height: 54px; padding-inline: 28px; border-radius: 16px; font-size: 17px; font-weight: 700; box-shadow: 0 3px 0 var(--primary-hover); }
.level-test__restart { padding-inline: 4px; }

/* Result: the level, the ladder, one button; the email and the small links sit quietly below. */
.level-test__results { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 20px 32px; }
.public-site .level-test__your { margin: 0; font-size: 16px; font-weight: 700; color: var(--text-muted); }
.public-site .level-test .level-test__result-level { margin: 2px 0 20px; font-size: clamp(64px, 20vw, 104px); line-height: 1; }
.level-test__ladder--result { margin-bottom: 22px; }
.level-test__ladder--result li { background: #eef0ea; color: var(--text-muted); }
.level-test__ladder--result li.is-reached { background: var(--primary-wash); color: var(--text); }
.level-test__ladder--result li.is-current { background: var(--primary); color: #fff; }
.public-site .level-test__summary { max-width: 26rem; margin: 0 auto 26px; font-size: 17px; line-height: 1.5; }
.level-test__results .level-test__result-actions { flex-direction: column; align-items: center; gap: 22px; width: 100%; }
.level-test__save { display: grid; gap: 10px; width: min(100%, 340px); }
.public-site .level-test__save input { box-sizing: border-box; width: 100%; min-height: 54px; padding: 0 18px; border: 0; border-radius: 16px; background: #f3f4f1; font: inherit; font-size: 17px; text-align: center; }
.public-site .level-test__save input:focus { outline: 2px solid var(--primary); outline-offset: 2px; }
.public-site .level-test__save button { min-height: 54px; border: 0; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 2px var(--border), 0 2px 0 rgba(48, 57, 44, .08); font: inherit; font-size: 17px; font-weight: 700; color: var(--text); cursor: pointer; }
.public-site .level-test__save button:disabled { color: var(--text-disabled, #9aa095); cursor: default; }
.level-test__links { display: flex; justify-content: center; gap: 24px; margin-top: 18px; }

@keyframes so-slide-up { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes so-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@keyframes so-hop { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-14px) rotate(-6deg); } 55% { transform: translateY(0) rotate(0); } 70% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: no-preference) {
    .public-site .level-test__tile.is-correct { animation: so-pop .35s cubic-bezier(.2, .9, .3, 1.2); }
    .public-site .level-test__tile.is-incorrect { animation: so-shake .4s ease; }
    .level-test__olive { animation: so-pop .5s .45s cubic-bezier(.2, .9, .3, 1.2) both, so-hop 2.4s 1.2s ease-in-out infinite; }
    .level-test__ladder li { animation: so-rise .45s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--n, 0) * 70ms); }
    .level-test__ladder li:nth-child(2) { --n: 1; } .level-test__ladder li:nth-child(3) { --n: 2; }
    .level-test__ladder li:nth-child(4) { --n: 3; } .level-test__ladder li:nth-child(5) { --n: 4; }
    .level-test .level-test__result-level { animation: so-pop .5s cubic-bezier(.2, .9, .3, 1.2) both; }
    .level-test__question { animation: so-fade-up .28s ease both; }
}

/* ---------- Shared small parts ---------- */
.so-icon { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* "I don't know" is a quiet way out, not a second button. */
.public-site .level-test .level-test__skip { width: auto; margin-inline: auto; border: 0; background: transparent; box-shadow: none; text-decoration: none; font-weight: 700; color: var(--text-muted); }
.public-site .pub-page-header--test { padding-bottom: 0; margin-bottom: 8px; }

/* ---------- Comparison: StoryOlive beside one other product ----------
   One grid for the whole page: a label column and one column per product. The two logos are the
   column headings and stay pinned while the rows scroll under them, so no row repeats a logo. */
.so-vs { --label: 0px; --gap: 12px; max-width: 560px; margin: 0 auto; padding: 8px 16px 64px; }
.public-site .so-vs__hero { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); align-items: center; margin: 20px 0 0; padding: 12px 0; background: var(--bg, #fdfdfc); font-family: Cause, var(--font-sans); font-weight: 600; font-size: 20px; letter-spacing: 0; line-height: 1.1; }
.so-vs__side { display: flex; align-items: center; gap: 10px; min-width: 0; padding-inline-start: 14px; }
.public-site .so-vs__side img { flex: none; width: 40px; height: 40px; border-radius: 24%; box-shadow: 0 3px 8px rgba(48, 57, 44, .14); }

.so-vs__points { display: grid; margin: 0; padding: 0; list-style: none; }
.so-vs__points > li { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); padding: 0; border-top: 1px solid #e9ebe4; }
.public-site .so-vs__points h2 { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 0; padding: 16px 14px 8px; font: 800 15px var(--font-sans); letter-spacing: 0; color: var(--text-muted); }
.public-site .so-vs__points p { margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; font-size: 16px; line-height: 1.35; }
.public-site .so-vs__us { background: #eef4e3; font-weight: 500; color: var(--text); }
.public-site .so-vs__them { color: var(--text-muted); }

.so-vs__pick { display: grid; gap: 12px; margin: 28px 0 0; }
.public-site .so-vs__pick p { display: flex; align-items: center; gap: 14px; margin: 0; padding: 18px; border-radius: 18px; background: #f6f7f3; font-size: 17px; line-height: 1.4; }
.public-site .so-vs__pick p:first-child { background: #eef4e3; }
.public-site .so-vs__pick img { flex: none; width: 40px; height: 40px; border-radius: 24%; }

.so-vs .pub-browse-start { margin: 48px auto 56px; }
.so-vs__faq { margin: 0; }
.public-site .so-vs__faq dt { margin: 0 0 6px; font: 800 18px var(--font-sans); }
.public-site .so-vs__faq dd { margin: 0 0 26px; font-size: 17px; line-height: 1.5; color: var(--text-muted); }
.public-site .so-vs__note { margin: 8px 0 0; font-size: 14px; color: var(--text-muted); }

/* Desktop: wider, with the label in its own column, so every value starts on the same line as its logo. */
@media (min-width: 820px) {
    .so-vs { --label: 240px; --gap: 16px; max-width: 980px; padding: 8px 24px 96px; }
    .public-site .so-vs__hero { grid-template-columns: var(--label) 1fr 1fr; margin-top: 40px; padding: 18px 0; font-size: 30px; }
    .so-vs__hero .so-vs__side:first-of-type { grid-column: 2; }
    .so-vs__side { gap: 16px; padding-inline-start: 22px; }
    .public-site .so-vs__side img { width: 64px; height: 64px; }
    .so-vs__points > li { grid-template-columns: var(--label) 1fr 1fr; align-items: stretch; }
    .public-site .so-vs__points h2 { grid-column: 1; align-self: center; padding: 0 0 0 4px; font-size: 17px; }
    .public-site .so-vs__points p { display: flex; align-items: center; margin: 0; padding: 20px 22px; border-radius: 0; font-size: 18px; }
    .so-vs__points > li:first-child .so-vs__us { border-radius: 18px 18px 0 0; }
    .so-vs__points > li:last-child .so-vs__us { border-radius: 0 0 18px 18px; }
    .so-vs__points > li:last-child { border-bottom: 1px solid #e9ebe4; }
    .so-vs__pick { grid-template-columns: 1fr; gap: var(--gap); margin: 40px auto 0; max-width: 680px; }
    .public-site .so-vs__pick p { align-items: flex-start; padding: 22px; font-size: 18px; }
    .so-vs .pub-browse-start { margin: 72px auto 80px; }
    .so-vs__faq, .public-site .so-vs__note, .so-vs__blocks, .so-vs__author, .so-vs__sources { max-width: 680px; margin-inline: auto; }
}
@media (prefers-reduced-motion: no-preference) {
    .so-vs__side img { animation: so-pop .5s cubic-bezier(.2, .9, .3, 1.2) both; }
    .so-vs__side:last-of-type img { animation-delay: .12s; }
    .so-vs__points > li { animation: so-fade-up .4s ease both; animation-delay: calc(120ms + var(--i, 0) * 50ms); }
}

/* ---------- Resource browse pages: a heading and rows of one icon and one title ---------- */
.so-browse { max-width: 720px; margin: 0 auto; padding: 8px 20px 64px; }
.public-site .so-browse h1 { margin: 24px 0 28px; font-family: Cause, var(--font-sans); font-weight: 600; font-size: clamp(32px, 8vw, 46px); letter-spacing: 0; }
.public-site .so-browse h2 { margin: 36px 0 12px; font: 800 18px var(--font-sans); letter-spacing: 0; color: var(--text-muted); }
.public-site .so-browse h2 a { color: inherit; text-decoration: none; }
.so-browse__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.public-site .so-browse__list a { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 16px; border-radius: 18px; background: #f6f7f3; box-shadow: 0 2px 0 rgba(48, 57, 44, .07); color: var(--text); font-size: 17px; font-weight: 700; line-height: 1.25; text-decoration: none; }
.public-site .so-browse__list a:hover { background: #eef1e8; }
.public-site .so-browse__list img { flex: none; width: 40px; height: 40px; border-radius: 24%; object-fit: cover; }
.so-browse__list .so-icon { width: 40px; height: 40px; padding: 9px; box-sizing: border-box; border-radius: 24%; background: #fff; color: var(--primary-hover, #6f9441); }
@media (max-width: 560px) { .so-browse__list { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
    .so-browse__list li { animation: so-fade-up .35s ease both; animation-delay: calc(var(--i, 0) * 35ms); }
    .so-browse__list a { transition: transform .15s ease; }
    .so-browse__list a:active { transform: scale(.985); }
}

.public-site .so-browse__list img { background: #fff; object-fit: contain; }
.so-glyph { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 24%; background: #fff; color: var(--primary-hover, #6f9441); font: 800 15px var(--font-sans); }
.so-glyph:lang(en) { letter-spacing: -.5px; }

/* Painted pictures sit straight on the row, with no tile behind them. */
.public-site .so-browse__list img { width: 44px; height: 44px; }
.public-site .so-browse__list img.so-browse__painted { background: transparent; border-radius: 0; }

/* Byline: who wrote the page and when. */
.public-site .so-byline { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 14px; color: var(--text-muted); }
.public-site .so-byline img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #f3f4f1; }
.public-site .so-byline a { color: var(--text); font-weight: 700; text-decoration: none; }
@media (min-width: 820px) { .public-site .so-vs .so-byline { padding-inline-start: calc(var(--label) + var(--gap) + 22px); } }

/* About: one portrait, one heading, five short paragraphs. */
.so-about { max-width: 640px; margin: 0 auto; padding: 40px 20px 80px; text-align: center; }
.public-site .so-about__portrait { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; }
.public-site .so-about h1 { margin: 0 0 24px; font-family: Cause, var(--font-sans); font-weight: 600; font-size: clamp(32px, 8vw, 46px); letter-spacing: 0; }
.public-site .so-about p { margin: 0 0 16px; font-size: 18px; line-height: 1.6; text-align: start; }

/* The answer under the logos, and the written sections under the table: an article column. */
.public-site .so-vs__answer { margin: 18px 0 18px; font-size: 18px; line-height: 1.6; color: var(--text); }
.so-vs__sections { margin: 44px 0 0; }
.public-site .so-vs__sections h2 { margin: 34px 0 10px; font-family: Cause, var(--font-sans); font-weight: 600; font-size: 24px; letter-spacing: 0; }
.public-site .so-vs__sections p { margin: 0 0 14px; font-size: 18px; line-height: 1.65; color: var(--text); }
@media (min-width: 820px) {
    .public-site .so-vs__answer { max-width: 680px; margin: 22px 0 30px; padding-inline-start: calc(var(--label) + var(--gap) + 22px); box-sizing: content-box; font-size: 19px; }
    .so-vs__sections { max-width: 680px; margin: 64px auto 0; }
    .public-site .so-vs__sections h2 { font-size: 28px; }
}

/* ---------- Guides: the alphabet page's look for how-to pages ---------- */
.so-guide { max-width: 680px; margin: 0 auto; padding: 8px 20px 80px; }
.so-guide__head { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 0 8px; }
.public-site .so-guide__picture { width: 112px; height: 112px; margin-bottom: 14px; }
.public-site .so-guide h1 { margin: 0 0 18px; font-family: Cause, var(--font-sans); font-weight: 600; font-size: clamp(32px, 7vw, 48px); letter-spacing: 0; line-height: 1.1; }
.public-site .so-guide__answer { margin: 0 0 18px; font-size: 19px; line-height: 1.6; text-align: start; }
.so-guide__head .so-byline { align-self: flex-start; }
.so-guide__tool { margin: 24px 0 8px; }
.so-guide__sections { margin-top: 24px; }
.public-site .so-guide__sections h2 { margin: 36px 0 10px; font-family: Cause, var(--font-sans); font-weight: 600; font-size: clamp(24px, 5vw, 30px); letter-spacing: 0; }
.public-site .so-guide__sections p { margin: 0 0 14px; font-size: 18px; line-height: 1.65; }
.so-guide .pub-browse-start { margin: 56px auto 56px; }
.public-site .so-guide__faq dt { margin: 0 0 6px; font: 800 18px var(--font-sans); }
.public-site .so-guide__faq dd { margin: 0 0 26px; font-size: 17px; line-height: 1.5; color: var(--text-muted); }
.public-site .so-guide__note { font-size: 14px; color: var(--text-muted); }
@media (prefers-reduced-motion: no-preference) {
    .so-guide__picture { animation: so-pop .5s cubic-bezier(.2, .9, .3, 1.2) both; }
}
.so-guide__head .so-byline { align-self: stretch; justify-content: flex-start; text-align: start; }
.public-site .so-guide .pub-tool h2 { font-family: Cause, var(--font-sans); font-weight: 600; letter-spacing: 0; }

/* Longer copy: body text a shade lighter, the highlighted phrases in full ink, so the eye lands on them. */
.public-site .so-vs__sections p, .public-site .so-guide__sections p { color: #5a5f55; }
.public-site .so-vs__sections strong, .public-site .so-guide__sections strong { color: var(--text); font-weight: 800; }
.public-site .so-vs__answer strong, .public-site .so-guide__answer strong { font-weight: 800; }

/* A real screen from the app beside a section: a soft, slightly tilted print. */
.public-site .so-section-picture { display: block; width: 100%; height: auto; margin: 4px 0 18px; border: 5px solid #fff; border-radius: 14px; box-shadow: 0 8px 22px rgba(48, 57, 44, .14); transform: rotate(-1deg); box-sizing: border-box; }
.so-vs__sections section:nth-of-type(even) .so-section-picture, .so-guide__sections section:nth-of-type(even) .so-section-picture { transform: rotate(1deg); }
@media (min-width: 820px) {
    .so-vs__sections section, .so-guide__sections section { display: flow-root; }
    .public-site .so-vs__sections .so-section-picture, .public-site .so-guide__sections .so-section-picture { float: right; width: 300px; margin: 6px 0 16px 28px; }
    .so-vs__sections section:nth-of-type(even) .so-section-picture, .so-guide__sections section:nth-of-type(even) .so-section-picture { float: left; margin: 6px 28px 16px 0; }
}
@media (prefers-reduced-motion: no-preference) {
    .so-section-picture { transition: transform .25s ease; }
}

/* The mid-page call to action: the fanned covers and the button, between two sections. */
.so-inline-cta { margin: 40px 0 8px; padding: 28px 16px 24px; border-radius: 24px; background: #f6f7f3; }
.so-inline-cta .pub-browse-start { margin: 0 auto; }
.so-guide__reference { margin: 32px 0 8px; }
.public-site .so-guide__reference h2 { font-family: Cause, var(--font-sans); font-weight: 600; letter-spacing: 0; }
.so-guide__reference table { width: 100%; }
@media (max-width: 640px) { .so-guide__reference { overflow-x: auto; } }

/* Short how-to sections read as captions: the picture is the main thing, the text sits beside it. */
@media (min-width: 820px) {
    .public-site .so-guide__sections .so-section-picture { width: 340px; }
    .so-guide__sections section { min-height: 220px; }
}

/* ---------- Verb quiz: one question per screen, tap to answer, a result bar that slides up ---------- */
.vq { position: relative; max-width: 620px; margin: 0 auto; padding: clamp(18px, 3vw, 28px); border: 2px solid #eceee8; border-radius: 26px; background: #fff; box-shadow: 0 24px 50px -38px rgba(32, 37, 31, .45); }
.vq-top { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(18px, 3vw, 26px); }
.vq-progress { flex: 1; height: 12px; border-radius: 12px; background: #eef0ea; overflow: hidden; }
.vq-progress > span { position: relative; display: block; height: 100%; border-radius: inherit; background: var(--primary); transition: width .45s cubic-bezier(.2, .9, .3, 1.1); }
.vq-progress > span::after { content: ""; position: absolute; inset: 3px 8px auto; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .45); }
.vq-count { font-size: 14px; font-weight: 700; color: var(--text-muted, #7d8279); font-variant-numeric: tabular-nums; }
.vq-verb { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 auto 14px; padding: 14px 22px 12px; width: fit-content; border-radius: 18px; background: #f6f8f2; }
.vq-verb__meaning { font-size: 14px; font-weight: 600; color: var(--text-muted, #7d8279); }
.public-site .vq-ask { margin: 0 0 20px; font-family: Cause, var(--font-sans); font-weight: 600; font-size: clamp(22px, 4.4vw, 28px); line-height: 1.25; text-align: center; }
.vq-form { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1.2; }
.vq-form [lang='he'] { font-family: "Rubik", var(--font-sans); font-weight: 500; }
.vq-form--big [lang='he'] { font-size: clamp(28px, 6vw, 36px); }
.vq-form--small [lang='he'] { font-size: 22px; }
.vq-form__roman { font-size: 13px; font-weight: 600; color: var(--text-muted, #7d8279); }
.vq-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.public-site .vq-card {
    display: grid; place-items: center; min-height: 96px; padding: 12px; border: 2px solid #e5e8e1; border-bottom-width: 5px; border-radius: 18px;
    background: #fff; color: var(--text); font: 600 17px var(--font-sans); cursor: pointer; -webkit-tap-highlight-color: transparent;
    transition: transform 120ms ease, border-color 150ms ease, background-color 150ms ease, opacity 200ms ease;
}
.public-site .vq-card:hover:not(:disabled) { border-color: #d3d9cc; background: #fbfcf9; }
.public-site .vq-card:active:not(:disabled) { transform: translateY(3px); border-bottom-width: 2px; }
.public-site .vq-card:focus-visible { outline: 3px solid #b9d68f; outline-offset: 2px; }
.public-site .vq-card:disabled { cursor: default; }
.public-site .vq-card.is-correct { border-color: var(--primary); background: #eef7e3; color: #3f6b1d; }
.public-site .vq-card.is-correct .vq-form__roman { color: #5d8a37; }
.public-site .vq-card.is-wrong { border-color: #e3a097; background: #fdeeeb; color: #9b3b30; }
.public-site .vq-card.is-picked { border-color: #8fb4e6; background: #eef5ff; }
.public-site .vq-card.is-faded { opacity: .45; }
.vq-match { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vq-match__column { display: grid; gap: 10px; }
.public-site .vq-card--row { min-height: 70px; }
.public-site .vq-card--meaning { font-size: 16px; }
.vq-feedback { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px calc(-1 * clamp(18px, 3vw, 28px)) calc(-1 * clamp(18px, 3vw, 28px)); padding: 18px clamp(18px, 3vw, 28px); border-radius: 0 0 24px 24px; }
.vq-feedback.is-correct { background: #e8f4d9; color: #3f6b1d; }
.vq-feedback.is-wrong { background: #fde8e4; color: #9b3b30; }
.vq-feedback__text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.vq-feedback__text strong { font-size: 20px; }
.vq-feedback__answer .vq-form { flex-direction: row; gap: 10px; }
.public-site .vq-next { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: 16px; background: var(--primary); box-shadow: 0 4px 0 var(--primary-hover, #6f9a43); color: #fff; font: 700 17px var(--font-sans); text-decoration: none; cursor: pointer; transition: transform 100ms ease, box-shadow 100ms ease; }
.public-site .vq-feedback.is-wrong .vq-next { background: #d9685a; box-shadow: 0 4px 0 #b44c3f; }
.public-site .vq-next:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--primary-hover, #6f9a43); }
.public-site .vq-next--wide { width: min(100%, 320px); }
.public-site .vq-again { display: block; margin: 16px auto 0; padding: 6px 10px; border: 0; background: none; color: var(--text-muted, #7d8279); font: 700 15px var(--font-sans); cursor: pointer; }
.public-site .vq-again--quiet { font-size: 14px; }
.vq--done { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: clamp(26px, 4vw, 40px); }
.vq-ring { position: relative; width: 150px; height: 150px; margin-bottom: 14px; }
.vq-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.vq-ring circle { fill: none; stroke-width: 12; }
.vq-ring__track { stroke: #eef0ea; }
.vq-ring__fill { stroke: var(--primary); stroke-linecap: round; }
.vq-ring__score { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 1px; font-family: Cause, var(--font-sans); font-weight: 600; font-size: 44px; line-height: 1; }
.vq-ring__score small { font-size: 18px; color: var(--text-muted, #7d8279); }
.public-site .vq-done__title { margin: 0 0 8px; font-family: Cause, var(--font-sans); font-weight: 600; font-size: 30px; }
.public-site .vq-done__line { max-width: 30rem; margin: 0 0 22px; font-size: 17px; line-height: 1.55; color: #4b5048; }
@media (max-width: 480px) {
    .public-site .vq-card { min-height: 84px; }
    .vq-feedback { flex-direction: column; align-items: stretch; }
    .public-site .vq-feedback .vq-next { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
    .vq-question { animation: so-fade-up .3s ease both; }
    .vq-question .vq-card { animation: so-fade-up .35s cubic-bezier(.2, .9, .3, 1.1) both; animation-delay: calc(var(--n, 0) * 50ms + 80ms); }
    .public-site .vq-card.is-correct { animation: so-pop .35s cubic-bezier(.2, .9, .3, 1.2); }
    .public-site .vq-card.is-wrong { animation: so-shake .4s ease; }
    .vq-feedback { animation: so-slide-up .3s cubic-bezier(.2, .9, .3, 1.1) both; }
    .vq-done__title, .vq-done__line { animation: so-fade-up .4s .5s ease both; }
}
.public-site .vq-card:disabled:not(.is-faded) { opacity: 1; }
.public-site .pub-tool--verbs { padding: 0; border: 0; background: none; box-shadow: none; }
.public-site .pub-tool--verbs > h2 { margin: 0 0 18px; text-align: center; font-family: Cause, var(--font-sans); font-weight: 600; }

/* ---------- Level guide under the test ---------- */
.so-levels { max-width: 720px; margin: clamp(40px, 6vw, 72px) auto 0; padding: 0 4px; }
.public-site .so-levels h2 { margin: 0 0 14px; font-family: Cause, var(--font-sans); font-weight: 600; font-size: clamp(24px, 3vw, 30px); }
.public-site .so-levels p { font-size: 17px; line-height: 1.6; color: #4b5048; }
.so-levels > section + section { margin-top: clamp(36px, 5vw, 56px); }
.so-levels__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.public-site .so-levels__list > li { margin: 0; }
.so-level { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; padding: 18px; border: 2px solid #eceee8; border-radius: 20px; background: #fff; }
.so-level__code { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: color-mix(in srgb, var(--primary) calc(18% + var(--step) * 18%), #fff); color: #2f3a2a; font: 600 22px Cause, var(--font-sans); }
.so-level:nth-child(n+4) .so-level__code { color: #fff; }
.public-site .so-level h3 { margin: 2px 0 4px; font-size: 18px; }
.public-site .so-level p { margin: 0 0 10px; font-size: 16px; }
.so-level__sample { margin: 0; padding: 10px 14px; border-radius: 12px; background: #f6f8f2; }
.so-level__sample blockquote { margin: 0; font-family: "Rubik", var(--font-sans); font-size: 21px; line-height: 1.5; }
.so-level__sample figcaption { margin-top: 2px; font-size: 14px; color: var(--text-muted, #7d8279); }
@media (max-width: 480px) { .so-level { grid-template-columns: 1fr; } .so-level__code { width: 52px; height: 52px; } }

/* The founder's own screenshot of the other app, after the section it shows. */
.so-shot { margin: 8px 0 32px; }
.so-shot img { display: block; width: 100%; height: auto; border: 1px solid rgba(48, 57, 44, .12); border-radius: 16px; }
.so-shot figcaption { margin-top: 10px; font-size: 14px; line-height: 1.45; color: #6b7066; }
/* Local only: the screenshot still to take, and how. */
.so-shot--todo { padding: 20px; border: 2px dashed rgba(48, 57, 44, .3); border-radius: 16px; background: #f6f7f3; }
.so-shot--todo p { margin: 6px 0 0; font-size: 15px; }

/* ---------- Author page: who writes the guides, then everything he has written ---------- */
.so-about__picture { display: block; width: 100%; height: auto; margin: 28px 0 8px; border-radius: 20px; }
.so-about__written { margin-top: 40px; text-align: start; }
.public-site .so-about__written h2 { margin: 0 0 6px; font-family: Cause, var(--font-sans); font-weight: 600; font-size: clamp(24px, 3vw, 30px); }
.public-site .so-about__written h3 { margin: 22px 0 8px; font-size: 15px; color: var(--text-muted, #7d8279); }
.so-about__written ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.public-site .so-about__written li { margin: 0; }
.public-site .so-about__written a { display: block; padding: 12px 14px; border: 2px solid #eceee8; border-radius: 14px; background: #fff; color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; transition: border-color 150ms ease, transform 150ms ease; }

/* Hebrew in the test sits in the middle, under the centred question, never pushed to the right edge. */
.public-site .level-test__option.has-audio > .level-test__tile { text-align: center; justify-content: center; }
.public-site .level-test__review-hebrew { text-align: center; }
.public-site .level-test__review details > :not(summary) { text-align: center; }
.so-level__sample { text-align: center; }
.so-level__sample blockquote { text-align: center; }
.public-site .level-test__question h2, .public-site .level-test__question > p { text-align: center; }
.level-test__top { max-width: 560px; margin-inline: auto; }
.public-site .level-test__sentence { justify-content: center; text-align: center; }
.public-site .level-test__actions { justify-content: center; gap: 16px; }
.level-test__restart { display: flex; justify-content: center; }
.public-site .level-test .level-test__actions { display: flex; justify-content: center; align-items: center; gap: 20px; }

/* ---------- Keep reading: three or four related guides, tools or comparisons at the end of a page ---------- */
.so-related { max-width: 680px; margin: 48px auto 0; text-align: start; }
.public-site .so-related h2 { margin: 0 0 12px; font-family: Cause, var(--font-sans); font-weight: 600; font-size: clamp(22px, 3vw, 28px); }
.so-related ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.public-site .so-related li { margin: 0; }
.public-site .so-related a { display: block; height: 100%; box-sizing: border-box; padding: 12px 14px; border: 2px solid #eceee8; border-radius: 14px; background: #fff; color: var(--text); font-weight: 600; font-size: 15px; line-height: 1.35; text-decoration: none; transition: border-color 150ms ease, transform 150ms ease; }

.so-guide--related { padding-top: 0; }

.so-vs__icon { flex: none; width: 34px; height: 34px; margin-inline-end: 8px; object-fit: contain; vertical-align: middle; }

/* Comparison: Robert's note, pros and cons lists, numbered sources. */
.so-vs__author { display: flex; gap: 14px; align-items: flex-start; margin-block: 40px 8px; padding: 18px 20px; border-radius: 18px; background: #f6f3ea; }
.so-vs__author img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.public-site .so-vs__author p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--text); }
.so-vs__blocks { margin-top: 48px; }
.so-vs__list { margin: 0 0 44px; }
.public-site .so-vs__list h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 24px; }
.so-vs__list h2 img { width: 32px; height: 32px; border-radius: 8px; }
.so-vs__list--pros h2 { color: #4f7f2a; }
.so-vs__list--cons h2 { color: #a8553a; }
.so-vs__list ul { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.so-vs__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.so-vs__mark { padding-top: 3px; }
.so-vs__mark svg { display: block; }
.so-vs__mark circle { fill: #e3efd3; }
.so-vs__mark path { stroke: #4f7f2a; stroke-width: 2.4; stroke-linecap: round; fill: none; }
.so-vs__list--cons .so-vs__mark circle { fill: #f6e1d8; }
.so-vs__list--cons .so-vs__mark path { stroke: #a8553a; }
.public-site .so-vs__list p { margin: 0 0 6px; font-size: 17px; line-height: 1.55; }
.public-site .so-vs__list .so-vs__point { font-weight: 700; color: var(--text); }
.so-vs__list .so-shot { margin: 14px 0 4px; }
.so-vs__text { margin: 0 0 44px; }
.so-cite { margin-inline-start: 2px; font-size: 12px; line-height: 0; }
.so-cite a { color: var(--text-muted); text-decoration: none; }
.so-cite a:hover { text-decoration: underline; }
.so-vs__sources { margin-block: 48px 32px; }
.public-site .so-vs__sources h2 { font-size: 20px; margin: 0 0 10px; }
.so-vs__sources ol { margin: 0; padding-inline-start: 22px; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.so-vs__sources a { color: var(--text-muted); overflow-wrap: anywhere; }
.so-vs__sources li:target { color: var(--text); font-weight: 700; }

/* A painting shown whole, its edges fading softly into the page instead of a hard crop. */
.public-site .so-painting.so-painting--whole { max-width: 340px; margin: 0 auto 44px; }
.public-site .so-painting.so-painting--whole img { aspect-ratio: auto; height: auto; object-fit: contain;
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
    mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); }

/* Author page: name and role, links, a mini CV, then his story. */
.public-site .so-about h1 { margin-bottom: 6px; }
.public-site .so-about .so-about__role { margin: 0 0 16px; text-align: center; font-weight: 700; color: var(--text-muted); }
.public-site .so-about .so-about__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 36px; text-align: center; }
.so-about__links a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 2px solid #eceee8; border-radius: 999px; background: #fff; color: var(--text); font-size: 15px; font-weight: 700; text-decoration: none; }

.so-about__links img, .so-about__links svg { flex: none; width: 22px; height: 22px; border-radius: 5px; }
.so-about__cv { margin: 0 0 36px; padding: 22px 22px 10px; border-radius: 22px; background: #f6f3ea; text-align: start; }
.public-site .so-about__cv h2, .public-site .so-about__story h2 { margin: 0 0 14px; font-family: Cause, var(--font-sans); font-weight: 600; font-size: clamp(24px, 3vw, 30px); text-align: start; }
.so-about__cv ul { margin: 0; padding: 0; list-style: none; }
.so-about__cv li { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; font-size: 17px; line-height: 1.45; }
.so-about__cv li img { flex: none; width: 28px; height: 28px; }
.so-about__story { margin: 0 0 36px; text-align: start; }
.so-about__cv li img.so-about__uni { border-radius: 4px; }

/* Author page quick facts: small tiles, a flag or logo, a label, then the fact in large type. */
.so-about__cv { padding: 22px; }
.so-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.so-facts li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; margin: 0; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 1px 0 rgba(32, 37, 31, .06); }
.so-facts__icon { grid-row: 1 / 3; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
.so-facts__icon img { width: 32px; height: 32px; border-radius: 4px; }
.so-facts__icon svg { border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.so-facts__label { font-size: 13px; line-height: 1.3; color: var(--text-muted); }
.public-site .so-facts strong { font-family: Cause, var(--font-sans); font-weight: 600; font-size: 19px; line-height: 1.25; color: var(--text); }
.so-facts__year { font-family: var(--font-sans); font-size: 14px; font-weight: 700; color: var(--text-muted); }
.so-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.so-facts li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; }
.so-facts__icon { width: auto; height: 32px; justify-content: flex-start; margin-bottom: 4px; }
.public-site .so-facts strong { font-size: 18px; }
@media (min-width: 720px) { .so-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.so-facts li { min-width: 0; } .so-facts strong, .so-facts__label { max-width: 100%; hyphens: auto; overflow-wrap: break-word; } @media (max-width: 719px) { .public-site .so-facts strong { font-size: 17px; } }
.public-site .so-facts strong { font-size: 17px; line-height: 1.35; }
.so-facts { grid-template-columns: 1fr; }
.so-facts li { flex-direction: row; align-items: center; gap: 14px; }
.so-facts__icon { flex: none; width: 40px; height: 32px; justify-content: center; margin: 0; }
.public-site .so-facts strong { hyphens: manual; }
@media (min-width: 720px) { .so-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.so-about__method { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; text-align: start; }
.so-about__method li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.45; }
.so-about__method img { flex: none; width: 24px; height: 24px; margin-top: 1px; }
/* Every fact tile the same size, every picture in the same square. */
.so-facts { grid-auto-rows: 1fr; }
.so-facts li { height: 100%; box-sizing: border-box; }
.so-facts__icon { width: 36px; height: 36px; }
.so-facts__icon img, .so-facts__icon svg { display: block; width: 36px; height: 36px; object-fit: contain; border-radius: 8px; box-shadow: none; }
.so-facts__icon svg { box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.so-about__cv .so-facts li .so-facts__icon img { width: 36px; height: 36px; border-radius: 8px; }
.so-about__edu { margin: 0 0 36px; text-align: start; }
.public-site .so-about__edu h2 { margin: 0 0 14px; font-family: Cause, var(--font-sans); font-weight: 600; font-size: clamp(24px, 3vw, 30px); text-align: start; }
.so-degree { display: flex; gap: 16px; align-items: center; padding: 18px; border: 2px solid #eceee8; border-radius: 18px; background: #fff; }
.so-degree img { flex: none; width: 64px; height: 64px; border-radius: 10px; }
.so-degree div { display: grid; gap: 2px; }
.public-site .so-degree strong { font-size: 18px; line-height: 1.3; color: var(--text); }
.so-degree span { font-size: 15px; line-height: 1.4; color: var(--text-muted); }
@media (min-width: 720px) { .so-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.public-site .so-about__written a { display: flex; align-items: center; gap: 12px; }
.so-about__written a img { flex: none; width: 32px; height: 32px; object-fit: contain; }
.so-about__written a img[src^="/logos/"] { border-radius: 8px; }
/* Author page lists: every card in a list the same height, the icon centred in the same place, nothing moves on hover. */
.so-about__written ul { grid-auto-rows: 1fr; align-items: stretch; }
.public-site .so-about__written li { display: flex; }
.public-site .so-about__written a { flex: 1; box-sizing: border-box; height: 100%; align-items: center; gap: 14px; padding: 14px 16px; line-height: 1.4; transform: none; }
.so-about__written a img { width: 32px; height: 32px; }
.so-about__written ul { grid-auto-rows: minmax(74px, 1fr); }
.public-site .so-about__written a:hover, .public-site .so-related a:hover, .so-about__links a:hover { background: #f7f8f4; }
.so-browse__list { grid-auto-rows: 1fr; }
.public-site .so-browse__list li { display: flex; }
.public-site .so-browse__list a { flex: 1; box-sizing: border-box; }
.so-vs__list .so-inline-icon { width: 22px; height: 22px; }
.so-vs__author > a { flex: none; display: block; width: 56px; height: 56px; }
.so-vs__author > a img { display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.public-site .so-byline img, .so-vs__list h2 img, .so-vs__pick img, .so-facts__icon img, .so-about__written a img, .so-browse__list img { flex: none; }
@media (max-width: 560px) { .so-vs__author { flex-direction: column; gap: 12px; } .so-vs__author > a, .so-vs__author > a img { width: 48px; height: 48px; } }

@media (max-width: 640px) {
    
    
    
    
    
    /* The table becomes one card per row: the label above, the two answers side by side. */
    
    
    
    
    
    
    
    
}


/* ---------- Comparison built for the decision (comparison-decision.blade.php) ----------
   One reading column, one button style, one module rhythm. Six kinds of element only. */
.so-dc { max-width: 720px; margin: 0 auto; padding: 24px 20px 96px; }
.so-dc__top { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 8px; }
.public-site .so-dc__title { margin: 0; font-family: Cause, var(--font-sans); font-weight: 600; font-size: 42px; line-height: 1.12; letter-spacing: 0; }
.public-site .so-dc__answer { margin: 0; font-size: 20px; line-height: 1.55; color: var(--text); }
.public-site .so-dc .pub-button.so-dc__cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 26px; font-size: 18px; }
[dir="rtl"] .so-dc svg { transform: scaleX(-1); }
.public-site .so-dc__disclosure { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; line-height: 1.45; color: var(--text-muted); }
.so-dc__disclosure > a { flex: none; display: block; width: 28px; height: 28px; }
.so-dc__disclosure img { display: block; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.public-site .so-dc__disclosure span a { color: var(--text); }

/* The live sample: the real reader's look, on a plain card. */
.so-sample { margin: 36px 0 8px; padding: 18px 18px 14px; border: 1px solid #e6e9e1; border-radius: 22px; background: #fff; box-shadow: 0 1px 0 rgba(32, 37, 31, .04); }
.so-sample[hidden] { display: none; }
.so-sample__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-bottom: 14px; border-bottom: 1px solid #eef0ea; }
.public-site .so-sample__play { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--primary, #7aa94f); color: #fff; font: 800 15px var(--font-sans); cursor: pointer; }
.so-sample__play[aria-pressed="true"] { background: #4f7f2a; }
.so-sample__switch { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--text); cursor: pointer; user-select: none; }
.so-sample__switch input { appearance: none; position: relative; width: 36px; height: 22px; margin: 0; border-radius: 999px; background: #d9ddd3; cursor: pointer; transition: background .15s ease; }
.so-sample__switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s ease; }
.so-sample__switch input:checked { background: var(--primary, #7aa94f); }
.so-sample__switch input:checked::after { transform: translateX(14px); }
.so-sample__lines { padding: 6px 0 0; }
.so-sample__loading { margin: 18px 0; color: var(--text-muted); text-align: center; }
.so-sample__sentence { padding: 12px 0; border-bottom: 1px solid #f1f3ee; }
.so-sample__sentence:last-child { border-bottom: 0; }
.so-sample__speaker { display: inline-block; margin-bottom: 6px; padding: 2px 8px; border-radius: 999px; background: #fbe6ea; color: #b4475c; font: 800 12px var(--font-sans); }
.so-sample__words { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 4px; margin: 0; }
.so-sample__word { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 6px 6px; border: 2px solid transparent; border-radius: 10px; background: #f4f5f1; font: inherit; color: var(--text); cursor: pointer; }
.so-sample__word.is-open { border-color: #20251f; }
.so-sample__word.is-speaking { background: #fbe9a8; }
.so-sample__roman { display: none; font: 600 12px/1.2 var(--font-sans); color: #6b7067; direction: ltr; }
.so-sample.is-roman .so-sample__roman { display: block; }
.so-sample__face { font: 400 28px/1.3 "Rubik", "Arial Hebrew", sans-serif; }
.so-sample.is-hand .so-sample__face { font-family: "Playpen Sans Hebrew", "Rubik", sans-serif; }
.so-sample__punct { align-self: flex-end; padding-bottom: 8px; font-size: 26px; }
.public-site .so-sample__english { margin: 8px 0 0; font-size: 15px; line-height: 1.4; color: var(--text-muted); direction: ltr; text-align: left; }
.so-sample__card { margin: 10px 0 4px; padding: 14px 16px; border-radius: 16px; background: #f6f7f3; }
.so-sample__card[hidden] { display: none; }
.public-site .so-sample__card p { margin: 0 0 6px; font-size: 16px; line-height: 1.45; }
.so-sample__card-head { display: flex; align-items: baseline; gap: 10px; }
.so-sample__card-word { font: 400 30px/1.2 "Rubik", sans-serif; direction: rtl; }
.so-sample__card-roman { font-weight: 700; color: #6b7067; }
.public-site .so-sample__card .so-sample__card-grammar { margin: 0; font-size: 14px; color: var(--text-muted); }
.public-site .so-sample__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 8px 0 0; font-size: 14px; color: var(--text-muted); }

/* Text links that open the free story: noticed by their weight and arrow, not by a box. */
.public-site .so-dc__try { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 800; color: #4f7f2a; text-decoration: none; }
.public-site .so-dc__try:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Table: StoryOlive first, one olive accent on its column, rows where LingQ is better marked plainly. */
.so-dc__table { width: 100%; margin: 40px 0 0; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.so-dc__table th, .so-dc__table td { padding: 13px 14px; border-bottom: 1px solid #ecede8; text-align: start; vertical-align: top; }
.public-site .so-dc__table thead th { padding-top: 0; font-size: 15px; font-weight: 800; color: var(--text); background: transparent; }
.so-dc__table thead th:first-child { width: 32%; }
.public-site .so-dc__table tbody th { font-size: 15px; font-weight: 700; color: var(--text-muted); }
.public-site .so-dc__table td { font-size: 16px; line-height: 1.45; color: var(--text); }
.so-dc__table tbody td:nth-child(2), .so-dc__table thead th:nth-child(2) { background: #f2f7ea; }
.so-dc__table thead th:nth-child(2) { border-radius: 14px 14px 0 0; padding-top: 12px; }
.public-site .so-dc__table tr.is-theirs td:nth-child(3) { font-weight: 800; }
.so-dc__table tfoot td { padding: 20px 0 0; border: 0; }

/* Feature modules: picture, heading, two paragraphs, one link. Repeated the same way five times. */
.so-dc__features { margin-top: 24px; }
.so-dc__feature { margin-top: 56px; }
.so-dc__shot { margin: 0 0 18px; }
.so-dc__shot img { display: block; width: 100%; height: auto; border: 1px solid #eceee8; border-radius: 18px; background: #fff; }
html body.public-site main .so-dc h2 { margin: 0 0 12px; font-size: 26px; line-height: 1.3; letter-spacing: 0; }
html body.public-site main .so-dc p { margin: 0 0 14px; font-size: 18px; line-height: 1.65; }
html body.public-site main .so-dc .so-dc__try-line { margin: 4px 0 0; }
.so-dc__text { margin-top: 56px; }

.so-dc__pros { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; margin-top: 56px; }
html body.public-site main .so-dc__pros h2 { margin: 0 0 10px; font-size: 19px; }
.so-dc__pros ul { display: grid; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.public-site .so-dc__pros li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 16px; line-height: 1.45; }
.so-dc__mark { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; font-weight: 800; font-size: 15px; line-height: 1; }
.is-pro .so-dc__mark { background: #e3efd3; color: #4f7f2a; }
.is-con .so-dc__mark { background: #f1ece6; color: #8a6a55; }
.so-dc__pros-cta { grid-column: 1 / -1; margin: 6px 0 0; }

.so-dc__sources { margin: 8px 0 0; padding-inline-start: 22px; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.public-site .so-dc__sources a { color: var(--text-muted); overflow-wrap: anywhere; }
.so-dc__faq dl { margin: 0; }
.public-site .so-dc__faq dt { margin: 0 0 6px; font-size: 18px; font-weight: 800; line-height: 1.35; }
html body.public-site main .so-dc__faq dd { margin: 0 0 20px; font-size: 17px; line-height: 1.6; }
.so-dc .so-related { margin-top: 48px; }

.so-dc__sticky { display: none; }
@media (max-width: 760px) {
    .so-dc__sticky { position: fixed; inset: auto 0 0 0; z-index: 40; display: block; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid #ecede8; transform: translateY(110%); transition: transform .2s ease; }
    .so-dc__sticky[hidden] { display: none; }
    .so-dc__sticky.is-shown { transform: translateY(0); }
    .public-site .so-dc__sticky .pub-button.so-dc__cta { width: 100%; }
}
@media (max-width: 640px) {
    .so-dc { padding: 12px 16px 96px; }
    .public-site .so-dc__title { font-size: 32px; }
    .public-site .so-dc__answer { font-size: 18px; }
    .public-site .so-dc .so-dc__top .pub-button.so-dc__cta { width: 100%; }
    html body.public-site main .so-dc h2 { font-size: 22px; }
    .so-sample { margin-top: 28px; padding: 14px 12px 12px; }
    .so-sample__face { font-size: 24px; }
    .so-dc__pros { grid-template-columns: 1fr; }
    .so-dc__table thead th:first-child { width: 30%; }
    .so-dc__table th, .so-dc__table td { padding: 11px 8px; }
    .public-site .so-dc__table td { font-size: 15px; }
    .public-site .so-dc__table tbody th { font-size: 14px; }
}
html body.public-site main .so-sample p.so-sample__english { margin: 8px 0 0; font-size: 15px; line-height: 1.4; }
html body.public-site main .so-sample p.so-sample__foot { margin: 10px 0 0; font-size: 14px; line-height: 1.4; }
html body.public-site main .so-sample p.so-sample__words { margin: 0; }
html body.public-site main .so-sample .so-sample__card p { margin: 0 0 6px; font-size: 16px; line-height: 1.45; }
html body.public-site main .so-sample .so-sample__card p.so-sample__card-grammar { margin: 0; font-size: 14px; }
html body.public-site main .so-sample p.so-sample__loading { margin: 18px 0; font-size: 15px; }

/* Sample controls, tidier: three chip toggles on one row; Listen and the hint underneath the sentences. */
.so-sample__bar { gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.so-sample__bar::-webkit-scrollbar { display: none; }
.so-sample__chip { position: relative; flex: none; cursor: pointer; }
.so-sample__chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.so-sample__chip span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1.5px solid #dfe3d8; border-radius: 999px; background: #fff; font: 700 14px/1 var(--font-sans); color: #4a4f47; white-space: nowrap; }
.so-sample__chip span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #c9cec2; }
.so-sample__chip input:checked + span { border-color: #b9d39a; background: #eef5e4; color: #2f4a1c; }
.so-sample__chip input:checked + span::before { background: #6f9a43; }
.so-sample__chip input:focus-visible + span { outline: 2px solid #6f9a43; outline-offset: 2px; }
.so-sample__foot { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding-top: 12px; border-top: 1px solid #eef0ea; }
.public-site .so-sample__play { flex: none; height: 38px; padding: 0 16px; font-size: 15px; }
.so-sample__hint { font-size: 14px; line-height: 1.35; color: var(--text-muted); }
html body.public-site main .so-sample p.so-sample__more { margin: 10px 0 0; }
.so-sample__switch { display: none; }

/* Disclosure: one small, quiet line under the button. */
html body.public-site main .so-dc p.so-dc__disclosure { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; line-height: 1.45; color: var(--text-muted); }
.so-dc__disclosure > a, .so-dc__disclosure img { width: 32px; height: 32px; }
/* Chips wrap instead of scrolling, so all three are always visible. */
.so-sample__bar { flex-wrap: wrap; overflow: visible; }
.so-sample__chip span { height: 32px; padding: 0 12px; font-size: 13px; }
/* Table header: no grey band, both product names aligned. */
.so-dc__table thead, .so-dc__table thead tr, .public-site .so-dc__table thead th { background: transparent; }
.public-site .so-dc__table thead th { padding: 12px 14px; vertical-align: bottom; }
.so-dc__table thead th:nth-child(2) { background: #f2f7ea; }
@media (max-width: 640px) {
    /* On phones each row is the label on its own line, then the two answers side by side. */
    .so-dc__table, .so-dc__table thead, .so-dc__table tbody, .so-dc__table tfoot { display: block; }
    .so-dc__table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .so-dc__table thead th:first-child { display: none; }
    .public-site .so-dc__table thead th { padding: 10px 12px; }
    .so-dc__table tbody th[scope="row"] { grid-column: 1 / -1; padding: 16px 0 6px; border: 0; }
    .so-dc__table tbody td { padding: 10px 12px; }
    .so-dc__table tfoot tr { display: block; }
    .so-dc__table tfoot td { display: block; padding: 20px 0 0; }
    .so-dc__table tfoot .pub-button.so-dc__cta { width: 100%; }
}

/* Hero: the copy beside a phone that holds the live sample. Everything below stays in one reading column. */
.so-dc { max-width: 1040px; }
.so-dc > :not(.so-dc__hero):not(.so-dc__sticky) { max-width: 720px; margin-inline: auto; }
.so-dc__hero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px 56px; align-items: center; }
.so-dc__logos { display: flex; align-items: center; gap: 10px; margin: 0; }
.so-dc__logos img { width: 44px; height: 44px; border-radius: 12px; }
.public-site .so-dc__logos span { font: 800 14px var(--font-sans); color: var(--text-muted); }
.so-dc__phone { justify-self: center; width: 340px; max-width: 100%; padding: 10px; border-radius: 46px; background: #1d211c; box-shadow: 0 0 0 2px #3a4036 inset, 0 40px 70px -30px rgba(29, 33, 28, .5), 0 18px 30px -18px rgba(29, 33, 28, .35); }
.so-dc__screen { padding: 18px 12px 14px; border-radius: 36px; background: #fff; }
html body.public-site main .so-dc p.so-dc__screen-title { margin: 0 0 6px; text-align: center; font: 700 15px/1.3 'StoryOlive Story', var(--font-sans); color: var(--text); }
.so-dc__screen .so-sample { margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.so-dc__screen .so-sample__bar { justify-content: center; }
.so-dc__screen .so-sample__face { font-size: 24px; }

/* Feature pictures: real reader screens in a phone frame, app crops on a plain card. */
.so-dc__shot--phone { display: flex; justify-content: center; }
.so-dc__shot--phone img { width: 250px; max-width: 70%; border: 8px solid #1d211c; border-radius: 36px; background: #fff; box-shadow: 0 30px 50px -28px rgba(29, 33, 28, .45); }
.so-dc__shot--card img { border-radius: 18px; }
.so-dc__table thead img { width: 22px; height: 22px; border-radius: 6px; vertical-align: -5px; margin-inline-end: 8px; }
@media (max-width: 860px) {
    .so-dc__hero { grid-template-columns: 1fr; gap: 28px; }
    .so-dc__phone { width: 330px; }
}
@media (max-width: 640px) {
    .so-dc__logos img { width: 38px; height: 38px; }
    .so-dc__phone { width: 100%; max-width: 360px; padding: 8px; border-radius: 40px; }
    .so-dc__screen { border-radius: 32px; padding: 16px 10px 12px; }
    .so-dc__shot--phone img { width: 230px; }
}
.so-dc__shot--small { display: flex; justify-content: center; }
.so-dc__shot--small img { width: 220px; max-width: 60%; border-radius: 22px; box-shadow: 0 24px 40px -26px rgba(29, 33, 28, .4); }
/* Feature links as small outlined pill buttons: clearly clickable, tied to the feature, quieter than the main button. */
.public-site .so-dc .so-dc__try { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 2px solid #8db25c; border-radius: 999px; background: #fff; color: #3f6a1f; font-size: 16px; font-weight: 800; text-decoration: none; }
.public-site .so-dc .so-dc__try:hover { background: #f4f8ee; text-decoration: none; }
html body.public-site main .so-dc .so-dc__try-line { margin: 10px 0 0; }
.so-sample .so-dc__try { min-height: 40px; font-size: 15px; }
.so-dc__shot--small { display: flex; justify-content: center; }
.so-dc__shot--small img { width: 220px; max-width: 60%; border-radius: 22px; box-shadow: 0 24px 40px -26px rgba(29, 33, 28, .4); }
/* Table: a tick or cross beside each yes-or-no answer, no tinted column, the button under StoryOlive's column. */
.so-dc__table tbody td:nth-child(2), .so-dc__table thead th:nth-child(2) { background: transparent; }
.so-dc__table thead th:nth-child(2) { border-radius: 0; }
.public-site .so-dc__table tr.is-theirs td:nth-child(3) { font-weight: inherit; }
.so-dc__table td { position: relative; }
.so-dc__table td > span:last-child { display: inline; }
.so-dc__tick { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-inline-end: 8px; border-radius: 50%; vertical-align: -5px; }
.so-dc__tick--yes { background: #e3efd3; color: #4f7f2a; }
.so-dc__tick--no { background: #efefec; color: #9a9d95; }
.so-dc__table tfoot td { padding: 18px 14px 0; border: 0; }
.public-site .so-dc__table tfoot .pub-button.so-dc__cta { min-height: 46px; padding: 0 18px; font-size: 16px; width: 100%; }
@media (max-width: 640px) {
    .so-dc__table tfoot tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .so-dc__table tfoot td:first-child { display: none; }
    .so-dc__table tfoot td { display: block; padding: 16px 8px 0 0; }
    .so-dc__tick { width: 20px; height: 20px; margin-inline-end: 6px; }
}

/* ---------- The live sample, drawn like the real reader ---------- */
.so-dc__device { margin: 0; justify-self: center; }
.so-dc__device[hidden] { display: none; }
.public-site .so-dc__device-caption { max-width: 320px; margin: 14px auto 0; font-size: 14px; line-height: 1.45; color: var(--text-muted); text-align: center; }
.so-dc__phone { width: 340px; }
.so-dc__screen.so-sample { position: relative; overflow: hidden; margin: 0; padding: 14px 14px 10px; border: 0; border-radius: 36px; background: #fff; box-shadow: none; max-height: 640px; overflow-y: auto; scrollbar-width: none; }
.so-dc__screen.so-sample::-webkit-scrollbar { display: none; }
.so-sample__top { display: flex; justify-content: space-between; margin-bottom: 10px; }
.public-site .so-sample__round { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 12px; background: #f1f2ee; color: #20251f; font: 700 15px var(--font-sans); text-decoration: none; cursor: pointer; }
.so-sample__aa[aria-expanded="true"] { background: #20251f; color: #fff; }
.so-sample__cover { display: block; width: 100%; height: 96px; object-fit: cover; border-radius: 14px; }
html body.public-site main .so-sample p.so-sample__title { margin: 12px 0 2px; font: 700 20px/1.2 'StoryOlive Story', var(--font-sans); color: #20251f; }
html body.public-site main .so-sample p.so-sample__level { margin: 0 0 6px; font-size: 13px; line-height: 1.3; color: #8a8f86; }
.so-sample__lines { padding: 0; }
.so-sample__sentence { padding: 12px 0 10px; border-bottom: 1px solid #eef0ea; }
.so-sample__sentence:last-child { border-bottom: 0; }
.so-sample__sentence-head { display: flex; justify-content: flex-start; margin-bottom: 4px; }
.so-sample__speaker { padding: 2px 8px; border-radius: 999px; font: 800 11px/1.5 var(--font-sans); }
.so-sample__speaker.is-m { background: #e4eefb; color: #3d6fb6; }
.so-sample__speaker.is-f { background: #fbe6ea; color: #b4475c; }
.so-sample__sentence-body { display: flex; align-items: center; gap: 8px; }
html body.public-site main .so-sample p.so-sample__words { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 3px; flex: 1; margin: 0; }
.so-sample__word { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; padding: 3px 4px 4px; border: 2px solid transparent; border-radius: 9px; background: #f4f5f1; font: inherit; color: #20251f; cursor: pointer; }
.so-sample__word.is-m .so-sample__face { box-shadow: inset 0 -2px 0 #6b97d6; }
.so-sample__word.is-f .so-sample__face { box-shadow: inset 0 -2px 0 #e58aa0; }
.so-sample__word.is-open { border-color: #20251f; }
.so-sample__word.is-speaking { background: #fbe9a8; }
.so-sample__roman { display: none; font: 600 10.5px/1.2 var(--font-sans); color: #7d8279; direction: ltr; }
.so-sample.is-roman .so-sample__roman { display: block; }
.so-sample__face { font: 400 23px/1.25 "Rubik", "Arial Hebrew", sans-serif; }
.so-sample.is-hand .so-sample__face { font-family: "Playpen Sans Hebrew", "Rubik", sans-serif; }
.so-sample__punct { align-self: flex-end; padding-bottom: 5px; font-size: 21px; }
.public-site .so-sample__play { flex: none; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #6f9a43; cursor: pointer; }
.so-sample__play.is-playing { background: #eef5e4; }
html body.public-site main .so-sample p.so-sample__english { margin: 6px 0 0; font-size: 13.5px; line-height: 1.4; color: #4a4f47; direction: ltr; text-align: right; }
.so-sample__card { position: sticky; bottom: 0; margin: 8px -4px 0; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(29, 33, 28, .18), 0 0 0 1px #eceee8; }
html body.public-site main .so-sample .so-sample__card p { margin: 0 0 4px; font-size: 14px; line-height: 1.4; }
html body.public-site main .so-sample .so-sample__card p.so-sample__card-gloss { font-size: 17px; font-weight: 800; color: #20251f; }
.so-sample__card-head { display: flex; align-items: baseline; gap: 8px; }
.so-sample__card-word { font: 400 24px/1.2 "Rubik", sans-serif; direction: rtl; }
.so-sample__card-roman { font-weight: 700; color: #7d8279; }
html body.public-site main .so-sample .so-sample__card p.so-sample__card-grammar { margin: 0; font-size: 12.5px; color: #8a8f86; }
.so-sample__sheet { position: absolute; inset: auto 0 0 0; padding: 16px 16px 20px; border-radius: 24px 24px 36px 36px; background: #fff; box-shadow: 0 -14px 40px rgba(29, 33, 28, .2); }
.so-sample__sheet[hidden] { display: none; }
.so-sample__sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 17px; }
.so-sample__setting { display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; background: #f6f7f3; font-size: 15px; font-weight: 600; cursor: pointer; }
.so-sample__setting:first-of-type { border-radius: 14px 14px 0 0; }
.so-sample__setting:last-of-type { border-radius: 0 0 14px 14px; }
.so-sample__setting + .so-sample__setting { border-top: 1px solid #eceee8; }
.so-sample__setting input { appearance: none; position: relative; flex: none; width: 40px; height: 24px; margin: 0; border-radius: 999px; background: #d4d8ce; cursor: pointer; }
.so-sample__setting input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s ease; }
.so-sample__setting input:checked { background: #20251f; }
.so-sample__setting input:checked::after { transform: translateX(16px); }
@media (max-width: 860px) { .so-dc__device { width: 100%; } .so-dc__phone { margin: 0 auto; } }
@media (max-width: 640px) { .so-dc__phone { width: 100%; max-width: 350px; } }

/* ---------- Comparison: the author page's look (Cause headings, cream box with white cards, equal cards) ---------- */
html body.public-site main .so-dc h2 { font-family: Cause, var(--font-sans); font-weight: 600; font-size: clamp(24px, 3vw, 30px); line-height: 1.2; }

/* Feature modules: the picture beside the text on wide screens, alternating sides; stacked on phones. */
.so-dc__feature { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px 32px; align-items: center; margin-top: 64px; }
.so-dc__feature.is-flipped { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.so-dc__feature.is-flipped .so-dc__shot { order: 2; }
.so-dc__shot { margin: 0; }
.so-dc__shot img, .so-dc__shot--card img { display: block; width: 100%; height: auto; border: 1px solid #eceee8; border-radius: 20px; background: #fff; box-shadow: 0 18px 36px -28px rgba(29, 33, 28, .4); }
.so-dc__shot--small img { width: 70%; margin: 0 auto; }
html body.public-site main .so-dc__feature h2 { font-size: clamp(22px, 2.6vw, 26px); }
.so-dc > .so-dc__features { max-width: 880px; }

/* Pros and cons: a cream box with two white cards, StoryOlive first, then one centred button. */
.so-dc__verdict { margin-top: 64px; padding: 24px; border-radius: 24px; background: #f6f3ea; }
.so-dc > .so-dc__verdict { max-width: 820px; }
html body.public-site main .so-dc__verdict h2 { margin: 0 0 16px; }
.so-dc__verdict-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.so-dc__verdict-card { padding: 18px; border-radius: 18px; background: #fff; box-shadow: 0 1px 0 rgba(32, 37, 31, .06); }
html body.public-site main .so-dc p.so-dc__verdict-name { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 18px; font-weight: 800; color: var(--text); }
.so-dc__verdict-name img { width: 32px; height: 32px; border-radius: 9px; }
.so-dc__verdict-card ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.public-site .so-dc__verdict-card li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 16px; line-height: 1.45; }
html body.public-site main .so-dc p.so-dc__pros-cta { margin: 20px 0 0; text-align: center; }

/* Who wrote it: the author card from the author page and the StoryHebrew post. */
.so-dc__about { margin-top: 64px; }
.so-dc__author { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.so-dc__author > a { flex: none; }
.so-dc__author img { display: block; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
html body.public-site main .so-dc p.so-dc__author-name { margin: 0; font-size: 18px; font-weight: 800; }
.public-site .so-dc__author-name a { color: var(--text); text-decoration: none; }
html body.public-site main .so-dc p.so-dc__author-role { margin: 0; font-size: 15px; color: var(--text-muted); }
.so-dc__sources-box { margin-top: 6px; }
.so-dc__sources-box summary { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--text-muted); cursor: pointer; }
.so-dc__sources-box[open] summary { margin-bottom: 8px; }

/* Keep reading everywhere: equal cards with the page's own picture, as on the author page. */
.so-related ul { grid-auto-rows: 1fr; }
.public-site .so-related li { display: flex; }
.public-site .so-related a { display: flex; align-items: center; gap: 12px; flex: 1; }
.so-related a img { flex: none; width: 32px; height: 32px; object-fit: contain; }
.so-related a img[src^="/logos/"] { border-radius: 8px; }

@media (max-width: 760px) {
    .so-dc__feature, .so-dc__feature.is-flipped { grid-template-columns: 1fr; margin-top: 52px; }
    .so-dc__feature.is-flipped .so-dc__shot { order: 0; }
    .so-dc__verdict { padding: 18px 14px; }
    .so-dc__verdict-cards { grid-template-columns: 1fr; }
}
/* The real reader inside the phone: no second frame around its settings and text. */
.so-dc__screen--reader .reader__controls, .so-dc__screen--reader .reader__hebrew { border: 0; border-radius: 0; box-shadow: none; }
.so-dc__screen--reader .reader__controls { border-bottom: 1px solid #eef0ea; }
/* Feature links use the site's existing secondary pill (the author page's link buttons). */
.public-site .so-dc .so-dc__try { min-height: 42px; padding: 0 16px; border: 2px solid #eceee8; border-radius: 999px; background: #fff; color: var(--text); font-size: 15px; font-weight: 700; }
.public-site .so-dc .so-dc__try:hover { background: #f7f8f4; text-decoration: none; }
.public-site .so-dc .so-dc__try svg { color: #6f9a43; }
/* Ticks green, crosses red. */
.so-dc__tick--yes { background: #e3efd3; color: #3f8a2a; }
.so-dc__tick--no { background: #fbe3e0; color: #c8483b; }
.so-dc__screen--reader { height: 600px; overflow-y: auto; scrollbar-width: none; }
.so-dc__screen--reader::-webkit-scrollbar { display: none; }
@media (max-width: 640px) { .so-dc__screen--reader { height: 560px; } }
.so-dc__screen--reader { padding: 0; overflow: hidden; }
.so-dc__frame { display: block; width: 100%; height: 100%; border: 0; border-radius: 32px; background: #fff; }
/* A tick or cross sits beside its text, and the text wraps level with itself, never under the icon. */
.so-dc__cell { display: flex; align-items: flex-start; gap: 8px; }
.so-dc__cell .so-dc__tick { flex: none; margin: 1px 0 0; vertical-align: 0; }
.so-dc__table td > span.so-dc__cell { display: flex; align-items: flex-start; gap: 8px; }
.so-dc__table .so-dc__cell .so-dc__tick { width: 20px; height: 20px; }
html body.public-site main .so-dc h2 { text-wrap: pretty; max-width: none; }
/* Each side's paragraph starts with that product's icon, the text level beside it. */
html body.public-site main .so-dc p.so-dc__side { display: flex; align-items: flex-start; gap: 12px; }
.so-dc__side > img { flex: none; width: 26px; height: 26px; margin-top: 3px; border-radius: 7px; }
.so-dc__side > span { min-width: 0; }

/* Table button never wraps. */
.public-site .so-dc .so-dc__table tfoot .pub-button.so-dc__cta { white-space: nowrap; font-size: 16px; }

/* Phones: the live sample drops the phone frame and becomes a plain reader card at full width, so the story has
   room for whole lines of Hebrew instead of one word per line. */
@media (max-width: 640px) {
    .so-dc__device { justify-self: stretch; width: auto; max-width: none; margin: 0 -22px; }
    .so-dc__phone { justify-self: stretch; width: 100%; max-width: none; margin: 0; padding: 0; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px #e3e6de, 0 22px 40px -28px rgba(29, 33, 28, .4); }
    .so-dc__screen--reader { height: min(600px, 76vh); border-radius: 22px; }
    .so-dc__frame { border-radius: 22px; }
    .so-dc__table tfoot tr { display: block; }
    .so-dc__table tfoot td[aria-hidden] { display: none; }
    .so-dc__table tfoot td { display: block; width: auto; padding: 18px 0 0; background: none; }
    .public-site .so-dc .so-dc__table tfoot .pub-button.so-dc__cta { width: 100%; min-height: 52px; font-size: 17px; }
    .so-dc__verdict { padding: 18px 12px 20px; }
    .so-dc__verdict-card { padding: 16px 14px; }
}

/* The live sample fades in once it sits at the first sentence (see the page script). */
.so-dc__frame { opacity: 0; transition: opacity .25s ease; }
.so-dc__frame.is-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .so-dc__frame { transition: none; } }

/* Each table cell carries its product's logo, shown only on phones where the column headings are hidden. */
.so-dc__cell-logo { display: none; }
@media (max-width: 640px) {
    /* Phones: one block per row. The label, then a StoryOlive line and a LingQ line at full width. */
    .so-dc__table thead { display: none; }
    .so-dc__table { margin-top: 28px; border-top: 1px solid #ecede8; }
    .so-dc__table tbody tr { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 16px 0; border-bottom: 1px solid #ecede8; }
    .so-dc__table tbody th[scope="row"], .public-site .so-dc__table tbody th { padding: 0 0 2px; border: 0; font-size: 15px; font-weight: 800; color: var(--text); }
    .so-dc__table tbody td, .so-dc__table tbody td:nth-child(2) { padding: 0; border: 0; background: none; }
    .public-site .so-dc__table td { font-size: 16px; line-height: 1.4; }
    .so-dc__table td > span.so-dc__cell { display: flex; align-items: flex-start; gap: 10px; }
    .so-dc__cell-logo { display: block; flex: none; width: 22px; height: 22px; border-radius: 6px; }
    .so-dc__table tfoot td { padding-top: 22px; }

    /* First screen: smaller logos and a slightly smaller answer so the button and the sample come up sooner. */
    .so-dc__logos img { width: 36px; height: 36px; border-radius: 10px; }
    .so-dc__hero { gap: 22px; }
    html body.public-site main .so-dc .so-dc__answer, html body.public-site main .so-dc__hero p.so-dc__answer { font-size: 17px; line-height: 1.55; }
}
@media (max-width: 640px) { .so-dc__feature { row-gap: 22px; } }
/* A wide wordmark beside the square icons: same height band, its own width, never squashed. */
.so-dc__logos img.so-dc__logos-mark { width: auto; height: 34px; max-width: 220px; border-radius: 0; object-fit: contain; }
@media (max-width: 640px) { .so-dc__logos img.so-dc__logos-mark { height: 28px; max-width: 170px; } }
/* Comparison pages: each feature in its own soft card, and the two short text blocks side by side, so the page reads in clear pieces. */
.so-dc__features > .so-dc__feature { margin-top: 20px; padding: 32px; border: 1px solid #ede8dc; border-radius: 28px; background: #faf8f2; }
.so-dc__features > .so-dc__feature:first-child { margin-top: 0; }
.so-dc__features > .so-painted-cta { margin: 20px 0; }
.so-dc > .so-dc__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 880px; margin-top: 48px; }
.so-dc__pair > .so-dc__text { margin: 0; padding: 28px; border: 1px solid #ede8dc; border-radius: 24px; background: #fff; }
html body.public-site main .so-dc__pair > .so-dc__text h2 { margin-top: 0; font-size: 22px; }
@media (max-width: 760px) {
    .so-dc > .so-dc__pair { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
    .so-dc__features > .so-dc__feature { padding: 20px 16px; border-radius: 22px; }
    .so-dc__pair > .so-dc__text { padding: 20px 18px; }
}
/* Price card: one short list per app. */
.so-dc__plan { margin-top: 16px; }
.so-dc__plan + .so-dc__plan { padding-top: 16px; border-top: 1px solid #ede8dc; }
html body.public-site main .so-dc__plan .so-dc__plan-name { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-weight: 800; font-size: 16px; }
.so-dc__plan-name img { width: 24px; height: 24px; border-radius: 7px; object-fit: contain; }
.so-dc__plan dl { margin: 0; }
.so-dc__plan dl > div { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; font-size: 16px; }
.so-dc__plan dt { flex: none; color: var(--text-muted, #5f655d); }
.so-dc__plan dl > div::after { content: none; }
.so-dc__plan dt::after { content: ""; }
.so-dc__plan dd { margin: 0 0 0 auto; font-weight: 700; text-align: end; color: var(--text, #1f1f1f); }
.so-dc__plan.is-us dd { color: #3d6321; }
html body.public-site main .so-dc__text .so-dc__plan-note { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-muted, #5f655d); }
html body.public-site main .so-dc__text .so-dc__plan-checked { margin: 12px 0 0; font-size: 14px; color: var(--text-muted, #5f655d); }
