/* Lapin Group. One stylesheet for every page. Plain CSS, no build step.
   Palette since 13 Nov 2026: white and Apple gray, near-black ink, one spice: yellow.
   --accent is a FILL colour (dots, highlights, button hovers) and always carries --on-accent text.
   Any text or focus ring that needs the accent uses --accent-ink, which passes contrast. */

:root {
  --ground: #FFFFFF;
  --surface: #FFFFFF;
  --wash: #F5F5F7;
  --ink: #1D1D1F;
  --muted: #6E6E73;
  --rule: #E3E3E8;
  --accent: #FFD60A;
  --accent-soft: #FFF6CC;
  --accent-ink: #8A6500;
  --on-accent: #1D1D1F;
  --shadow: 0 1px 2px rgba(29, 29, 31, .04), 0 12px 32px -22px rgba(29, 29, 31, .3);
}
/* Light is the default for every visitor (10 Nov 2026). Dark and Medium are a choice in the switch,
   the site no longer follows the phone setting on its own. */
:root[data-theme="light"] {
  --ground: #FFFFFF;
  --surface: #FFFFFF;
  --wash: #F5F5F7;
  --ink: #1D1D1F;
  --muted: #6E6E73;
  --rule: #E3E3E8;
  --accent: #FFD60A;
  --accent-soft: #FFF6CC;
  --accent-ink: #8A6500;
  --on-accent: #1D1D1F;
  --shadow: 0 1px 2px rgba(29, 29, 31, .04), 0 12px 32px -22px rgba(29, 29, 31, .3);
}
:root[data-theme="dim"] {
  --ground: #2C2C2E;
  --surface: #3A3A3C;
  --wash: #3A3A3C;
  --ink: #F2F2F7;
  --muted: #AEAEB2;
  --rule: #48484A;
  --accent: #FFD60A;
  --accent-soft: #3D3714;
  --accent-ink: #FFD60A;
  --on-accent: #1D1D1F;
  --shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 12px 32px -22px rgba(0, 0, 0, .7);
}
:root[data-theme="dark"] {
  --ground: #0F0F10;
  --surface: #1C1C1E;
  --wash: #1C1C1E;
  --ink: #F5F5F7;
  --muted: #A1A1A6;
  --rule: #2C2C2E;
  --accent: #FFD60A;
  --accent-soft: #3D3714;
  --accent-ink: #FFD60A;
  --on-accent: #1D1D1F;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -22px rgba(0, 0, 0, .9);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 680px; }

h1, h2, h3, .display {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}

.label {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 2px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; font-size: 17px; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12.5px;
  color: var(--muted); text-decoration: none; padding-bottom: 2px;
}
.nav ul a:hover { color: var(--ink); }
.nav ul a[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--accent); }
@media (max-width: 560px) {
  .nav .wrap { height: auto; padding-top: 12px; padding-bottom: 12px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav ul { gap: 16px; flex-wrap: wrap; }
}

/* ---------- page head ---------- */
.page-head { padding: 72px 0 44px; display: flex; flex-direction: column; gap: 18px; }
.page-head h1 { font-size: clamp(33px, 6vw, 50px); }
.page-head .sub { color: var(--muted); font-size: 18.5px; max-width: 58ch; margin: 0; }
.page-head .sub b { color: var(--ink); font-weight: 500; }

/* ---------- sections ---------- */
section { padding: 60px 0; border-top: 1px solid var(--rule); }
section.first { border-top: 0; padding-top: 0; }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 34px; }
.sec-head h2 { font-size: clamp(24px, 4.4vw, 32px); }
.sec-head p { margin: 0; color: var(--muted); max-width: 62ch; }

p { max-width: 66ch; }

/* ---------- buttons ---------- */
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.btn {
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; letter-spacing: .04em;
  text-decoration: none; padding: 11px 18px; border-radius: 3px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--ground);
  transition: opacity .15s ease, border-color .15s ease;
}
.btn:hover { opacity: .85; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn.ghost:hover { border-color: var(--ink); opacity: 1; }

/* ---------- the two-column claim ---------- */
.claim { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
@media (max-width: 640px) { .claim { grid-template-columns: 1fr; } }
.claim > div { background: var(--surface); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.claim h3 { font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.claim p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: none; }
.claim ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); font-size: 15.5px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- lists of things ---------- */
.rows { display: flex; flex-direction: column; }
.row { display: flex; flex-direction: column; gap: 8px; padding: 24px 0; border-top: 1px solid var(--rule); }
.row:first-child { border-top: 0; padding-top: 0; }
.row .meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row h3 { font-size: 20px; font-weight: 500; letter-spacing: -.015em; }
.row h3 a { text-decoration: none; }
.row h3 a:hover { color: var(--accent-ink); }
.row p { margin: 0; color: var(--muted); font-size: 15.5px; }

.tag {
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-soft); padding: 3px 7px; border-radius: 3px; white-space: nowrap;
}
.tag.draft { color: var(--muted); background: transparent; border: 1px solid var(--rule); }

/* ---------- tips ---------- */
.tip { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 24px; margin-bottom: 16px; box-shadow: var(--shadow); }
.tip .meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tip h3 { font-size: 20px; font-weight: 500; letter-spacing: -.015em; margin-bottom: 14px; }
.tip dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.tip dt { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.tip dd { margin: 0; font-size: 16px; }

/* ---------- tools ---------- */
.tool { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--rule); }
.tool:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 640px) { .tool { grid-template-columns: 1fr; gap: 10px; } }
.tool .name { display: flex; flex-direction: column; gap: 6px; }
.tool .name h3 { font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.tool .name .cost { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; color: var(--muted); }
.tool .body p { margin: 0; font-size: 15.5px; }
.tool .body p + p { margin-top: 10px; color: var(--muted); }
.tool .body b { font-weight: 500; }

/* ---------- callout ---------- */
.callout { background: var(--accent-soft); border-radius: 4px; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; margin: 30px 0; }
.callout p { margin: 0; font-size: 15.5px; }

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }
.fact { background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.fact .big { font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fact .cap { font-size: 14px; color: var(--muted); line-height: 1.45; }


/* ---------- footer ---------- */
footer { border-top: 1px solid var(--rule); padding: 40px 0 56px; margin-top: 40px; }
footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: baseline; }
footer a { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12.5px; color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; }


/* ---------- theme switcher ---------- */
.theme {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid var(--rule); border-radius: 4px; padding: 2px; background: var(--surface);
}
.theme button {
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 9px; border: 0; border-radius: 3px;
  background: transparent; color: var(--muted); cursor: pointer; line-height: 1;
}
.theme button:hover { color: var(--ink); }
.theme button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-ink); }
.nav-right { display: flex; align-items: center; gap: 20px; }
@media (max-width: 560px) { .nav-right { width: 100%; justify-content: space-between; gap: 12px; } }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }
.service { background: var(--surface); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.service h3 { font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.service p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: none; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 780px) { .plans { grid-template-columns: 1fr; } }
.plan {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 4px;
  padding: 26px 24px; display: flex; flex-direction: column; position: relative;
}
.plan.featured { border-color: var(--accent-ink); }
.plan .flag {
  position: absolute; top: -9px; left: 22px;
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  background: var(--accent); color: var(--on-accent); padding: 3px 8px; border-radius: 3px;
}
.plan h3 { font-size: 20px; font-weight: 500; letter-spacing: -.015em; }
.plan .who { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; max-width: none; }
.plan .price { margin: 20px 0 0; font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; font-size: 30px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan .price span { font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; flex: 1; }
.plan li { border-top: 1px solid var(--rule); padding: 10px 0; font-size: 15px; color: var(--muted); }
.plan .go {
  margin-top: 22px; text-align: center; text-decoration: none;
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12.5px; letter-spacing: .04em;
  border: 1px solid var(--ink); border-radius: 3px; padding: 11px 16px;
}
.plan .go:hover { background: var(--ink); color: var(--ground); }
.plan.featured .go { background: var(--ink); color: var(--ground); }
.plan.featured .go:hover { opacity: .85; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; gap: 26px; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 15.5px;
  padding: 11px 13px; border-radius: 3px;
  border: 1px solid var(--rule); background: var(--surface); color: var(--ink);
  width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.contact-form { display: block; }
.contact-form button {
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; letter-spacing: .04em;
  padding: 12px 20px; border-radius: 3px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--ground); cursor: pointer;
}
.contact-form button:hover { opacity: .85; }
.form-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.direct { display: flex; flex-direction: column; gap: 14px; }
.direct a.line {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  text-decoration: none; border: 1px solid var(--rule); border-radius: 4px;
  padding: 16px 18px; background: var(--surface); transition: border-color .15s ease;
}
.direct a.line:hover { border-color: var(--ink); }
.direct .what { font-size: 16px; font-weight: 500; }
.direct .where { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12.5px; color: var(--muted); word-break: break-all; }
.direct .arrow { font-family: "IBM Plex Mono", ui-monospace, monospace; color: var(--muted); }

/* ---------- article ---------- */
.article { max-width: 680px; }
.article .meta-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.article h2 { font-size: clamp(22px, 4vw, 28px); margin: 44px 0 14px; }
.article h3 { font-size: 19px; font-weight: 500; letter-spacing: -.01em; margin: 30px 0 10px; }
.article p { margin: 0 0 18px; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.article li { max-width: 62ch; }
.article .lead { font-size: 19.5px; color: var(--muted); }
.article blockquote {
  margin: 26px 0; padding: 2px 0 2px 20px; border-left: 2px solid var(--accent);
}
.article blockquote p { margin: 0; font-size: 18px; }
.source {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 4px;
  padding: 18px 20px; margin: 0 0 34px; display: flex; flex-direction: column; gap: 6px;
}
.source p { margin: 0; font-size: 15px; color: var(--muted); }
.source a { color: var(--accent-ink); }
.open-q {
  background: var(--accent-soft); border-radius: 4px; padding: 16px 18px; margin: 0 0 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.open-q p { margin: 0; font-size: 15.5px; }
.table-scroll { overflow-x: auto; margin: 0 0 24px; }
table.score { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15.5px; }
table.score th, table.score td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.score th {
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); font-weight: 400;
}
table.score td:first-child { font-weight: 500; white-space: nowrap; padding-right: 20px; }
table.score td:last-child { color: var(--muted); }

/* ---------- language switch ---------- */
.lang { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--rule); border-radius: 4px; padding: 2px; background: var(--surface); }
.lang a {
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 9px; border-radius: 3px; text-decoration: none; color: var(--muted); line-height: 1;
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-ink); }

/* ---------- guide, gates and checks ---------- */
.gate { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 24px; margin: 0 0 18px; }
.gate.stop { border-color: var(--accent-ink); }
.gate h3 { font-size: 19px; font-weight: 500; letter-spacing: -.01em; margin: 0 0 6px; }
.gate .why { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; }
.gate ol { margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 14px; }
.gate li { font-size: 16px; }
.gate li b { font-weight: 500; }
.gate li span { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }
.verdict { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 0; }
.verdict div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 15.5px; }
@media (max-width: 560px) { .verdict div { grid-template-columns: 1fr; gap: 4px; } }
.verdict .name { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.verdict .what { color: var(--muted); }

/* ---------- right to left ---------- */
[dir="rtl"] body, body[dir="rtl"] { font-family: "Heebo", "IBM Plex Sans", system-ui, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .display, [dir="rtl"] .brand,
[dir="rtl"] .plan .price, [dir="rtl"] .fact .big {
  font-family: "Heebo", "Space Grotesk", system-ui, sans-serif; font-weight: 700;
}
[dir="rtl"] .article blockquote { border-left: 0; border-right: 2px solid var(--accent); padding: 2px 20px 2px 0; }
[dir="rtl"] table.score th, [dir="rtl"] table.score td { text-align: right; padding: 12px 0 12px 14px; }
[dir="rtl"] table.score td:first-child { padding-right: 0; padding-left: 20px; }
[dir="rtl"] .label, [dir="rtl"] .tag, [dir="rtl"] .verdict .name { letter-spacing: 0; }

/* ---------- lead capture on content pages ---------- */
.nav-cta {
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12.5px; letter-spacing: .02em; white-space: nowrap;
  text-decoration: none; padding: 7px 13px; border-radius: 999px; background: var(--accent); color: var(--on-accent);
  transition: opacity .15s ease;
}
.nav-cta:hover { opacity: .88; }
.post-cta { margin: 48px 0 0; padding: 26px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent-soft); }
.post-cta p { margin: 8px 0 18px; font-size: 18px; color: var(--ink); }
.post-cta .label { color: var(--accent-ink); }
@media (max-width: 560px) {
  .nav-right { flex-wrap: wrap; row-gap: 10px; }
  .nav-right ul { width: 100%; }
}

/* ---------- logo: line rabbit plus "Lapin" with ears for the dot of the i ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: inherit; line-height: 1; }
.logo-rabbit { width: 30px; height: 41px; flex: none; overflow: visible; }
.logo-text { display: flex; flex-direction: column; }
.logo-word { font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; font-size: 23px; letter-spacing: -.04em; display: inline-flex; align-items: flex-end; }
.logo-i { position: relative; display: inline-block; }
.logo-i svg { position: absolute; left: 50%; bottom: 67%; width: 10px; height: 11.5px; margin-left: -5px; overflow: visible; transform-origin: 50% 100%; }
.logo-group { font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 500; font-size: 7.5px; letter-spacing: .26em; text-transform: uppercase; opacity: .6; margin-top: 3px; }
.logo:hover .logo-i svg { animation: logo-twitch .5s ease-in-out; }
.logo:hover .logo-rabbit { animation: logo-hop .5s cubic-bezier(.3, .7, .4, 1); }
@keyframes logo-twitch { 25% { transform: rotate(-12deg); } 50% { transform: rotate(5deg); } 75% { transform: rotate(-6deg); } }
@keyframes logo-hop { 40% { transform: translateY(-5px); } 80% { transform: translateY(0) scale(1.04, .95); } }

/* Daily feed: source line under each tip */
.tip .src-line { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--muted); }
.tip .src-line .label { margin-inline-end: 6px; }
.tip .src-line a { color: var(--muted); }
.tip .src-line a:hover { color: var(--accent-ink); }

/* Hebrew: the mono font has no Hebrew letters, so the browser fell back to a thin font with
   wide letter spacing. Every small label, tag, nav link and button uses Heebo in RTL. */
[dir="rtl"] .label, [dir="rtl"] .tag, [dir="rtl"] .nav ul a, [dir="rtl"] .btn, [dir="rtl"] .nav-cta,
[dir="rtl"] .tip dt, [dir="rtl"] .verdict .name, [dir="rtl"] .src-line {
  font-family: "Heebo", system-ui, sans-serif; letter-spacing: 0; text-transform: none;
}
[dir="rtl"] body { font-size: 18px; }
[dir="rtl"] .label { font-size: 14px; font-weight: 500; }
[dir="rtl"] .tag { font-size: 13px; font-weight: 500; }
[dir="rtl"] .nav ul a { font-size: 16px; font-weight: 500; }
[dir="rtl"] .btn, [dir="rtl"] .nav-cta { font-size: 15px; font-weight: 700; }
[dir="rtl"] .tip dt { font-size: 14px; font-weight: 700; color: var(--accent-ink); }
[dir="rtl"] .article p, [dir="rtl"] .article li { font-size: 18px; }

/* Guides: ready to copy prompts */
.prompt { background: var(--surface); border: 1px solid var(--rule); border-inline-start: 3px solid var(--accent); border-radius: 4px; padding: 16px 18px; margin: 0 0 22px; font-size: 16px; white-space: pre-wrap; }
.prompt .label { display: block; margin-bottom: 8px; }
.sources { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 14.5px; color: var(--muted); }
.sources ul { margin: 8px 0 0; padding-inline-start: 18px; }
.sources a { color: var(--muted); }
.guide-card h3 a { text-decoration: none; }
.guide-card h3 a:hover { color: var(--accent-ink); }

/* Hebrew link inside English menus: the mono font has no Hebrew */
a[lang="he"], .nav ul a[lang="he"], .lnav ul a[lang="he"], footer .links a[lang="he"] { font-family: "Heebo", "Arial Hebrew", system-ui, sans-serif; letter-spacing: 0; text-transform: none; font-size: 14px; font-weight: 500; }

/* Language dropdown with flags */
.langpick { position: relative; }
.langpick summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid var(--rule); border-radius: 4px; background: var(--surface); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; color: var(--ink); }
.langpick summary::-webkit-details-marker { display: none; }
.langpick summary::after { content: ""; border: 4px solid transparent; border-top-color: currentColor; margin-top: 4px; opacity: .6; }
.langpick img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; display: block; box-shadow: 0 0 0 1px var(--rule); }
.langpick ul, .nav .langpick ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 30; min-width: 160px; display: flex; flex-direction: column; gap: 2px; list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; box-shadow: var(--shadow); }
.langpick a, .nav .langpick a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 4px; text-decoration: none; color: var(--ink); font-family: "Heebo", "IBM Plex Sans", system-ui, sans-serif; font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; border-bottom: 0; }
.langpick a:hover { background: var(--accent-soft); }
.langpick a[aria-current] { color: var(--accent-ink); }
.nav .langpick ul a[lang], .lnav .langpick ul a[lang], .langpick ul a[lang] { font-size: 15px; }
[dir="rtl"] .langpick summary { font-family: "Heebo", system-ui, sans-serif; font-size: 14px; font-weight: 500; }

/* ---------- the family row: every Lapin Group address, added above the footer by site.js ---------- */
.family { border-top: 1px solid var(--rule); margin-top: 40px; padding: 22px 0 0; }
.family .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.family a { font-family: "IBM Plex Sans", "Heebo", system-ui, sans-serif; font-size: 14px; color: var(--muted); text-decoration: none; }
.family a:hover { color: var(--ink); }
.family + footer { margin-top: 22px; border-top: 0; padding-top: 0; }
