/* Moved verbatim from the designer's single-file site (_source/design-index.html, inline <style>). IndieBase additions at the end. */
/* דנה שאול פרויד: שפת האתר, לפי שקף הברנדינג.
   רעיון הפריסה: כותרות ענק וקו מרידיאן דק שעובר לאורך כל העמוד, עם נקודות בכתום.
   כשקובץ לאון יגיע: להפעיל את ה־@font-face כאן למטה. שאר האתר כבר פונה אליו דרך --display. */

/*
@font-face {
  font-family: "Leon";
  src: url("fonts/leon-heavy.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
*/

:root {
  color-scheme: light;
  --white: #ffffff;
  --gray: #f4f2f5;
  --cream: #fde6d1;
  --ink: #000000;
  --plum: #4d2841;
  --lilac: #a785b3;
  --lilac-pale: #d2bcdb;
  --orange: #f38134;
  --display: "Leon", "Secular One", "Heebo", sans-serif;
  --body: "Heebo", Arial, sans-serif;
  --gutter: clamp(20px, 6vw, 88px);
  --block: clamp(72px, 9vw, 128px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.65 var(--body);
}
h1, h2, h3, p, ul, ol, dl, dd, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 2; }
section { position: relative; padding-block: var(--block); }
.tone-gray { background: var(--gray); }
.tone-cream { background: var(--cream); }

/* טיפוגרפיה */
h1, .huge, .mid, .logo, .dialog-title, .ten strong, .split strong, .closing-text {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(50px, 10.6vw, 120px); line-height: .98; text-wrap: balance; }
.huge { font-size: clamp(56px, 10.6vw, 120px); line-height: 1; }
.mid { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.08; text-wrap: balance; }
.lead { font-size: 20px; font-weight: 700; line-height: 1.45; }
p { max-width: 62ch; }
mark.todo { background: none; color: inherit; border-bottom: 2px dotted var(--orange); }

/* כפתורים ו־CTA */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 12px 28px;
  background: var(--plum); color: var(--white);
  border: 1.5px solid var(--plum); border-radius: 999px;
  font: 700 16px/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.button:hover { transform: translateX(-4px); }
.button.small { min-height: 42px; padding: 8px 20px; white-space: nowrap; }
.button.ghost { background: transparent; color: var(--plum); }
.cta { display: grid; justify-items: start; gap: 14px; margin-top: 36px; }
.cta p { font-weight: 700; }

/* תפריט */
.nav-wrap { position: sticky; top: 12px; z-index: 20; padding-inline: 16px; height: 0; }
.nav {
  max-width: 1160px; margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
  padding: 8px 10px 8px 8px; padding-inline-start: 24px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border: 1px solid var(--lilac-pale); border-radius: 999px;
}
.logo { font-size: 18px; text-decoration: none; white-space: nowrap; }
.nav ul { display: flex; gap: 22px; margin-inline-start: auto; }
.nav li a { font-size: 15px; text-decoration: none; white-space: nowrap; }
.nav li a:hover, .nav li a[aria-current] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.burger { display: none; margin-inline-start: auto; background: none; border: 0; font: 700 15px var(--body); cursor: pointer; padding: 8px; color: var(--ink); }

/* קו המרידיאן */
#meridian { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
#meridian .base { fill: none; stroke: var(--lilac-pale); stroke-width: 1.5; }
#meridian .live { fill: none; stroke: var(--plum); stroke-width: 1.5; }
#meridian circle { fill: var(--orange); }
main { position: relative; }

/* מקומות לתמונות */
.slot {
  display: grid; place-items: center; padding: 24px; text-align: center;
  background: var(--lilac-pale); color: var(--plum); font-weight: 700;
}
.slot-hero { aspect-ratio: 5 / 4; border-radius: 28px; }
.slot-bio { aspect-ratio: 1; border-radius: 50%; }
.slot-wide { aspect-ratio: 16 / 9; border-radius: 24px; background: var(--white); }
.slot-quotes { min-height: 180px; border-radius: 24px; background: var(--gray); }

/* פתיח */
.hero { padding-top: 120px; }
.hero-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-top: clamp(32px, 4vw, 56px); }
.hero blockquote { margin-top: 20px; }

/* היי לך */
.hi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 96px); margin-top: 40px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pills li { padding: 4px 16px; border: 1.5px solid var(--plum); border-radius: 999px; font-weight: 700; color: var(--plum); }
.hi-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--lilac); max-width: none; }

/* קצת עליי */
.bio-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 7vw, 112px); align-items: center; }
.bio-grid p { margin-top: 16px; }
.bio-grid .cta p { margin-top: 0; }

/* מוצרים */
.product-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 7vw, 112px); align-items: center; }
.product .lead { margin-top: 10px; }
.product .mid + p:not(.lead), .product .lead + p { margin-top: 16px; }
.product-side { display: grid; gap: 20px; }
.stages { display: flex; align-items: center; justify-content: space-between; position: relative; font-weight: 700; color: var(--plum); }
.stages::before { content: ""; position: absolute; inset-inline: 8px; top: 7px; height: 1.5px; background: var(--plum); }
.stages li { position: relative; padding-top: 22px; }
.stages li::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--orange); }
.stages li:last-child::before { inset-inline-start: auto; inset-inline-end: 0; }
.ten strong, .split strong { display: block; font-size: clamp(110px, 15vw, 200px); line-height: .9; color: var(--plum); }
.ten span, .split span { font-size: 20px; font-weight: 700; }
.dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(4px, .8vw, 10px); margin-top: 20px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: var(--lilac); }
.dots i:first-child { background: var(--orange); }
.bar { display: flex; margin-top: 20px; border-radius: 999px; overflow: hidden; font-weight: 700; }
.bar div { padding: 12px 18px; }
.bar-a { flex: 1; background: var(--cream); }
.bar-b { flex: 2; background: var(--lilac-pale); }

/* מאמרים */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 36px; }
.article { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 2px solid var(--ink); text-decoration: none; }
.article h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.arrow { margin-top: auto; display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--plum); border-radius: 50%; color: var(--plum); font-size: 20px; transition: background-color .18s, color .18s, transform .18s; }
.article:hover .arrow { background: var(--plum); color: var(--white); transform: translateX(-4px); }

/* סיום */
.closing-text { font-size: clamp(26px, 3.6vw, 46px); line-height: 1.25; max-width: 28ch; font-weight: 900; }

/* שאלות */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 6vw, 96px); }
details { border-top: 1px solid var(--lilac); padding-block: 16px; }
details:last-child { border-bottom: 1px solid var(--lilac); }
summary { font-size: 20px; font-weight: 700; cursor: pointer; }
details p { margin-top: 10px; }

/* פוטר */
.footer { background: var(--white); padding-block: 56px; }
.footer .wrap { display: grid; gap: 12px; }
.footer .logo { font-size: 28px; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 12px; }
.disclaimer { max-width: 78ch; font-size: 14px; }
.draft-note { font-size: 14px; margin-top: 12px; color: var(--plum); }

/* טיפול היכרות */
dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 24px; color: var(--ink); background: var(--white); }
dialog::backdrop { background: rgba(77, 40, 65, .45); }
#book-form { position: relative; display: grid; gap: 18px; padding: clamp(24px, 5vw, 40px); }
.dialog-title { font-size: 36px; line-height: 1.1; padding-inline-end: 40px; }
.dialog-sub { font-size: 20px; font-weight: 700; margin-bottom: 12px; padding: 0; }
.close { position: absolute; top: 14px; inset-inline-end: 14px; width: 44px; height: 44px; font-size: 24px; background: none; border: 0; cursor: pointer; color: var(--ink); }
.demo { padding: 8px 14px; background: var(--cream); border-radius: 12px; font-size: 14px; }
.steps { display: flex; gap: 8px; font-size: 14px; font-weight: 700; }
.steps li { flex: 1; padding-top: 8px; border-top: 3px solid var(--gray); color: var(--lilac); }
.steps li.on { border-color: var(--orange); color: var(--plum); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields label { display: grid; gap: 4px; font-weight: 700; font-size: 14px; }
input { width: 100%; min-height: 46px; padding: 8px 12px; border: 1.5px solid var(--lilac); border-radius: 12px; font: 400 16px var(--body); background: var(--white); color: var(--ink); }
input:user-invalid { border-color: var(--orange); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chips button { min-height: 44px; padding: 6px 14px; background: var(--white); color: var(--plum); border: 1.5px solid var(--lilac); border-radius: 999px; font: 700 14px var(--body); cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--plum); color: var(--white); border-color: var(--plum); }
.error { color: var(--plum); font-weight: 700; font-size: 14px; }
.summary div { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; border-bottom: 1px solid var(--gray); }
.summary dt { font-weight: 700; }
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.toast { position: fixed; bottom: 20px; inset-inline: 16px; width: fit-content; margin-inline: auto; z-index: 30; padding: 10px 20px; background: var(--ink); color: var(--white); border-radius: 999px; font-size: 14px; font-weight: 700; }

/* טאבלט ומובייל */
@media (max-width: 1040px) {
  .burger { display: block; }
  .nav { flex-wrap: wrap; border-radius: 28px; gap: 8px 12px; }
  .nav ul { display: none; order: 3; flex-basis: 100%; flex-direction: column; gap: 12px; padding: 12px 8px 12px; margin: 0; }
  .nav ul.open { display: flex; }
}
@media (max-width: 760px) {
  .hero { padding-top: 104px; }
  .hero-grid, .hi-grid, .bio-grid, .product-grid, .article-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .nav .logo { font-size: 16px; }
  .slot-bio { max-width: 320px; }
  .fields { grid-template-columns: 1fr; }
  .article { min-height: 0; }
}

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

/* ---- שאר העמודים ---- */
.portrait { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.comic { display: block; width: 100%; height: auto; border: 1.5px solid var(--plum); }
.comic-hero { max-width: 500px; justify-self: end; }
.page-title { font-family: var(--display); font-weight: 900; font-size: clamp(38px, 6vw, 84px); line-height: 1.04; text-wrap: balance; }
.sub-title { margin-top: 12px; }
.page-hero { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.page-hero p:not(.lead) { margin-top: 16px; }
.page-hero .cta p { margin-top: 0; }
.slot-page { aspect-ratio: 4 / 3; border-radius: 28px; }
.statement { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4.6vw, 62px); line-height: 1.14; max-width: 24ch; text-wrap: balance; }
.statement-note { margin-top: 20px; font-size: 20px; font-weight: 700; line-height: 1.45; }
.two-col { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.stack { display: grid; gap: 16px; justify-items: start; }
.stack .cta { margin-top: 20px; }
.mid small { display: block; margin-top: 12px; font: 700 20px/1.4 var(--body); letter-spacing: 0; }

/* בועות דיבור, בשפה של הקומיקס */
.bubbles { display: grid; gap: 22px; }
.bubbles li { position: relative; justify-self: start; max-width: 100%; padding: 14px 24px; background: var(--white); border: 1.5px solid var(--plum); border-radius: 28px; font-weight: 700; }
.bubbles li::after { content: ""; position: absolute; bottom: -9px; inset-inline-start: 30px; width: 16px; height: 16px; background: var(--white); border: solid var(--plum); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.bubbles li:nth-child(even) { justify-self: end; }
.bubbles li:nth-child(even)::after { inset-inline-start: auto; inset-inline-end: 30px; }

.tag { display: inline-block; justify-self: start; padding: 2px 14px; background: var(--orange); color: var(--ink); border-radius: 999px; font-size: 14px; font-weight: 700; }
.period-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 36px; }
.period { display: grid; gap: 14px; align-content: start; }

.months { margin-block: 32px; max-width: 760px; }
.months-head { display: flex; align-items: baseline; gap: 14px; }
.months-head strong { font-family: var(--display); font-weight: 900; font-size: clamp(90px, 12vw, 160px); line-height: .9; color: var(--plum); }
.months-head span { font-size: 20px; font-weight: 700; }
.months-scale { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--plum); }
.months-scale span { padding-top: 6px; border-top: 1.5px solid var(--plum); margin-inline-end: 6px; }
.rows > div { display: grid; grid-template-columns: minmax(120px, 2fr) 7fr; gap: 6px 24px; padding-block: 16px; border-top: 1px solid var(--lilac); }
.rows dt { font-weight: 700; }
.rows dd { max-width: 62ch; }
.rows.compact { margin-top: 24px; }
.block-title { margin-top: 44px; margin-bottom: 14px; font-size: 20px; font-weight: 700; line-height: 1.4; }
.flow { display: flex; flex-wrap: wrap; gap: 8px 8px; margin-bottom: 16px; font-weight: 700; color: var(--plum); }
.flow li { display: flex; align-items: center; gap: 8px; }
.flow li:not(:last-child)::after { content: "←"; color: var(--orange); }
.flow li > :first-child { }
.after-pills { margin-top: 14px; font-weight: 700; }
.fit { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(24px, 5vw, 72px); margin-top: 12px; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 26px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.intro-card { display: grid; gap: 12px; padding: clamp(24px, 3vw, 36px); background: var(--gray); border-radius: 24px; }
.intro-card .bar { margin-top: 4px; font-size: 14px; }
.intro-card .cta { margin-top: 10px; }
.about-short .lead { max-width: 58ch; }
.reg { display: grid; gap: 16px; }
.stage { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.stage legend { font-weight: 700; font-size: 14px; margin-bottom: 6px; padding: 0; }
.stage label { display: flex; align-items: center; gap: 8px; }
.stage input { width: 20px; min-height: 20px; accent-color: var(--plum); }
.reg .cta { margin-top: 6px; }
.reg input:not([type="radio"]) { background: var(--white); }
.sessions { display: grid; gap: 18px; margin-block: 28px 8px; max-width: 760px; }
.sessions .bar { margin-top: 8px; }
.sessions .bar-a.bar-short { flex: 1; text-align: center; padding-inline: 4px; }
.sessions .bar-b.bar-long { flex: 5; }
.pills-big li { font-size: 20px; padding: 8px 22px; }
.back { display: inline-block; margin-bottom: 20px; font-weight: 700; text-decoration: none; color: var(--plum); }
.back:hover { text-decoration: underline; }
.article-body { max-width: 860px; }
.article-body > p, .article-body h2 { max-width: 62ch; }
.article-body > p { margin-top: 16px; }
.article-body h2 { margin-top: 44px; font-size: 20px; font-weight: 700; line-height: 1.4; }
.article-body strong { font-weight: 700; background: linear-gradient(transparent 62%, var(--cream) 62%); }
.article-body .page-title { margin-bottom: 28px; }
.article-sub { margin-top: -12px !important; }
.article-outro { margin-top: 44px !important; padding: 22px 26px; background: var(--cream); border-radius: 20px; font-weight: 700; }
.hub-lead { margin-top: 16px; max-width: 58ch; }
.article-grid { align-items: stretch; }
.about-grid { align-items: start; margin-top: clamp(28px, 4vw, 48px); }
.about-grid .stack p { margin-top: 0; }
.about-grid .portrait { position: sticky; top: 90px; }
.signature { font-family: var(--display); font-weight: 900; font-size: 32px; }
.strips { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 32px); margin-top: 32px; }
.comic-page { border: 0; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.trio .block-title { margin-top: 0; }
.page-disclaimer { grid-column: 1 / -1; padding-top: 24px; }

@media (max-width: 760px) {
  .page-hero, .two-col, .period-grid, .fit, .trio, .strips { grid-template-columns: minmax(0, 1fr); }
  .rows > div { grid-template-columns: minmax(0, 1fr); }
  .comic-hero { max-width: none; }
  .about-grid .portrait { position: static; }
  .portrait { max-width: 320px; }
  .bubbles li:nth-child(even) { justify-self: start; }
}

/* תפריט במובייל: לוגו, כפתור ותפריט בשורה אחת */
@media (max-width: 760px) {
  .nav { gap: 8px; padding: 6px 8px 6px 6px; padding-inline-start: 14px; }
  .nav .logo { font-size: 14px; }
  .nav .button.small { min-height: 40px; padding: 6px 12px; font-size: 14px; }
  .burger { font-size: 14px; padding: 8px 4px; }
}
@media (max-width: 350px) {
  .nav .button.small { display: none; }
}

/* משקלי לאון: Heavy לכותרות, Product Bold לכותרות משנה ולרכיבים, Product Regular למשפטים מודגשים.
   בלי קובץ לאון, כל אלה נופלים ל־Heebo. הטקסט הרץ נשאר ב־Heebo. */
:root { --sub: "Leon Product", "Heebo", Arial, sans-serif; }
.lead, .statement-note, .cta p, .button, .nav li a, .burger, .tag, .pills li, .stages,
.ten span, .split span, .months-head span, .months-scale, .bar, .article h3, .block-title,
.rows dt, .flow, .after-pills, summary, .mid small, .bubbles li, .fields label, .stage legend,
.steps, .dialog-sub, .summary dt, .chips button, .back, .article-body h2, .article-outro,
.slot, .signature-note, .footer-menu, .draft-note {
  font-family: var(--sub);
}
.hero blockquote { font-family: var(--sub); font-weight: 400; font-size: 20px; line-height: 1.4; }
.statement-note { font-weight: 400; }
.nav li a { font-weight: 700; font-size: 14px; }

.article-body .page-title { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.1; }
.hub-lead + .flow { margin-top: 24px; }

.dana-voice { margin-top: 32px; max-width: 58ch; font-family: var(--sub); font-size: 20px; line-height: 1.5; color: var(--plum); }
.about-short .dana-voice { margin-top: 18px; }

/* ---- IndieBase additions (not in the designer's file) ---- */
/* Honeypot of the hand-written forms (partials/form-fields.html): off-screen, out of the grid flow */
.ib-hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Legal links from legal.footer(), in the footer's small type. The footer already has its own © line. */
.footer .ib-legal ul { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
.footer .ib-legal a { color: var(--plum); }
.footer .ib-copyright { display: none; }
/* Platform legal pages (/privacy/, /accessibility/, /terms/) */
.ib-legal-page { max-width: 860px; margin-inline: auto; padding: 140px var(--gutter) var(--block); position: relative; z-index: 2; }
.ib-legal-page h1 { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.1; margin-bottom: 28px; }
.ib-legal-page h2 { margin-top: 32px; margin-bottom: 8px; font-size: 20px; font-weight: 700; }
.ib-legal-page p, .ib-legal-page ul { margin-bottom: 12px; }
.ib-legal-page ul { list-style: disc; padding-inline-start: 1.4em; }
.ib-legal-page a { color: var(--plum); }
/* 404 */
.notfound .cta { margin-top: 28px; }
