/* קלוד למטפלים · metaplim.knowyouryes.com
   Eucalyptus and linen: calm, earthy, a room you'd want to lie down in. Deliberately apart from Know Your Yes' Ember. */
:root {
  --paper: #F6F2EB;
  --paper-2: #EDE6DA;
  --card: #FFFDF9;
  --ink: #1F2B28;
  --ink-soft: #4B5854;
  --leaf: #2F5D50;
  --leaf-deep: #22453B;
  --leaf-tint: #DDE8E1;
  --honey: #C98F2E;
  --honey-tint: #F5E6C8;
  --line: #DAD2C4;
  --err: #A3392B;
  --f-head: "Frank Ruhl Libre", "Times New Roman", serif;
  --f-body: "Assistant", "Arial Hebrew", Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 2rem);
  --r: 14px;
  color-scheme: only light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.7 var(--f-body); text-rendering: optimizeLegibility; }
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--leaf); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0 0 1em; padding: 0 1.2em 0 0; }
li { margin: .3em 0; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; top: 0; inset-inline-start: 1rem; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 50; transform: translateY(-120%); }
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.bg-2 { background: var(--paper-2); }
.bg-leaf { background: var(--leaf-deep); color: #F3EFE6; }
.bg-leaf a { color: var(--honey-tint); }
.eyebrow { display: inline-block; font-weight: 700; font-size: .95rem; letter-spacing: .02em; color: var(--leaf); background: var(--leaf-tint); padding: .3rem .85rem; border-radius: 999px; margin-bottom: 1.25rem; }
.lead { font-size: clamp(1.15rem, 2.2vw, 1.35rem); color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.small { font-size: .95rem; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(246, 242, 235, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4rem; }
.mark { font-family: var(--f-head); font-weight: 700; font-size: 1.3rem; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; }
.mark::before { content: ""; width: .8rem; height: .8rem; border-radius: 50% 50% 50% 0; background: var(--leaf); transform: rotate(-45deg); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 700 1.1rem/1 var(--f-body); color: #fff; background: var(--leaf); border: 0; border-radius: 999px; padding: 1rem 1.75rem; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; box-shadow: 0 6px 18px rgba(34, 69, 59, .18); }
.btn:hover { background: var(--leaf-deep); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-sm { font-size: .98rem; padding: .65rem 1.15rem; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--leaf); border: 1.5px solid var(--leaf); box-shadow: none; }
.btn-ghost:hover { background: var(--leaf-tint); }
.btn-honey { background: var(--honey); color: #1F2B28; }
.btn-honey:hover { background: #B67F22; }

/* hero */
.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.hero .grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .hero .grid { grid-template-columns: 1.05fr 1fr; } }
.hero h1 span { display: block; color: var(--leaf); }
.hero .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 1.75rem; }
.hero .note { font-size: .95rem; color: var(--ink-soft); margin: .9rem 0 0; }
.video { position: relative; border-radius: var(--r); overflow: hidden; background: #10201B; box-shadow: 0 18px 40px rgba(31, 43, 40, .18); }
.video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(0deg, rgba(16, 32, 27, .55), rgba(16, 32, 27, .1)); border: 0; cursor: pointer; color: #fff; font: 700 1.05rem var(--f-body); }
.video-play span { display: inline-flex; align-items: center; gap: .6rem; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .45); padding: .75rem 1.25rem; border-radius: 999px; backdrop-filter: blur(4px); }
.video-play svg { width: 1.1rem; height: 1.1rem; }
.video-caption { margin: .9rem 0 0; font-size: 1rem; color: var(--ink-soft); }
.video-caption b { color: var(--ink); }

/* quote */
.quote { font-family: var(--f-head); font-size: clamp(1.3rem, 2.8vw, 1.7rem); line-height: 1.45; margin: 0; padding-inline-start: 1.25rem; border-inline-start: 4px solid var(--honey); }
.quote cite { display: block; font: 600 1rem/1.4 var(--f-body); font-style: normal; color: var(--ink-soft); margin-top: .8rem; }

/* pains */
.chat { display: flex; flex-direction: column; gap: .55rem; margin: 1.5rem 0 2rem; }
.bubble { align-self: flex-start; background: var(--card); border: 1px solid var(--line); padding: .55rem 1rem; border-radius: 16px 16px 16px 4px; font-size: 1.05rem; box-shadow: 0 2px 6px rgba(31, 43, 40, .05); }
.bubble:nth-child(2) { margin-inline-start: 1.5rem; }
.bubble:nth-child(3) { margin-inline-start: 3rem; }

/* lists */
.checks { list-style: none; padding: 0; display: grid; gap: .7rem; }
.checks li { position: relative; padding-inline-start: 2rem; margin: 0; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .42em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--leaf-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%232F5D50' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.crosses li::before { background: #EFE3DF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7' fill='none' stroke='%23A3392B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.callout { background: var(--card); border: 1px solid var(--line); border-inline-start: 4px solid var(--leaf); border-radius: var(--r); padding: 1.25rem 1.5rem; margin: 1.75rem 0; }
.callout p:last-child { margin: 0; }
.big-number { font-family: var(--f-head); font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 1.5rem 0 .25rem; }

.two { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 820px) { .two { grid-template-columns: 1fr 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem); }
.card h3 { margin-bottom: .8rem; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: .9rem; }
.steps li { counter-increment: s; position: relative; padding-inline-start: 2.6rem; margin: 0; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: .1em; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--leaf); color: #fff; font: 700 .95rem/1.8rem var(--f-body); text-align: center; }

/* costs */
.costs { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.costs th, .costs td { text-align: start; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.costs tr:last-child th, .costs tr:last-child td { border-bottom: 0; }
.costs th { font-weight: 600; width: 45%; }
.costs td { color: var(--ink-soft); }
.costs .free td { color: var(--leaf); font-weight: 700; }

/* about */
.about { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 820px) { .about { grid-template-columns: .8fr 1.2fr; } }
.about img { border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* testimonials */
.quotes { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .quotes { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
.quotes figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; }
.quotes blockquote { margin: 0 0 1rem; font-size: 1.1rem; }
.quotes figcaption { font-weight: 700; color: var(--leaf); }
[data-pending] { display: none !important; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 700; font-size: 1.15rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--f-body); color: var(--leaf); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: .5rem; }

/* form + checkout */
.signup { background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: 0 18px 40px rgba(31, 43, 40, .08); }
.price-tag { display: flex; align-items: baseline; gap: .6rem; margin: -.25rem 0 1.25rem; }
.price-tag b { font-family: var(--f-head); font-size: 2.2rem; color: var(--leaf); }
.price-tag s { color: var(--ink-soft); }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 700; font-size: 1rem; }
.field input { font: inherit; font-size: 1.1rem; padding: .8rem 1rem; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
.field input:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px var(--leaf-tint); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field input[type="tel"], .field input[type="email"] { direction: ltr; text-align: right; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; margin: .4rem 0 .9rem; cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .25rem; accent-color: var(--leaf); flex: none; }
.check.invalid { color: var(--err); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.status { min-height: 1.5em; margin: .75rem 0 0; font-weight: 600; }
.status.err { color: var(--err); }
.secure { font-size: .92rem; color: var(--ink-soft); margin: 1rem 0 0; }
.pay-frame { width: 100%; min-height: 720px; border: 0; border-radius: 12px; background: #fff; }
.pay-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .75rem; }
.pay-head button { background: none; border: 0; color: var(--leaf); font: 600 1rem var(--f-body); cursor: pointer; text-decoration: underline; padding: 0; }
.done-box h3 { color: var(--leaf); }

/* mobile bar */
.mbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 30; padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom)); background: rgba(246, 242, 235, .96); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s; }
.mbar.show { transform: none; }
.mbar .btn { width: 100%; }
@media (min-width: 900px) { .mbar { display: none; } }

/* footer */
.site-foot { padding: 2.5rem 0 5.5rem; font-size: .95rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; }
.site-foot nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* simple pages: thanks, map, legal */
.plain { padding-top: clamp(2.5rem, 7vw, 5rem); padding-bottom: 4rem; }
.plain h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
.tasks { list-style: none; padding: 0; display: grid; gap: 1rem; margin: 2rem 0; counter-reset: t; }
.tasks > li { counter-increment: t; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.5rem 1.25rem 1.25rem; padding-inline-start: 4rem; position: relative; margin: 0; }
.tasks > li::before { content: counter(t); position: absolute; inset-inline-start: 1.25rem; top: 1.2rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--leaf); color: #fff; font: 700 1rem/1.9rem var(--f-body); text-align: center; }
.tasks h3 { margin: 0 0 .4rem; font-size: 1.2rem; }
.tasks p { margin: 0 0 .8rem; color: var(--ink-soft); }
.tasks .row { display: flex; flex-wrap: wrap; gap: .6rem; }
.spinner { width: 1.4rem; height: 1.4rem; border: 3px solid var(--leaf-tint); border-top-color: var(--leaf); border-radius: 50%; animation: spin 1s linear infinite; display: inline-block; vertical-align: middle; margin-inline-end: .6rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }

/* offer */
.tiers { display: grid; gap: 1.25rem; margin-top: 2rem; align-items: start; }
@media (min-width: 960px) { .tiers { grid-template-columns: 1fr 1fr 1.25fr; } }
.tier { background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: clamp(1.4rem, 3vw, 2rem); position: relative; }
.tier.main { border: 2px solid var(--leaf); box-shadow: 0 18px 40px rgba(31, 43, 40, .1); }
.tier .tag { position: absolute; top: -.85rem; inset-inline-start: 1.5rem; background: var(--honey); color: var(--ink); font-weight: 700; font-size: .9rem; padding: .2rem .8rem; border-radius: 999px; }
.tier .price { font-family: var(--f-head); font-size: 2rem; color: var(--leaf); margin: .25rem 0 .1rem; }
.tier .price small { font: 600 1rem var(--f-body); color: var(--ink-soft); }
.tier .was { color: var(--ink-soft); margin-bottom: 1rem; }
.spots { display: flex; gap: .4rem; align-items: center; margin: 1rem 0; font-weight: 700; }
.spots i { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--leaf); display: inline-block; }
.spots i.gone { background: var(--line); }
.countdown { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--honey); }
.one-session { margin-top: 1.25rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.one-session summary { cursor: pointer; font-weight: 700; color: var(--leaf); }
.closed-note { background: var(--honey-tint); border-radius: var(--r); padding: 1rem 1.25rem; font-weight: 600; }

/* admin */
.admin { font-size: 1rem; }
.admin table { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--card); }
.admin th, .admin td { border-bottom: 1px solid var(--line); padding: .45rem .5rem; text-align: start; vertical-align: top; }
.admin .pill { display: inline-block; padding: .05rem .5rem; border-radius: 999px; font-size: .8rem; background: var(--leaf-tint); margin: .1rem; white-space: nowrap; }
.admin .pill.failed { background: #F3D7D1; }
.admin .pill.pending { background: var(--honey-tint); }
.admin pre { white-space: pre-wrap; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1rem; font: inherit; }
.admin .bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .75rem 0; }
.admin input[type=text], .admin input[type=password], .admin select { font: inherit; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: 8px; }
.admin button { font: inherit; padding: .45rem .8rem; border-radius: 8px; border: 1px solid var(--leaf); background: #fff; color: var(--leaf); cursor: pointer; }
.admin button.primary { background: var(--leaf); color: #fff; }
.admin .stat { display: inline-block; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .6rem 1rem; margin: 0 0 .5rem .5rem; }
.admin .stat b { display: block; font-size: 1.5rem; font-family: var(--f-head); }

/* reveal */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .rv { opacity: 1; transform: none; transition: none; } .spinner { animation: none; } }

/* added with the copy of 15.11 */
.hero .aside { margin: .4rem 0 0; font-family: var(--f-head); font-size: 1.15rem; color: var(--leaf); }
.checks.cols { grid-template-columns: 1fr; }
@media (min-width: 640px) { .checks.cols { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.costs tr.sub th { background: var(--paper-2); font-weight: 700; color: var(--ink-soft); width: auto; }
.costs tr.head td { color: var(--leaf); font-weight: 700; }
.closing { text-align: center; font-family: var(--f-head); font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.45; margin-bottom: 2.5rem; }
.closing p { margin: 0 0 .4rem; }
.closing p:last-child { color: var(--leaf); }
.creds { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.creds li { margin: 0; background: var(--leaf-tint); color: var(--leaf-deep); font-weight: 700; font-size: .95rem; padding: .3rem .85rem; border-radius: 999px; }
.video-intro { margin: 0 0 .75rem; font-size: 1.02rem; color: var(--ink-soft); }
.card .btn { margin-top: .5rem; }

/* the members area (/members) and joining the club (/club) */
.link-btn { background: none; border: 0; color: var(--leaf); font: 600 1rem var(--f-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.plain .block { padding: 0; margin: 2.75rem 0 0; }
.plain .block h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.rec-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.rec-list li { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: .85rem 1.1rem; }
.rec-list summary { cursor: pointer; }
.rec-list .rec-title { font-weight: 700; }
.rec-list a { text-decoration: none; }
.rec-list .video { margin-top: .85rem; box-shadow: none; }
.row-btns { display: flex; flex-wrap: wrap; gap: .6rem; }
.charges { margin-top: 1.25rem; }
.charges th { width: 50%; }
.cancel-box { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.cancel-box summary { cursor: pointer; font-weight: 700; color: var(--ink-soft); }
.cancel-box[open] summary { margin-bottom: 1rem; }
