/*
  עיצוב משותף לכל דפי המדריכים (התיקיה guides/).
  הצבעים והפונטים זהים לדף הבית (index.html).
*/
:root {
  --bg: #FBFBF7; --ink: #0E0E10; --soft: #4a4a52; --line: rgba(14,14,16,.10);
  --purple: #6F66B7; --mauve: #995C88; --rose: #CD4F64; --orange: #F47912; --yellow: #F4AD03;
  --purple-ink: #4E4594; --rose-ink: #A3304A; /* גוונים כהים יותר לטקסט קטן, בשביל ניגודיות */
  --t-purple: #EFEDF8; --t-mauve: #F6ECF2; --t-rose: #FBEBEE; --t-orange: #FEF0E2; --t-yellow: #FFF4D6;
  --brand: linear-gradient(90deg, #6F66B7, #995C88, #CD4F64, #EB5135, #F47912, #F4AD03);
  --display: "Rubik", "Arial Hebrew", Arial, sans-serif;
  --body: "Assistant", "Arial Hebrew", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; -webkit-text-size-adjust: 100%; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
.wrap { position: relative; max-width: 680px; margin: 0 auto; padding: 0 18px; }
.nw { white-space: nowrap; }
.en { direction: ltr; unicode-bidi: isolate; }
b, strong { font-weight: 700; }

/* פתיחה */
.hero { text-align: center; padding: 104px 0 30px; }
.home { display: block; width: 72px; border-radius: 50%; position: absolute; top: 16px; inset-inline-start: 0; margin: 0; inset-inline-start: 18px; }
.logo { width: 72px; height: 72px; border-radius: 50%; display: block; }
.kicker { display: inline-block; margin-top: 22px; padding: 4px 16px; border-radius: 999px; background: var(--t-purple); font-family: var(--display); font-weight: 700; font-size: 15px; }
.hero h1 { margin-top: 0; font-family: var(--display); font-weight: 900; font-size: clamp(32px, 8.6vw, 48px); line-height: 1.12; text-wrap: balance; }
.hero h1 .hl { color: var(--purple); }
.hero .sub { margin-top: 14px; font-size: 20px; color: var(--soft); text-wrap: pretty; }
.bar { width: 84px; height: 5px; border-radius: 5px; background: var(--brand); margin: 24px auto 0; }

/* גוף המדריך */
main { display: grid; gap: 18px; }
main > * { min-width: 0; }
.sec-title { margin-top: 22px; text-align: center; }
.sec-title .kicker { margin-top: 0; }
.sec-title h2 { margin-top: 10px; font-family: var(--display); font-weight: 900; font-size: clamp(26px, 7vw, 34px); line-height: 1.15; text-wrap: balance; }
.sec-title p { margin-top: 8px; color: var(--soft); }

.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px 22px; box-shadow: 0 10px 24px -18px rgba(14,14,16,.35); }
.card.tint { background: var(--t, var(--t-purple)); border: 0; border-bottom: 6px solid var(--c, var(--purple)); }
.card h2 { font-family: var(--display); font-weight: 900; font-size: clamp(22px, 6vw, 26px); line-height: 1.25; text-wrap: balance; }
.card h2 small, .card h3 small { display: inline-block; white-space: nowrap; font-size: 15px; font-weight: 700; color: var(--soft); margin-inline-start: 6px; }
.card h2 small::before, .card h3 small::before { content: "("; }
.card h2 small::after, .card h3 small::after { content: ")"; }
.card h3 { margin-top: 18px; font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.3; }
.card > p, .card .p { margin-top: 10px; }
.card > :first-child { margin-top: 0; }
.lead { color: var(--soft); }
.badge { display: inline-block; vertical-align: middle; margin-inline-start: 8px; padding: 2px 12px; border-radius: 999px; background: var(--purple); color: #fff; font-family: var(--display); font-weight: 700; font-size: 14px; }

.tip { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--t-purple); font-weight: 700; color: #3f3880; }
.tip.warm { background: var(--t-yellow); color: var(--ink); }
.tip.rose { background: var(--t-rose); color: var(--ink); }

ol.steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
ol.steps > li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; }
ol.steps > li::before { content: counter(s); flex: none; width: 30px; height: 30px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: var(--c, var(--purple)); color: #fff; font-family: var(--display); font-weight: 700; font-size: 15px; }
ol.steps.boxed > li { padding: 14px 16px; border-radius: 16px; background: var(--t-purple); font-weight: 700; }

ul.dots { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
ul.dots > li { position: relative; padding-inline-start: 22px; }
ul.dots > li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--purple)); }

.quote { margin-top: 14px; padding: 16px 18px; border-radius: 16px; background: var(--t-purple); }
.quote .label { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--purple-ink); }
.quote p { margin-top: 6px; font-weight: 700; }
.quote p:first-child { margin-top: 0; }

.prompt { margin-top: 14px; padding: 20px 20px 18px; border-radius: 20px; background: var(--ink); color: #fff; }
.prompt .label { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--yellow); }
.prompt p { margin-top: 8px; }
.prompt pre { margin: 10px 0 0; white-space: pre-wrap; font-family: var(--body); font-size: 17px; line-height: 1.6; }
.copy { margin-top: 14px; padding: 9px 20px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 15px; cursor: pointer; }

.end { margin-top: 8px; padding: 26px 22px; border-radius: 24px; background: linear-gradient(135deg, var(--t-purple), var(--t-yellow)); }
.end h2 { font-family: var(--display); font-weight: 900; font-size: 26px; }
.end p { margin-top: 8px; }

.table-wrap { margin-top: 14px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { padding: 11px 12px; text-align: start; vertical-align: top; border-top: 1px solid var(--line); }
thead th { border-top: 0; background: var(--t-purple); font-family: var(--display); font-weight: 700; }
tbody th { font-weight: 700; }

.stats { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { padding: 16px; border-radius: 16px; background: var(--t); }
.stat .k { font-weight: 700; font-size: 16px; }
.stat .v { font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1.1; color: var(--c); }
.stat .s { font-size: 15px; color: var(--soft); }

figure { margin: 16px 0 0; }
figure img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
figure.phone img { max-width: 340px; margin: 0 auto; }
figcaption { margin-top: 8px; font-size: 15px; color: var(--soft); text-align: center; }

.cols { display: grid; gap: 12px; margin-top: 14px; }
.cols > div { padding: 16px; border-radius: 16px; background: var(--t, var(--t-purple)); }
.cols h3 { margin-top: 0; }
@media (min-width: 620px) { .cols.two { grid-template-columns: 1fr 1fr; } }

/* תחתית */
.foot { text-align: center; padding: 40px 0 48px; }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn { display: inline-block; padding: 13px 28px; border-radius: 999px; background: var(--purple); color: #fff; font-family: var(--display); font-weight: 700; text-decoration: none; }
.btn.line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.foot p { margin-top: 14px; font-size: 16px; color: var(--soft); }
