/* ai.lapingroup.uk: the few styles this site adds on top of the hub look (lg-site.css, lg-hub.css). */
.sub { border-bottom: 1px solid var(--rule); background: var(--ground); }
.sub .hw { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.sub .name { font-family: "Space Grotesk", "Heebo", system-ui, sans-serif; font-weight: 700; font-size: 17px; letter-spacing: -.02em; text-decoration: none; color: var(--ink); }
.sub nav { display: flex; align-items: center; gap: 4px 16px; flex-wrap: wrap; }
.sub nav a { font-size: 14px; color: var(--muted); text-decoration: none; padding: 10px 0; }
.sub nav a:hover { color: var(--ink); }
.sub nav a.lang { color: var(--ink); border: 1px solid var(--rule); border-radius: 999px; padding: 6px 12px; font-family: "Heebo", "IBM Plex Sans", system-ui, sans-serif; }
.sub nav .wide { display: none; }
@media (min-width: 760px) { .sub nav .wide { display: inline; } }

.you { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.you li { padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: 19px; line-height: 1.4; max-width: none; }
@media (min-width: 880px) { .you { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; } }

.learn { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.learn li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.learn b { font-family: "Space Grotesk", "Heebo", system-ui, sans-serif; font-size: 19px; letter-spacing: -.02em; font-weight: 700; }
.learn span { color: var(--muted); font-size: 16px; }
@media (min-width: 880px) { .learn li { grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: baseline; } }
.motto { margin: 26px 0 0; font-family: "Space Grotesk", "Heebo", system-ui, sans-serif; font-weight: 700; font-size: clamp(22px, 4.6vw, 30px); letter-spacing: -.025em; line-height: 1.15; }

.note-line { margin: 18px 0 0; color: var(--muted); font-size: 15.5px; max-width: 60ch; }
.price-line { margin: 22px 0 0; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 12px; display: inline-flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: 16px; }
.price-line b { font-family: "Space Grotesk", "Heebo", system-ui, sans-serif; font-size: 19px; }
.state-tag { display: inline-block; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11.5px; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 4px 9px; }
[dir="rtl"] .state-tag, [dir="rtl"] .draft-tag, [dir="rtl"] .small, [dir="rtl"] .hbtn { font-family: "Heebo", system-ui, sans-serif; letter-spacing: 0; }
[dir="rtl"] .small { font-size: 14px; font-weight: 500; }
[dir="rtl"] .hbtn { font-size: 15.5px; font-weight: 700; }
[dir="rtl"] .hbtn .arr, [dir="rtl"] .door .arr { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .steps li::before { font-family: "Heebo", system-ui, sans-serif; font-size: 14px; }
[dir="rtl"] .phead h1, [dir="rtl"] .hsec-head h2, [dir="rtl"] .ask h2 { letter-spacing: -.01em; line-height: 1.12; }

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: "Space Grotesk", "Heebo", system-ui, sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -.02em; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "-"; }
.faq p { margin: 0 0 18px; color: var(--muted); max-width: 60ch; }

.teaser { border: 1px solid var(--rule); border-radius: 16px; padding: 24px 22px; display: grid; gap: 12px; }
.teaser h3 { font-size: 22px; letter-spacing: -.02em; }
.teaser p { margin: 0; color: var(--muted); max-width: 56ch; }
.teaser .hbtn { justify-self: start; margin-top: 6px; }
@media (min-width: 880px) { .teaser { padding: 32px 34px; } }
.themeline { display: flex; justify-content: center; padding: 0 0 26px; }

/* the hero with Roy's photo */
.phead.with-photo .hw { display: grid; gap: 30px; }
.phead.with-photo .portrait .frame { max-width: 360px; }
@media (min-width: 880px) { .phead.with-photo .hw { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 56px; align-items: end; } .phead.with-photo .portrait .frame { margin-inline-start: auto; } }
@media (max-width: 879px) { .phead.with-photo .portrait .frame { aspect-ratio: 1 / 1; max-width: 200px; border-radius: 50%; } .phead.with-photo .portrait img { object-position: 50% 20%; } .phead.with-photo .portrait { order: -1; } }

/* prices */
.prices { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 760px) { .prices { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.price-card { border: 1px solid var(--rule); border-radius: 16px; padding: 20px; display: grid; gap: 6px; align-content: start; background: var(--ground); }
.price-card b { font-family: "Space Grotesk", "Heebo", system-ui, sans-serif; font-size: 38px; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-card > span:last-child { color: var(--muted); font-size: 15px; line-height: 1.45; }
.price-card.first { border-color: var(--ink); box-shadow: inset 0 4px 0 var(--accent); }

/* the kids class (Hebrew page) */
.kids { background: var(--wash); border-radius: 20px; padding: 26px 20px; display: grid; gap: 14px; }
@media (min-width: 880px) { .kids { padding: 44px 44px; } }
.kids h2 { font-size: clamp(28px, 6vw, 40px); letter-spacing: -.01em; }
.kids p { margin: 0; max-width: 56ch; }
.kids-points { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 8px; }
.kids-points li { background: var(--ground); border-radius: 12px; padding: 12px 14px; font-weight: 500; }
.kids .go { margin-top: 6px; }
.kids .go .hbtn { min-height: 48px; }

[dir="rtl"] .price-card b { font-family: "Heebo", system-ui, sans-serif; font-weight: 700; letter-spacing: 0; }
