/*
Theme Name:  Madmon GP Child
Template:    generatepress
Description: Child Theme לאתר מדמון סוכנות לביטוח — בוטיק פיננסי משפחתי. מערכת עיצוב מלאה על בסיס המיתוג הקיים (נייבי, זהב, כסף).
Version: 1.13.0
Text Domain: madmon-gp-child
*/

/* ============================================================
   1. TOKENS — מערכת העיצוב
   מיתוג מדמון: Navy #08344F · Gold #F1AB18 · Silver #B3B3B3
   ============================================================ */
:root {
	/* צבע */
	--navy-950: #041D2E;
	--navy-900: #062940;
	--navy:     #07344F;   /* מותג — מדויק מספר המותג */
	--navy-700: #14507A;
	--navy-500: #2B6E9E;
	--navy-100: #E3EDF4;
	--navy-050: #F0F5F9;

	--gold:      #EFAB17;  /* מותג — מדויק מספר המותג */
	--gold-deep: #C88B06;
	--gold-soft: #FDF3DC;

	--silver:    #B3B3B3;  /* מותג */

	--bg:      #F8FAFB;
	--surface: #FFFFFF;
	--ink:     #10293A;
	--muted:   #5B6E7D;
	--faint:   #8DA0AE;
	--line:    #E2E9EE;
	--line-strong: #C9D5DD;

	--success: #1D7A50;
	--warning: #A66E05;
	--error:   #B3362B;

	/* טיפוגרפיה */
	--font-head: "Rubik", "Segoe UI", Arial, sans-serif;
	--font-body: "Heebo", "Segoe UI", Arial, sans-serif;

	--fs-900: clamp(2.1rem, 1.4rem + 3.2vw, 3.4rem);   /* H1 hero */
	--fs-800: clamp(1.8rem, 1.3rem + 2.2vw, 2.6rem);   /* H1 pages */
	--fs-700: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);     /* H2 */
	--fs-600: 1.3rem;                                  /* H3 גדול */
	--fs-500: 1.12rem;                                 /* H3/lead */
	--fs-400: 1rem;
	--fs-300: 0.92rem;
	--fs-200: 0.82rem;

	/* ריווח */
	--sp-1: 0.375rem;
	--sp-2: 0.75rem;
	--sp-3: 1.25rem;
	--sp-4: 2rem;
	--sp-5: 3rem;
	--sp-6: 4.5rem;
	--sp-7: 6.5rem;

	/* צורה */
	--radius:    16px;
	--radius-sm: 10px;
	--radius-lg: 24px;
	--shadow-sm: 0 1px 3px rgba(8, 52, 79, 0.07);
	--shadow:    0 6px 28px rgba(8, 52, 79, 0.09);
	--shadow-lg: 0 18px 50px rgba(8, 52, 79, 0.14);

	--container: 1180px;
	--container-narrow: 780px;

	--ease: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ============================================================
   2. BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--fs-400);
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

h1, h2, h3, h4, h5 {
	font-family: var(--font-head);
	color: var(--navy);
	line-height: 1.25;
	margin: 0 0 0.6em;
	font-weight: 700;
	letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-800); font-weight: 800; }
h2 { font-size: var(--fs-700); }
h3 { font-size: var(--fs-500); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

img { max-width: 100%; height: auto; }

ul, ol { padding-inline-start: 1.4em; margin: 0 0 1.1em; }

button { font-family: inherit; }

:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 2px;
	border-radius: 3px;
}

::selection { background: var(--gold-soft); color: var(--navy); }

.mdm-container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--sp-3);
}

.mdm-container-narrow {
	max-width: var(--container-narrow);
	margin-inline: auto;
	padding-inline: var(--sp-3);
}

.mdm-skip-link {
	position: absolute;
	inset-inline-start: -999px;
	top: 0;
	z-index: 999;
	background: var(--navy);
	color: #fff;
	padding: 0.6rem 1.2rem;
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.mdm-skip-link:focus { inset-inline-start: 1rem; color: #fff; }

/* ============================================================
   3. BUTTONS
   ============================================================ */
.mdm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: var(--fs-400);
	line-height: 1.2;
	padding: 0.8rem 1.7rem;
	border-radius: 999px;
	border: 2px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease), color 0.18s var(--ease);
	white-space: nowrap;
}
.mdm-btn:hover { transform: translateY(-2px); }
.mdm-btn:active { transform: translateY(0); }

.mdm-btn--primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.mdm-btn--primary:hover { background: var(--navy-700); color: #fff; box-shadow: var(--shadow); }

.mdm-btn--gold { background: var(--gold); color: var(--navy-950); }
.mdm-btn--gold:hover { background: #F8BC3F; color: var(--navy-950); box-shadow: 0 8px 24px rgba(241, 171, 24, 0.35); }

.mdm-btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.mdm-btn--ghost:hover { border-color: var(--navy); color: var(--navy); }

.mdm-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.mdm-btn--outline-light:hover { border-color: #fff; color: #fff; }

.mdm-btn--venture { background: var(--navy-950); color: #fff; }
.mdm-btn--venture:hover { background: var(--navy-700); color: #fff; }

.mdm-link-arrow {
	font-family: var(--font-head);
	font-weight: 600;
	text-decoration: none;
	color: var(--navy);
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}
.mdm-link-arrow:hover { color: var(--gold-deep); }

.mdm-ext { font-size: 0.85em; opacity: 0.8; }

/* ============================================================
   4. HEADER
   ============================================================ */
.mdm-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 1px 12px rgba(8, 52, 79, 0.06);
}
.mdm-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	min-height: 82px;
}
.mdm-header__logo { display: inline-flex; align-items: center; }
.mdm-header__logo img { width: auto; height: 52px; }
@media (max-width: 599px) { .mdm-header__logo img { height: 44px; } .mdm-header__inner { min-height: 72px; } }

.mdm-nav__list {
	display: flex;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.mdm-nav__list a {
	display: block;
	padding: 0.5rem 0.7rem;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 0.9rem;
	letter-spacing: 0.005em;
	white-space: nowrap;
	color: var(--ink);
	text-decoration: none;
	border-radius: 999px;
	transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.mdm-nav__list a:hover { background: var(--navy-050); color: var(--navy); }
.mdm-nav__list .current-menu-item > a,
.mdm-nav__list .current_page_item > a { color: var(--navy); font-weight: 700; }

.mdm-header__actions { display: flex; align-items: center; gap: var(--sp-2); }
.mdm-header__cta { padding: 0.65rem 1.45rem; font-size: 0.95rem; }

.mdm-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	background: none;
	border: none;
	cursor: pointer;
	border-radius: var(--radius-sm);
}
.mdm-burger span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--navy);
	border-radius: 2px;
	transition: transform 0.25s var(--ease), opacity 0.2s;
}
.mdm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mdm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mdm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mdm-mobile-nav {
	border-top: 1px solid var(--line);
	background: var(--surface);
	padding: var(--sp-3);
	box-shadow: var(--shadow);
}
.mdm-mobile-nav__list {
	list-style: none;
	margin: 0 0 var(--sp-3);
	padding: 0;
}
.mdm-mobile-nav__list a {
	display: block;
	padding: 0.8rem 0.5rem;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: var(--fs-500);
	color: var(--ink);
	text-decoration: none;
	border-bottom: 1px solid var(--line);
}
.mdm-mobile-nav__list .current-menu-item > a { color: var(--gold-deep); }
.mdm-mobile-nav__cta { display: flex; flex-direction: column; gap: var(--sp-2); }

@media (max-width: 1023px) {
	.mdm-nav { display: none; }
	.mdm-burger { display: flex; }
	.mdm-header__cta { display: none; }
}

/* ============================================================
   5. HOMEPAGE HERO — Private Wealth: טיפוגרפיה + קשתות חיות
   ============================================================ */
.mdm-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #FDFCF8 0%, #FAF8F1 100%);
	padding-block: clamp(3.8rem, 7.5vw, 6.2rem);
}
.mdm-eyebrow {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: var(--fs-300);
	color: var(--gold-deep);
	letter-spacing: 0.02em;
	margin-bottom: var(--sp-2);
	display: flex;
	align-items: center;
	gap: 0.55rem;
}
.mdm-eyebrow::before {
	content: "";
	width: 26px;
	height: 3px;
	border-radius: 2px;
	background: var(--gold);
}
.mdm-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: var(--sp-6);
	align-items: center;
}
.mdm-hero__title {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 1.7rem + 3.8vw, 4.2rem);
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -0.015em;
	color: var(--navy);
	margin-bottom: var(--sp-3);
	max-width: 14em;
	text-wrap: balance;
}
.mdm-hero__title em {
	font-style: normal;
	color: var(--gold-deep);
}
.mdm-hero__lead {
	font-size: var(--fs-500);
	font-weight: 300;
	color: var(--muted);
	max-width: 28em;
	margin-bottom: var(--sp-3);
}
.mdm-hero__tagline {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.15rem;
	color: var(--navy);
	letter-spacing: 0.01em;
	margin: 0 0 var(--sp-4);
}
.mdm-hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }

/* המותג חי: קשתות בסיבוב איטי מאוד, ללא לופ מורגש */
.mdm-hero__mark {
	width: min(100%, 505px);
	margin-inline: auto;
	animation: mdm-fadein 1.8s var(--ease) both;
}
.mdm-hero__media { width: 100%; }
.mdm-hero__video,
.mdm-hero__still {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.mdm-arcs-g {
	transform-box: view-box;
	transform-origin: 50% 50%;
	animation: mdm-slowspin 90s linear infinite;
}
.mdm-arcs-g--outer { animation-duration: 150s; }
.mdm-arcs-g--gold { animation-duration: 95s; }
.mdm-arcs-g--silver { animation-duration: 110s; animation-direction: reverse; }
@keyframes mdm-slowspin { to { transform: rotate(360deg); } }
@keyframes mdm-fadein { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 900px) {
	.mdm-hero { padding-block: var(--sp-6); }
	.mdm-hero__inner { grid-template-columns: 1fr; gap: var(--sp-5); }
	.mdm-hero__mark { width: min(74vw, 336px); }
}

/* ============================================================
   6. SECTIONS
   ============================================================ */
.mdm-section { padding-block: var(--sp-6); }
.mdm-section--tint { background: var(--navy-050); }
.mdm-section--navy {
	background: linear-gradient(160deg, var(--navy-950), var(--navy) 80%);
	color: #E7EEF3;
}
.mdm-section--navy h2, .mdm-section--navy h3 { color: #fff; }
.mdm-section--navy .mdm-eyebrow { color: var(--gold); }
.mdm-section--navy .mdm-section-head__lead { color: #B9C9D5; }

.mdm-section-head { max-width: 640px; margin-bottom: var(--sp-4); }
.mdm-section-head--center { margin-inline: auto; text-align: center; }
.mdm-section-head--center .mdm-eyebrow { justify-content: center; }
.mdm-section-head__lead { color: var(--muted); font-size: var(--fs-500); }
.mdm-section__more { margin-top: var(--sp-4); }

@media (max-width: 767px) {
	.mdm-section { padding-block: var(--sp-5); }
}

/* ============================================================
   7. CARDS
   ============================================================ */
.mdm-cards { display: grid; gap: var(--sp-3); }
.mdm-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mdm-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mdm-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1023px) {
	.mdm-cards--3, .mdm-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
	.mdm-cards--2, .mdm-cards--3, .mdm-cards--4 { grid-template-columns: 1fr; }
}

.mdm-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: var(--sp-4) var(--sp-3);
	transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
	position: relative;
}
.mdm-card:has(a.mdm-card__link):hover,
a.mdm-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: var(--line-strong);
}
.mdm-card__link { text-decoration: none; color: inherit; display: block; }
.mdm-card__link::after { content: ""; position: absolute; inset: 0; }

.mdm-card__icon {
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--navy-050);
	color: var(--navy);
	margin-bottom: var(--sp-3);
}
.mdm-card:hover .mdm-card__icon { background: var(--gold-soft); color: var(--gold-deep); }

.mdm-card__title { margin-bottom: 0.4em; }
.mdm-card__excerpt { color: var(--muted); font-size: var(--fs-300); margin: 0; }
.mdm-card__more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: var(--sp-3);
	font-family: var(--font-head);
	font-weight: 600;
	font-size: var(--fs-300);
	color: var(--gold-deep);
}
.mdm-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-2);
	margin-bottom: var(--sp-2);
	font-size: var(--fs-200);
}
.mdm-card__tag {
	background: var(--navy-050);
	color: var(--navy);
	font-family: var(--font-head);
	font-weight: 600;
	border-radius: 999px;
	padding: 0.2rem 0.7rem;
}
.mdm-card__time { color: var(--faint); }

/* כרטיסי "מה אתם רוצים לעשות עכשיו" */
.mdm-intent {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sp-3);
}
@media (max-width: 1023px) { .mdm-intent { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px)  { .mdm-intent { grid-template-columns: 1fr; } }

a.mdm-intent__card {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: var(--sp-3);
	text-decoration: none;
	color: var(--ink);
	font-family: var(--font-head);
	font-weight: 600;
	transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
a.mdm-intent__card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	border-color: var(--gold);
	color: var(--navy);
}
.mdm-intent__icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--navy-050);
	color: var(--navy);
	transition: background-color 0.2s, color 0.2s;
}
a.mdm-intent__card:hover .mdm-intent__icon { background: var(--gold-soft); color: var(--gold-deep); }
.mdm-intent__label { flex: 1; }
.mdm-intent__sub { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--fs-300); color: var(--muted); margin-top: 2px; }
.mdm-intent__arrow { color: var(--faint); transition: transform 0.2s var(--ease), color 0.2s; }
a.mdm-intent__card:hover .mdm-intent__arrow { transform: translateX(-4px); color: var(--gold-deep); }

/* ============================================================
   8. SPLIT / PROSE
   ============================================================ */
.mdm-split {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: var(--sp-5);
	align-items: center;
}
.mdm-split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
@media (max-width: 900px) { .mdm-split, .mdm-split--even { grid-template-columns: 1fr; gap: var(--sp-4); } }
.mdm-split__text p { color: var(--muted); }
.mdm-split__aside { display: grid; place-items: center; }
.mdm-arcs--aside { width: min(260px, 60vw); opacity: 0.65; }

.mdm-prose { max-width: var(--container-narrow); margin-inline: auto; padding-block: var(--sp-5); }
.mdm-prose h2 { margin-top: 1.6em; }
.mdm-prose h3 { margin-top: 1.3em; }

/* ============================================================
   9. STEPS / CHECKLIST / MISTAKES
   ============================================================ */
.mdm-steps {
	list-style: none;
	counter-reset: mdm-step;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sp-4);
}
@media (max-width: 767px) { .mdm-steps { grid-template-columns: 1fr; } }
.mdm-steps li { counter-increment: mdm-step; position: relative; padding-top: var(--sp-3); }
.mdm-steps li::before {
	content: "0" counter(mdm-step);
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 2.4rem;
	line-height: 1;
	color: var(--gold);
	display: block;
	margin-bottom: var(--sp-2);
}
.mdm-section--navy .mdm-steps li::before { color: var(--gold); }
.mdm-steps__title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-600); display: block; margin-bottom: 0.3rem; color: inherit; }
.mdm-steps__desc { margin: 0; color: var(--muted); }
.mdm-section--navy .mdm-steps__desc { color: #B9C9D5; }

.mdm-checklist { list-style: none; margin: 0; padding: 0; }
.mdm-checklist li {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
	padding-block: 0.65rem;
	border-bottom: 1px solid var(--line);
}
.mdm-checklist li:last-child { border-bottom: none; }
.mdm-checklist .mdm-icon { flex: 0 0 auto; color: var(--success); margin-top: 0.3rem; }

.mdm-mistakes { display: grid; gap: var(--sp-2); }
.mdm-mistakes__item {
	background: var(--surface);
	border: 1px solid var(--line);
	border-inline-start: 3px solid var(--gold);
	border-radius: var(--radius-sm);
	padding: var(--sp-2) var(--sp-3);
}
.mdm-mistakes__item h3 { font-size: var(--fs-400); margin-bottom: 0.2em; }
.mdm-mistakes__item p { color: var(--muted); font-size: var(--fs-300); margin: 0; }

/* ============================================================
   10. FAQ
   ============================================================ */
.mdm-faq { max-width: var(--container-narrow); margin-inline: auto; }
.mdm-faq__title { text-align: center; margin-bottom: var(--sp-4); }
.mdm-faq__list { display: grid; gap: var(--sp-2); }
.mdm-faq__item {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	overflow: hidden;
}
.mdm-faq__item summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-2);
	padding: 1rem 1.3rem;
	font-family: var(--font-head);
	font-weight: 600;
	color: var(--navy);
}
.mdm-faq__item summary::-webkit-details-marker { display: none; }
.mdm-faq__chev {
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	border-inline-end: 2px solid var(--gold-deep);
	border-bottom: 2px solid var(--gold-deep);
	transform: rotate(45deg);
	transition: transform 0.2s var(--ease);
}
.mdm-faq__item[open] .mdm-faq__chev { transform: rotate(-135deg); }
.mdm-faq__answer { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ============================================================
   11. CTA BAND / PREFOOTER
   ============================================================ */
.mdm-cta-band { padding-block: var(--sp-5); }
.mdm-cta-band__inner {
	max-width: var(--container);
	margin-inline: auto;
	background: linear-gradient(150deg, var(--navy-950), var(--navy) 75%);
	border-radius: var(--radius-lg);
	padding: var(--sp-5);
	margin-inline: max(var(--sp-3), calc((100vw - var(--container)) / 2));
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	color: #E7EEF3;
	position: relative;
	overflow: hidden;
}
.mdm-cta-band__inner::before {
	content: "";
	position: absolute;
	inset-inline-end: -60px;
	top: -60px;
	width: 220px;
	height: 220px;
	border: 26px solid rgba(241, 171, 24, 0.18);
	border-radius: 50%;
}
.mdm-cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.mdm-cta-band p { margin: 0; color: #B9C9D5; }
@media (max-width: 767px) {
	.mdm-cta-band__inner { flex-direction: column; align-items: flex-start; padding: var(--sp-4); }
}

.mdm-prefooter {
	background: linear-gradient(160deg, var(--navy-950), var(--navy) 85%);
	color: #E7EEF3;
	padding-block: var(--sp-6);
	position: relative;
	overflow: hidden;
}
.mdm-prefooter::after {
	content: "";
	position: absolute;
	inset-inline-start: -80px;
	bottom: -120px;
	width: 320px;
	height: 320px;
	border: 36px solid rgba(179, 179, 179, 0.09);
	border-radius: 50%;
}
.mdm-prefooter__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	position: relative;
	z-index: 1;
}
.mdm-prefooter h2 { color: #fff; }
.mdm-prefooter p { color: #B9C9D5; margin: 0; max-width: 34em; }
.mdm-prefooter__actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
@media (max-width: 900px) {
	.mdm-prefooter__inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   12. FOOTER
   ============================================================ */
.mdm-footer {
	background: var(--navy-950);
	color: #A7BBC8;
	padding-block: var(--sp-6) var(--sp-4);
	font-size: 0.95rem;
	line-height: 1.9;
}
.mdm-footer a { color: #CBD9E2; text-decoration: none; }
.mdm-footer a:hover { color: var(--gold); }

.mdm-footer__top {
	display: grid;
	grid-template-columns: minmax(240px, 1.2fr) 3fr;
	gap: var(--sp-5);
	padding-bottom: var(--sp-4);
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.mdm-footer__brand img { margin-bottom: var(--sp-2); }
.mdm-footer__brand p { max-width: 30em; }
.mdm-footer__contact { list-style: none; margin: var(--sp-3) 0 0; padding: 0; display: grid; gap: 0.4rem; }
.mdm-footer__contact a { font-weight: 500; }

.mdm-footer__cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--sp-3);
}
.mdm-footer__col h3 {
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
	margin-bottom: 1rem;
}
.mdm-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }

.mdm-footer__ventures {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-3);
	padding-block: var(--sp-3);
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.mdm-footer__ventures-label { color: #7E93A2; }

.mdm-footer__legal {
	padding-top: var(--sp-3);
	display: grid;
	gap: var(--sp-2);
}
.mdm-footer__legal ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
}
.mdm-footer__copy { color: #7E93A2; font-size: var(--fs-200); max-width: 70em; line-height: 1.8; }

@media (max-width: 1023px) {
	.mdm-footer__top { grid-template-columns: 1fr; gap: var(--sp-4); }
	.mdm-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   13. VENTURE BANNERS (Sparkid / Meteor FLY)
   ============================================================ */
.mdm-venture {
	border-radius: var(--radius-lg);
	padding: var(--sp-5);
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
	gap: var(--sp-4);
	align-items: center;
	overflow: hidden;
	position: relative;
}
.mdm-venture--sparkid {
	background: linear-gradient(140deg, #FDF7EA, #FCEFD2);
	border: 1px solid #F3DFB2;
	color: #7A5A0E;
}
.mdm-venture--sparkid h2 { color: #5C430A; }
.mdm-venture--sparkid .mdm-eyebrow { color: #A87908; }
.mdm-venture--meteor {
	background: linear-gradient(140deg, var(--navy-950), var(--navy-700));
	border: 1px solid var(--navy-700);
	color: #A9C3D6;
}
.mdm-venture--meteor h2 { color: #fff; }
.mdm-venture--meteor .mdm-eyebrow { color: var(--gold); }
.mdm-venture__text { max-width: 40em; }
.mdm-venture--meteor .mdm-venture__text { color: #B9C9D5; }
.mdm-venture__actions { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; margin: 0; }
.mdm-venture__note { font-size: var(--fs-200); opacity: 0.75; }
.mdm-venture__visual { color: currentColor; opacity: 0.9; }
.mdm-venture__visual svg { width: 100%; max-width: 220px; display: block; margin-inline: auto; }
.mdm-venture--meteor .mdm-btn--venture { background: var(--gold); color: var(--navy-950); }
.mdm-venture--meteor .mdm-btn--venture:hover { background: #F8BC3F; }
@media (max-width: 767px) {
	.mdm-venture { grid-template-columns: 1fr; padding: var(--sp-4); }
	.mdm-venture__visual { display: none; }
}
.mdm-ventures-stack { display: grid; gap: var(--sp-4); }

/* ============================================================
   14. PAGE HERO (עמודים פנימיים)
   ============================================================ */
.mdm-page-hero {
	padding-block: var(--sp-5);
	background: linear-gradient(180deg, #fff, var(--bg));
	border-bottom: 1px solid var(--line);
}
.mdm-page-hero--navy {
	background:
		radial-gradient(700px 300px at 90% -20%, rgba(241, 171, 24, 0.12) 0%, transparent 60%),
		linear-gradient(160deg, var(--navy-950), var(--navy) 85%);
	border-bottom: none;
	color: #C6D4DE;
}
.mdm-page-hero--navy .mdm-page-hero__title { color: #fff; }
.mdm-page-hero--navy .mdm-eyebrow { color: var(--gold); }
.mdm-page-hero--navy .mdm-breadcrumbs, .mdm-page-hero--navy .mdm-breadcrumbs a { color: #8FA7B8; }
.mdm-page-hero__title { max-width: 21em; }
.mdm-page-hero__lead { font-size: var(--fs-500); color: var(--muted); max-width: 38em; }
.mdm-page-hero--navy .mdm-page-hero__lead { color: #B9C9D5; }
.mdm-page-hero__cta { margin-top: var(--sp-3); }

.mdm-breadcrumbs {
	font-size: var(--fs-200);
	color: var(--faint);
	margin-bottom: var(--sp-3);
}
.mdm-breadcrumbs a { color: var(--muted); text-decoration: none; }
.mdm-breadcrumbs a:hover { color: var(--gold-deep); }
.mdm-breadcrumbs .separator { margin-inline: 0.35rem; }

/* ============================================================
   15. NEXT LINKS / RELATED
   ============================================================ */
.mdm-next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
@media (max-width: 767px) { .mdm-next-grid { grid-template-columns: 1fr; } }
.mdm-next h2 { font-size: var(--fs-600); }
.mdm-next__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.mdm-next__list a {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 0.9rem 1.1rem;
	text-decoration: none;
	font-family: var(--font-head);
	font-weight: 600;
	color: var(--navy);
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s var(--ease);
}
.mdm-next__list a:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.mdm-next__list .mdm-icon { color: var(--gold-deep); }

.mdm-related { display: grid; gap: var(--sp-2); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.mdm-related__card {
	display: grid;
	gap: 0.3rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: var(--sp-3);
	text-decoration: none;
	transition: border-color 0.15s, box-shadow 0.15s;
	position: relative;
}
.mdm-related__card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.mdm-related__type { font-size: var(--fs-200); color: var(--gold-deep); font-weight: 600; font-family: var(--font-head); }
.mdm-related__title { font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.mdm-related__arrow { color: var(--faint); font-size: var(--fs-300); }

/* ============================================================
   16. FORMS
   ============================================================ */
.mdm-form { display: grid; gap: var(--sp-3); }
.mdm-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
@media (max-width: 599px) { .mdm-form__row { grid-template-columns: 1fr; } }
.mdm-form__field { display: grid; gap: 0.35rem; }
.mdm-form__field label { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-300); color: var(--navy); }
.mdm-form__field label span { color: var(--error); }
.mdm-form input[type="text"],
.mdm-form input[type="tel"],
.mdm-form input[type="email"],
.mdm-form select,
.mdm-form textarea {
	width: 100%;
	font-family: var(--font-body);
	font-size: var(--fs-400);
	color: var(--ink);
	background: var(--surface);
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius-sm);
	padding: 0.7rem 0.9rem;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.mdm-form input:focus, .mdm-form select:focus, .mdm-form textarea:focus {
	outline: none;
	border-color: var(--navy-500);
	box-shadow: 0 0 0 3px var(--navy-050);
}
.mdm-form input[aria-invalid="true"] { border-color: var(--error); }
.mdm-form__consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--fs-300); color: var(--muted); }
.mdm-form__consent input { margin-top: 0.3rem; width: 17px; height: 17px; accent-color: var(--navy); }
.mdm-form__hp { position: absolute !important; inset-inline-start: -9999px !important; height: 0; overflow: hidden; margin: 0; }
.mdm-form__submit { justify-self: start; min-width: 200px; }
.mdm-form__status { min-height: 1.4em; margin: 0; font-weight: 600; }
.mdm-form__status.is-success { color: var(--success); }
.mdm-form__status.is-error { color: var(--error); }
.mdm-form.is-sending .mdm-form__submit { opacity: 0.6; pointer-events: none; }

/* ============================================================
   17. CALCULATORS
   ============================================================ */
.mdm-tool { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--sp-4); align-items: start; }
@media (max-width: 900px) { .mdm-tool { grid-template-columns: 1fr; } }

.mdm-tool__panel {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: var(--sp-4);
	display: grid;
	gap: var(--sp-3);
}
.mdm-tool__field { display: grid; gap: 0.5rem; }
.mdm-tool__field > label {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: var(--sp-2);
	font-family: var(--font-head);
	font-weight: 600;
	font-size: var(--fs-300);
	color: var(--navy);
}
.mdm-tool__value {
	font-variant-numeric: tabular-nums;
	background: var(--navy-050);
	color: var(--navy);
	border-radius: 8px;
	padding: 0.15rem 0.6rem;
	font-weight: 700;
	white-space: nowrap;
}
.mdm-tool input[type="range"] {
	width: 100%;
	accent-color: var(--gold);
	height: 32px;
}
.mdm-tool input[type="number"] {
	width: 100%;
	font-size: var(--fs-400);
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius-sm);
	padding: 0.55rem 0.8rem;
	font-variant-numeric: tabular-nums;
}
.mdm-tool input[type="number"]:focus { outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 3px var(--navy-050); }

.mdm-tool__results {
	background: linear-gradient(160deg, var(--navy-950), var(--navy) 90%);
	color: #E7EEF3;
	border-radius: var(--radius);
	padding: var(--sp-4);
	position: sticky;
	top: 96px;
}
.mdm-tool__results h2 { color: #fff; font-size: var(--fs-600); margin-bottom: var(--sp-3); }
.mdm-tool__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--sp-3); margin-bottom: var(--sp-3); }
.mdm-tool__stat { display: grid; gap: 0.2rem; }
.mdm-tool__stat dt { font-size: var(--fs-200); color: #9FB3C0; }
.mdm-tool__stat dd {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 1.5rem;
	color: #fff;
	font-variant-numeric: tabular-nums;
}
.mdm-tool__stat dd.is-highlight { color: var(--gold); }
.mdm-tool__chart { width: 100%; height: auto; margin-bottom: var(--sp-2); }
.mdm-tool__chart text { font-family: var(--font-body); }
.mdm-tool-disclaimer {
	font-size: var(--fs-200);
	color: #8FA7B8;
	border-top: 1px solid rgba(255,255,255,0.12);
	padding-top: var(--sp-2);
	margin: var(--sp-2) 0 0;
}
.mdm-tool__followup { margin-top: var(--sp-3); display: grid; gap: var(--sp-2); }
.mdm-tool__followup p { margin: 0; color: #B9C9D5; font-size: var(--fs-300); }

/* כרטיסי כלים בעמוד /tools */
.mdm-tool-card .mdm-card__icon { background: var(--gold-soft); color: var(--gold-deep); }

/* ============================================================
   18. KNOWLEDGE / ARTICLES
   ============================================================ */
.mdm-article { padding-block: var(--sp-5); }
.mdm-article__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: var(--sp-5);
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--sp-3);
}
@media (max-width: 1023px) { .mdm-article__grid { grid-template-columns: 1fr; } }

.mdm-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	align-items: center;
	color: var(--faint);
	font-size: var(--fs-300);
	margin-bottom: var(--sp-4);
	padding-bottom: var(--sp-3);
	border-bottom: 1px solid var(--line);
}
.mdm-article__meta strong { color: var(--navy); font-weight: 600; }

.mdm-article__body { font-size: 1.05rem; }
.mdm-article__body h2 { margin-top: 1.8em; }
.mdm-article__body h3 { margin-top: 1.4em; }
.mdm-article__body a { color: var(--navy-700); font-weight: 500; }
.mdm-article__body blockquote {
	margin: 1.5em 0;
	padding: var(--sp-3);
	background: var(--navy-050);
	border-inline-start: 3px solid var(--gold);
	border-radius: var(--radius-sm);
}
.mdm-article__body table { border-collapse: collapse; width: 100%; margin: 1.5em 0; display: block; overflow-x: auto; }
.mdm-article__body th, .mdm-article__body td { border: 1px solid var(--line); padding: 0.6rem 0.9rem; text-align: start; }
.mdm-article__body th { background: var(--navy-050); font-family: var(--font-head); }

.mdm-keytake {
	background: var(--gold-soft);
	border: 1px solid #F3DFB2;
	border-radius: var(--radius);
	padding: var(--sp-3) var(--sp-4);
	margin-block: var(--sp-4);
}
.mdm-keytake h2 { font-size: var(--fs-500); color: #5C430A; margin-bottom: 0.4em; }
.mdm-keytake p { color: #6B4F0C; margin: 0; }

.mdm-toc {
	position: sticky;
	top: 96px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: var(--sp-3);
	font-size: var(--fs-300);
}
.mdm-toc h2 { font-size: var(--fs-400); margin-bottom: var(--sp-2); }
.mdm-toc ol { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 0.4rem; }
.mdm-toc a { text-decoration: none; color: var(--muted); }
.mdm-toc a:hover { color: var(--navy); }

.mdm-authorbox {
	display: flex;
	gap: var(--sp-3);
	align-items: center;
	background: var(--navy-050);
	border-radius: var(--radius);
	padding: var(--sp-3) var(--sp-4);
	margin-block: var(--sp-4);
}
.mdm-authorbox__avatar {
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--gold);
	display: grid;
	place-items: center;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 1.4rem;
}
.mdm-authorbox h3 { margin: 0 0 0.2em; }
.mdm-authorbox p { margin: 0; color: var(--muted); font-size: var(--fs-300); }

/* ============================================================
   19. SEARCH / 404 / ARCHIVE
   ============================================================ */
.mdm-searchform { display: flex; gap: var(--sp-2); max-width: 560px; }
.mdm-searchform input[type="search"] {
	flex: 1;
	font-size: var(--fs-400);
	border: 1.5px solid var(--line-strong);
	border-radius: 999px;
	padding: 0.7rem 1.3rem;
	background: var(--surface);
}
.mdm-searchform input[type="search"]:focus { outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 3px var(--navy-050); }

.mdm-results { display: grid; gap: var(--sp-2); margin-block: var(--sp-4); }
.mdm-result {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: var(--sp-3);
}
.mdm-result__type { font-size: var(--fs-200); color: var(--gold-deep); font-family: var(--font-head); font-weight: 600; }
.mdm-result h2 { font-size: var(--fs-500); margin: 0.2em 0; }
.mdm-result h2 a { text-decoration: none; }
.mdm-result p { color: var(--muted); font-size: var(--fs-300); margin: 0; }

.mdm-empty {
	text-align: center;
	padding-block: var(--sp-5);
}
.mdm-empty .mdm-arcs { width: 130px; opacity: 0.5; margin-inline: auto; }

.mdm-pagination { display: flex; gap: 0.4rem; justify-content: center; margin-top: var(--sp-4); flex-wrap: wrap; }
.mdm-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding-inline: 0.6rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	text-decoration: none;
	font-family: var(--font-head);
	font-weight: 600;
}
.mdm-pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ============================================================
   20. GLOSSARY
   ============================================================ */
.mdm-glossary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
@media (max-width: 767px) { .mdm-glossary-grid { grid-template-columns: 1fr; } }

/* ============================================================
   21. WHATSAPP FLOAT
   ============================================================ */
.mdm-whatsapp-float {
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
	transition: transform 0.2s var(--ease);
}
.mdm-whatsapp-float:hover { transform: scale(1.08); color: #fff; }
@media (max-width: 599px) {
	.mdm-whatsapp-float { width: 48px; height: 48px; bottom: 16px; left: 16px; }
}

/* ============================================================
   22. TRUST STRIP / ABOUT
   ============================================================ */
.mdm-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--sp-3);
}
@media (max-width: 900px) { .mdm-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .mdm-trust { grid-template-columns: 1fr; } }
.mdm-trust__item { display: flex; gap: var(--sp-2); align-items: flex-start; }
.mdm-trust__item .mdm-icon { flex: 0 0 auto; color: var(--gold-deep); margin-top: 0.2rem; }
.mdm-trust__item h3 { font-size: var(--fs-400); margin-bottom: 0.2em; }
.mdm-trust__item p { font-size: var(--fs-300); color: var(--muted); margin: 0; }

.mdm-about-figure {
	background: linear-gradient(160deg, var(--navy-950), var(--navy));
	border-radius: var(--radius-lg);
	padding: var(--sp-4);
	color: #E7EEF3;
	text-align: center;
}
.mdm-about-figure .mdm-arcs { width: 120px; margin-inline: auto; margin-bottom: var(--sp-2); }
.mdm-about-figure strong { display: block; font-family: var(--font-head); font-size: var(--fs-600); color: #fff; }
.mdm-about-figure span { color: #9FB3C0; font-size: var(--fs-300); }

/* ============================================================
   23. CONTACT
   ============================================================ */
.mdm-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: var(--sp-5);
	align-items: start;
}
@media (max-width: 900px) { .mdm-contact-grid { grid-template-columns: 1fr; } }
.mdm-contact-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: var(--sp-4);
}
.mdm-contact-direct { display: grid; gap: var(--sp-2); margin-top: var(--sp-4); }
.mdm-contact-direct a {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	font-family: var(--font-head);
	font-weight: 600;
	color: var(--navy);
	background: var(--navy-050);
	border-radius: var(--radius-sm);
	padding: 0.9rem 1.1rem;
	transition: background-color 0.15s;
}
.mdm-contact-direct a:hover { background: var(--gold-soft); }
.mdm-contact-direct .mdm-icon { color: var(--gold-deep); }

/* ============================================================
   24. UTILITIES
   ============================================================ */
.mdm-hidden { display: none !important; }
.mdm-center { text-align: center; }
.mdm-mt-0 { margin-top: 0 !important; }

/* מניעת גלילה אופקית גלובלית */
html, body { max-width: 100%; overflow-x: clip; }

/* ============================================================
   14. מחשבון ריבית דריבית — עמוד הדגל
   ============================================================ */
.mdm-ci { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--sp-4); align-items: start; }
@media (max-width: 900px) { .mdm-ci { grid-template-columns: 1fr; } }

.mdm-ci__panel {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: var(--sp-4); display: grid; gap: var(--sp-3); box-shadow: var(--shadow-sm);
}
.mdm-ci__field { display: grid; gap: 0.35rem; }
.mdm-ci__field > label { font-weight: 600; color: var(--ink); font-size: var(--fs-300); }
.mdm-ci__field input {
	width: 100%; min-height: 52px; padding: 0.7rem 1rem; font-size: 1.15rem; font-weight: 600;
	font-family: var(--font-body); color: var(--ink); text-align: left;
	border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: #fff;
}
.mdm-ci__field input:focus { outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 3px var(--navy-050); }
.mdm-ci__field input[aria-invalid="true"] { border-color: var(--error); }
.mdm-ci__hint { font-size: var(--fs-200); color: var(--muted); }
.mdm-ci__field-error { font-size: var(--fs-200); color: var(--error); min-height: 1em; }
.mdm-ci__error { color: var(--error); font-weight: 600; min-height: 1.4em; margin: 0; }
.mdm-ci__calc-btn { width: 100%; font-size: 1.1rem; min-height: 54px; }
.mdm-ci__noscript { background: var(--gold-soft); border-radius: var(--radius); padding: var(--sp-2); }

.mdm-ci__results {
	background: linear-gradient(160deg, var(--navy-900), var(--navy-950)); color: #E9F1F6;
	border-radius: var(--radius-lg); padding: var(--sp-4); box-shadow: var(--shadow-md);
}
.mdm-ci__results h2 { color: #fff; font-size: var(--fs-600); margin-bottom: var(--sp-3); }
.mdm-ci__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--sp-3); margin-bottom: var(--sp-3); }
.mdm-ci__stat { display: grid; gap: 0.2rem; align-content: start; }
.mdm-ci__stat--main { grid-column: 1 / -1; }
.mdm-ci__stat dt { font-size: var(--fs-200); color: #9FB3C0; }
.mdm-ci__stat dd { font-size: var(--fs-500); font-weight: 700; color: #fff; margin: 0; font-variant-numeric: tabular-nums; }
.mdm-ci__stat--main dd { font-size: clamp(1.9rem, 4.5vw, 2.6rem); }
.mdm-ci__stat dd.is-highlight { color: var(--gold); }
.mdm-ci__fee-note { font-size: var(--fs-200); color: #C8D6DF; background: rgba(241, 171, 24, 0.12); border-inline-start: 3px solid var(--gold); padding: 0.6rem 0.9rem; border-radius: var(--radius-sm); margin-bottom: var(--sp-3); }
.mdm-ci__chart { width: 100%; height: auto; margin-bottom: var(--sp-1); }
.mdm-ci__chart rect:focus { outline: 2px solid var(--gold); outline-offset: -2px; }
.mdm-ci__legend { font-size: var(--fs-200); color: #9FB3C0; margin-bottom: var(--sp-3); }
.mdm-ci__legend-item::before { content: "●"; margin-inline-end: 0.3em; }
.mdm-ci__legend-item--gold::before { color: var(--gold); }
.mdm-ci__legend-item--silver::before { color: var(--silver); }
.mdm-ci__legend-item--dash::before { color: #7FA8C9; }

.mdm-ci__yearly-wrap { margin-bottom: var(--sp-3); }
.mdm-ci__yearly-wrap > summary {
	cursor: pointer; font-weight: 600; color: var(--gold); padding: 0.5rem 0;
	list-style-position: inside;
}
.mdm-ci__yearly-wrap > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: var(--radius-sm); }
.mdm-ci__table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); }
.mdm-ci__table { width: 100%; border-collapse: collapse; font-size: var(--fs-200); min-width: 560px; }
.mdm-ci__table th, .mdm-ci__table td { padding: 0.5rem 0.7rem; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mdm-ci__table thead th { color: #9FB3C0; font-weight: 600; border-bottom: 1px solid #28506B; position: sticky; top: 0; background: var(--navy-950); }
.mdm-ci__table tbody tr { border-bottom: 1px solid rgba(40, 80, 107, 0.5); }
.mdm-ci__table tbody tr:last-child { border-bottom: none; }

.mdm-ci__actions { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-3); }
.mdm-ci__actions .mdm-btn--ghost { color: #C8D6DF; border-color: #3A6280; }
.mdm-ci__actions .mdm-btn--ghost:hover { color: #fff; border-color: #C8D6DF; }
.mdm-ci__share-status { font-size: var(--fs-200); color: var(--gold); }
.mdm-ci__followup { border-top: 1px solid #28506B; padding-top: var(--sp-3); display: grid; gap: var(--sp-2); justify-items: start; }
.mdm-ci__followup p { color: #C8D6DF; margin: 0; }
.mdm-ci__followup strong { color: #fff; }

/* גוף התוכן של עמוד המחשבון */
.mdm-ci-article { max-width: 780px; padding-block: var(--sp-5); }
.mdm-ci-block { margin-bottom: var(--sp-5); }
.mdm-ci-block h2 { font-size: var(--fs-600); margin-bottom: var(--sp-2); color: var(--navy); }
.mdm-ci-block p, .mdm-ci-block li { line-height: 1.75; }
.mdm-ci-block ul, .mdm-ci-block ol { padding-inline-start: 1.4rem; display: grid; gap: 0.5rem; margin-block: var(--sp-2); }
.mdm-ci-answer { font-size: 1.06em; }
.mdm-ci-block--method { background: var(--navy-050); border-radius: var(--radius-lg); padding: var(--sp-4); }
.mdm-ci-block--method sup { font-size: 0.7em; }

.mdm-ci-extable { margin: var(--sp-3) 0; overflow-x: auto; }
.mdm-ci-extable table { width: 100%; border-collapse: collapse; font-size: var(--fs-300); }
.mdm-ci-extable caption { caption-side: top; text-align: right; font-size: var(--fs-200); color: var(--muted); padding-bottom: 0.5rem; }
.mdm-ci-extable th, .mdm-ci-extable td { padding: 0.6rem 0.8rem; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.mdm-ci-extable thead th { color: var(--muted); font-weight: 600; font-size: var(--fs-200); }

.mdm-ci-examples { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-3); margin-top: var(--sp-3); }
.mdm-ci-example { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-3); display: grid; gap: 0.5rem; align-content: start; }
.mdm-ci-example h3 { font-size: var(--fs-400); color: var(--navy); }
.mdm-ci-example__sub { color: var(--muted); font-size: var(--fs-200); }
.mdm-ci-example ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.25rem; font-size: var(--fs-200); color: var(--muted); }
.mdm-ci-example__result { font-size: var(--fs-300); }
.mdm-ci-example__result strong { color: var(--navy); font-size: 1.2em; }
.mdm-ci-example__detail { font-size: var(--fs-200); color: var(--muted); }

.mdm-ci-related { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.mdm-ci-related a { font-weight: 600; }

@media (max-width: 430px) {
	.mdm-ci__panel { padding: var(--sp-3); }
	.mdm-ci__results { padding: var(--sp-3); }
	.mdm-ci__stats { grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
	.mdm-ci-block--method { padding: var(--sp-3); }
}




/* ============================================================
   25. HOMEPAGE — PRIVATE WEALTH BOUTIQUE (v6) · 2026-09-01
   Luxury through restraint: טיפוגרפיה, whitespace, קשתות.
   scoped ל-body.home / לרכיבים שקיימים רק בדף הבית.
   ============================================================ */
:root {
	/* החלפה עתידית ל-Oscar v2 = שינוי השורה הזו בלבד */
	--font-display: "Rubik", "Segoe UI", Arial, sans-serif;
}

/* ---------- קנבס: Ivory שקט ---------- */
body.home {
	--line: #E9E3D5;
	--line-strong: #D9D2BF;
	--navy-050: #F2EFE6;
	background: #FAF8F1;
}
body.home .mdm-header {
	background: rgba(253, 252, 248, 0.96);
	border-bottom-color: #ECE6D8;
}
body.home .mdm-nav__list a:hover { background: var(--navy-050); }
body.home .mdm-mobile-nav { background: #FDFCF8; }
body.home .mdm-btn { border-radius: 8px; }

/* טיפוגרפיה מובילה: display שקט וגדול */
body.home h2 {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.01em;
}
body.home .mdm-section-head {
	max-width: 720px;
	margin-bottom: clamp(2rem, 4vw, 2.8rem);
}
body.home .mdm-section-head h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.7rem); }
body.home .mdm-section { padding-block: clamp(3.3rem, 6.5vw, 5.3rem); }

/* ---------- איפה אתם נמצאים היום? — אינדקס ---------- */
.mdm-where__list { border-top: 1px solid var(--line-strong); max-width: 860px; }
a.mdm-where__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	padding-block: 1.3rem;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
}
.mdm-where__text { display: grid; gap: 0.2rem; }
.mdm-where__title {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(1.15rem, 1rem + 0.9vw, 1.45rem);
	line-height: 1.4;
	color: var(--navy);
	transition: color 0.18s var(--ease);
}
.mdm-where__sub {
	font-family: var(--font-body);
	font-weight: 300;
	font-size: var(--fs-400);
	line-height: 1.7;
	color: var(--muted);
	max-width: 44em;
}
.mdm-where__arrow {
	color: var(--faint);
	font-size: 1.1rem;
	transition: transform 0.18s var(--ease), color 0.18s var(--ease);
}
a.mdm-where__row:hover .mdm-where__title { color: var(--gold-deep); }
a.mdm-where__row:hover .mdm-where__arrow { transform: translateX(-6px); color: var(--gold-deep); }

/* ---------- Statement — רגע אדיטוריאלי ---------- */
.mdm-statement {
	position: relative;
	overflow: hidden;
	background: linear-gradient(170deg, var(--navy-900), var(--navy-950) 80%);
	color: #E7EEF3;
	padding-block: clamp(4.5rem, 9.5vw, 7.6rem);
}
.mdm-statement__arc {
	position: absolute;
	inset-inline-start: min(-6%, -60px);
	top: 50%;
	transform: translateY(-50%);
	width: min(34vw, 430px);
	height: auto;
	pointer-events: none;
}
.mdm-statement::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 62% 75% at 50% 45%, rgba(43, 110, 158, 0.22), transparent 70%);
	pointer-events: none;
}
.mdm-statement__rule {
	display: block;
	width: 64px;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--gold), var(--gold-deep));
	margin: 1.4rem auto 1.6rem;
}
.mdm-statement__inner {
	position: relative;
	max-width: 860px;
	margin-inline: auto;
	text-align: center;
}
.mdm-statement__inner .mdm-eyebrow { justify-content: center; color: var(--gold); }
.mdm-statement__title {
	font-family: var(--font-display);
	font-size: clamp(1.9rem, 1.4rem + 2.7vw, 3.3rem);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.015em;
	color: #fff;
	margin-bottom: var(--sp-4);
	max-width: 20em;
	margin-inline: auto;
	text-wrap: balance;
}
.mdm-statement__title em { font-style: normal; color: var(--gold); }
.mdm-statement__lines--second { margin-top: 1.1rem; }
.mdm-statement__lines {
	color: #B9C9D5;
	font-weight: 300;
	font-size: clamp(1rem, 0.92rem + 0.5vw, 1.2rem);
	line-height: 2;
	margin: 0;
}
.mdm-statement__close {
	color: #E7EEF3;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
	line-height: 1.8;
	margin: var(--sp-4) 0 0;
}
.mdm-statement__close strong { font-weight: 600; color: #fff; }
.mdm-nowrap { white-space: nowrap; }

/* ---------- תחומי הפעילות — שורה שקטה ---------- */
.mdm-domains { border-bottom: 1px solid var(--line); background: #FDFCF8; }
.mdm-domains__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--sp-2) var(--sp-4);
	padding-block: 1.4rem;
}
.mdm-domains__label {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: var(--fs-200);
	letter-spacing: 0.06em;
	color: var(--gold-deep);
}
.mdm-domains__nav { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); }
.mdm-domains__nav a {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: var(--fs-400);
	color: var(--navy);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	padding-bottom: 2px;
	transition: color 0.15s, border-color 0.15s;
}
.mdm-domains__nav a:hover { color: var(--gold-deep); border-bottom-color: var(--gold); }

/* ---------- תהליך — מינימלי ---------- */
.mdm-process {
	list-style: none;
	margin: 0;
	padding: var(--sp-4) 0 0;
	border-top: 1px solid var(--line-strong);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sp-5);
}
.mdm-process__num {
	display: block;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.95rem;
	color: var(--gold-deep);
	letter-spacing: 0.08em;
	margin-bottom: 0.7rem;
	font-variant-numeric: tabular-nums;
}
.mdm-process h3 {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.3rem;
	color: var(--navy);
	margin-bottom: 0.35rem;
}
.mdm-process p { margin: 0; color: var(--muted); font-size: var(--fs-300); max-width: 22em; }
@media (max-width: 767px) { .mdm-process { grid-template-columns: 1fr; gap: var(--sp-4); } }

/* ---------- מה הזמן עושה לכסף? ---------- */
.mdm-time { border-block: 1px solid var(--line); background: #FDFCF8; }
.mdm-time__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: var(--sp-6);
	align-items: center;
}
@media (max-width: 860px) { .mdm-time__grid { grid-template-columns: 1fr; gap: var(--sp-4); } }
.mdm-time__text h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.7rem); margin-bottom: var(--sp-3); }
.mdm-time__line { color: var(--muted); font-size: var(--fs-500); font-weight: 300; max-width: 24em; margin: 0; }
.mdm-time__result { display: grid; gap: var(--sp-2); justify-items: start; }
.mdm-time__tag {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: var(--fs-200);
	letter-spacing: 0.08em;
	color: var(--gold-deep);
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	padding: 0.25rem 0.85rem;
}
.mdm-time__num {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(3.2rem, 2rem + 6vw, 6rem);
	line-height: 1;
	color: var(--gold-deep);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
}
.mdm-time__note { font-size: var(--fs-200); color: var(--faint); max-width: 34em; }
.mdm-link-arrow--lg { font-size: var(--fs-500); margin-top: var(--sp-2); border-bottom: 2px solid var(--gold); padding-bottom: 3px; }
.mdm-link-arrow--lg:hover { color: var(--gold-deep); }

/* ---------- מרכז הידע — רשימה אדיטוריאלית ---------- */
.mdm-topics { display: flex; flex-wrap: wrap; gap: 0.3rem 1.8rem; margin-bottom: var(--sp-4); }
a.mdm-topics__pill {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: var(--fs-300);
	color: var(--navy);
	text-decoration: none;
	padding-block: 0.25rem;
	border-bottom: 2px solid transparent;
	transition: color 0.15s, border-color 0.15s;
}
a.mdm-topics__pill:hover { color: var(--gold-deep); border-bottom-color: var(--gold); }

body.home .mdm-insights .mdm-cards { display: block; max-width: 860px; }
body.home .mdm-insights .mdm-card--guide {
	background: transparent;
	border: none;
	border-top: 1px solid var(--line);
	border-radius: 0;
	padding: 1.5rem 0;
	box-shadow: none;
}
body.home .mdm-insights .mdm-card--guide:first-child { border-top: 1px solid var(--line-strong); }
body.home .mdm-insights .mdm-card--guide:hover { transform: none; box-shadow: none; }
body.home .mdm-insights .mdm-card__meta { margin-bottom: 0.4rem; justify-content: flex-start; gap: var(--sp-3); }
body.home .mdm-insights .mdm-card__tag { background: transparent; padding: 0; color: var(--gold-deep); }
body.home .mdm-insights .mdm-card__title {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(1.15rem, 1rem + 0.8vw, 1.45rem);
	line-height: 1.45;
	margin-bottom: 0;
	transition: color 0.15s var(--ease);
}
body.home .mdm-insights .mdm-card--guide:hover .mdm-card__title { color: var(--gold-deep); }
body.home .mdm-insights .mdm-card__excerpt { display: none; }
body.home .mdm-insights .mdm-card__more { margin-top: 0.5rem; font-weight: 500; }

/* פריט ראשון — Featured */
body.home .mdm-insights .mdm-card--guide:first-child { padding-block: 2.1rem; }
body.home .mdm-insights .mdm-card--guide:first-child .mdm-card__title {
	font-size: clamp(1.45rem, 1.15rem + 1.5vw, 1.95rem);
	font-weight: 600;
	max-width: 24em;
}
body.home .mdm-insights .mdm-card--guide:first-child .mdm-card__excerpt {
	display: block;
	color: var(--muted);
	font-size: var(--fs-400);
	margin-top: 0.6rem;
	max-width: 42em;
}

/* ---------- עוד דברים שאנחנו בונים ---------- */
.mdm-builds__list { border-top: 1px solid var(--line-strong); max-width: 860px; }
a.mdm-builds__row {
	display: grid;
	grid-template-columns: 9em minmax(0, 1fr) auto;
	align-items: baseline;
	gap: var(--sp-3);
	padding-block: 1.4rem;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
	color: var(--ink);
}
.mdm-builds__name {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.25rem;
	color: var(--navy);
	transition: color 0.15s var(--ease);
}
.mdm-builds__desc { color: var(--muted); font-size: var(--fs-400); }
.mdm-builds__cta {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: var(--fs-300);
	color: var(--gold-deep);
	white-space: nowrap;
}
a.mdm-builds__row:hover .mdm-builds__name { color: var(--gold-deep); }
@media (max-width: 599px) {
	a.mdm-builds__row { grid-template-columns: 1fr auto; }
	.mdm-builds__desc { grid-column: 1 / -1; }
}

/* ---------- עומרי — נוכחות ---------- */
.mdm-founder__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
	gap: var(--sp-6);
	align-items: center;
}
@media (max-width: 860px) { .mdm-founder__inner { grid-template-columns: 1fr; gap: var(--sp-4); } }
.mdm-founder__portrait { margin: 0; display: grid; gap: var(--sp-2); max-width: 330px; }
@media (max-width: 860px) { .mdm-founder__portrait { max-width: 270px; } }
.mdm-founder__frame {
	aspect-ratio: 4 / 5;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: var(--shadow);
	background: var(--navy-050);
}
.mdm-founder__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mdm-founder__portrait figcaption { display: grid; gap: 0.05rem; }
.mdm-founder__portrait figcaption strong { font-family: var(--font-head); font-size: var(--fs-500); color: var(--navy); }
.mdm-founder__portrait figcaption span { color: var(--muted); font-size: var(--fs-300); }
.mdm-founder__quote {
	margin: 0 0 var(--sp-3);
	font-family: var(--font-display);
	font-style: normal;
	font-weight: 600;
	font-size: clamp(1.7rem, 1.3rem + 2.1vw, 2.7rem);
	line-height: 1.45;
	color: var(--navy);
	letter-spacing: -0.015em;
	max-width: 18em;
	text-wrap: balance;
}
.mdm-founder__line { color: var(--faint); font-size: var(--fs-400); font-weight: 300; margin-bottom: var(--sp-3); }

/* ---------- ערכים — טקסט בלבד ---------- */
.mdm-truststrip {
	border-block: 1px solid var(--line);
	background: #FDFCF8;
	padding-block: var(--sp-4);
}
.mdm-truststrip__inner {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sp-4);
}
@media (max-width: 767px) { .mdm-truststrip__inner { grid-template-columns: 1fr; gap: var(--sp-3); } }
.mdm-truststrip__inner p { margin: 0; display: grid; line-height: 1.55; }
.mdm-truststrip__inner strong { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: var(--fs-400); }
.mdm-truststrip__inner span { color: var(--muted); font-size: var(--fs-300); }

/* ---------- Madmon 2027: השירות המרכזי ---------- */
.mdm-service__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: var(--sp-6);
	align-items: start;
}
.mdm-service__intro h2 {
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--navy);
	font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem);
	margin: 0.4rem 0 0.9rem;
}
.mdm-service__intro > p { color: var(--muted); max-width: 30em; }
.mdm-service__steps {
	list-style: none;
	margin: 0;
	padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.4rem, 2.6vw, 2.2rem);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: 0 18px 44px rgba(7, 52, 79, 0.07);
}
.mdm-service__steps li {
	position: relative;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: var(--sp-3);
	padding-block: 1.05rem;
	align-items: start;
}
.mdm-service__steps li:not(:last-child)::before {
	content: "";
	position: absolute;
	inset-inline-start: 21px;
	top: 54px;
	bottom: -10px;
	width: 2px;
	background: linear-gradient(180deg, var(--gold-soft), var(--line));
}
.mdm-service__steps .mdm-process__num {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--gold-soft);
	border: 1px solid rgba(239, 171, 23, 0.45);
	color: var(--gold-deep);
	margin: 0;
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	position: relative;
	z-index: 1;
}
.mdm-service__steps h3 {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.22rem;
	color: var(--navy);
	margin: 0.35rem 0 0.3rem;
}
.mdm-service__steps p { margin: 0; color: var(--muted); font-size: var(--fs-300); max-width: 30em; }
@media (max-width: 900px) {
	.mdm-service__grid { grid-template-columns: 1fr; gap: var(--sp-4); }
}

/* ---------- Madmon 2027: מקרי לקוח (מוצג רק כשיש תוכן אמיתי) ---------- */
.mdm-cases__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--sp-3); }
.mdm-case {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: var(--sp-4);
}
.mdm-case__title {
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--navy);
	font-size: 1.15rem;
	margin: 0 0 0.6rem;
}
.mdm-case p { color: var(--muted); font-size: var(--fs-300); margin: 0 0 0.5rem; }
.mdm-case p strong { color: var(--navy); font-weight: 600; }

/* ---------- Madmon 2027: Meteor FLY משני ---------- */
.mdm-builds__minor { margin: var(--sp-3) 0 0; color: var(--faint); font-size: var(--fs-300); }
.mdm-builds__minor a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.mdm-builds__minor a:hover { color: var(--gold-deep); border-bottom-color: var(--gold); }

/* ---------- 2027 review r1: קשתות משני צידי ה-Statement ---------- */
.mdm-statement__arc--end {
	inset-inline-start: auto;
	inset-inline-end: min(-6%, -60px);
}
@media (max-width: 767px) { .mdm-statement__arc--end { display: none; } }

/* ---------- 2027 review r1: תמונה בסקשן השירות המרכזי ---------- */
.mdm-service__figure {
	position: relative;
	margin: 0 0 var(--sp-4);
}
.mdm-service__figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 20px 48px rgba(7, 52, 79, 0.14);
	position: relative;
	z-index: 1;
}
.mdm-service__figure::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px solid var(--gold);
	border-radius: 16px;
	opacity: 0.4;
	transform: translate(-12px, 12px);
	pointer-events: none;
}
.mdm-service__cta { margin-top: var(--sp-3); }

/* ---------- 2027 review r1: באנר Sparkid בשפת המותג של Sparkid ---------- */
.mdm-sparkid-banner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--sp-3);
	padding: clamp(1.6rem, 3.5vw, 2.6rem) clamp(1.4rem, 4vw, 3rem);
	border-radius: 18px;
	background: linear-gradient(120deg, #230E5B 0%, #1863DC 100%);
	color: #FFFFFF;
	text-decoration: none;
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mdm-sparkid-banner:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(24, 99, 220, 0.28); }
.mdm-sparkid-banner__spark {
	position: absolute;
	inset-inline-end: 18%;
	top: -22px;
	width: 84px;
	height: 84px;
	opacity: 0.35;
	pointer-events: none;
}
.mdm-sparkid-banner__text { display: grid; gap: 0.55rem; justify-items: start; }
.mdm-sparkid-banner__logo { display: block; width: 182px; height: auto; filter: brightness(0) invert(1); }
.mdm-sparkid-banner__line { color: #DCD3FE; font-size: var(--fs-400); max-width: 34em; }
.mdm-sparkid-banner__cta {
	display: inline-block;
	background: #FFFFFF;
	color: #230E5B;
	font-weight: 600;
	font-size: var(--fs-300);
	padding: 0.7rem 1.3rem;
	border-radius: 999px;
	white-space: nowrap;
}
@media (max-width: 700px) {
	.mdm-sparkid-banner { grid-template-columns: 1fr; justify-items: start; }
	.mdm-sparkid-banner__spark { inset-inline-end: 6%; }
}

/* ---------- 2027 review r6: סקשן התהליך — חי, בשפת הכחול של ה-prefooter ---------- */
.mdm-processwrap {
	background: linear-gradient(160deg, var(--navy-950), var(--navy) 85%);
	position: relative;
	overflow: hidden;
}
.mdm-processwrap::after {
	content: "";
	position: absolute;
	inset-inline-start: -90px;
	bottom: -140px;
	width: 360px;
	height: 360px;
	border: 40px solid rgba(179, 179, 179, 0.09);
	border-radius: 50%;
	pointer-events: none;
}
.mdm-processwrap::before {
	content: "";
	position: absolute;
	inset-inline-end: -70px;
	top: -110px;
	width: 280px;
	height: 280px;
	border: 28px solid rgba(239, 171, 23, 0.10);
	border-radius: 50%;
	pointer-events: none;
}
.mdm-processwrap .mdm-section-head h2 { color: #FFFFFF; }
.mdm-processwrap .mdm-process { border-top-color: rgba(255, 255, 255, 0.18); position: relative; z-index: 1; }
.mdm-processwrap .mdm-process h3 { color: #FFFFFF; }
.mdm-processwrap .mdm-process p { color: #B9C8D4; }
.mdm-processwrap .mdm-process__num { color: var(--gold); }

/* ---------- 2027 review r9: טיפוגרפיה בדף הבית (לפי הנחיות עומרי, 2026-09-04) ---------- */
body.home { --fs-200: 0.875rem; }                       /* מינימום 14px בעמוד */
body.home .mdm-hero__lead {
	font-size: 20px;
	line-height: 1.5;
	letter-spacing: 0.5px;
}
body.home .mdm-where__sub { font-size: 16px; }
body.home .mdm-statement__lines {
	font-size: 16px;
	line-height: 1.8;
	text-align: start;
	max-width: 42em;
	margin-inline: auto;
}
body.home .mdm-service__intro > p {
	font-size: 18px;
	line-height: 1.5;
	letter-spacing: 0.5px;
}
body.home .mdm-process p { font-size: 16px; }
body.home .mdm-insights .mdm-section-head__lead { font-size: 18px; }
body.home .mdm-ext { font-size: 14px; }

/* ── Stage 1 (2026-09-04): רגולציה ── */
.mdm-footer__license{font-size:var(--fs-200);color:var(--faint);line-height:1.6;margin-top:var(--sp-2)}
.mdm-footer__license a{color:inherit;text-decoration:underline}
.mdm-form__notice{font-size:var(--fs-200);color:var(--muted);line-height:1.55;margin:var(--sp-2) 0 var(--sp-1)}
.mdm-article__disclaimer{font-size:var(--fs-200);color:var(--faint);border-top:1px solid var(--line);padding-top:var(--sp-2);margin-top:var(--sp-4)}
.mdm-sources{margin-top:var(--sp-4)}
.mdm-sources h2{font-size:var(--fs-400);margin-bottom:var(--sp-1)}
.mdm-sources ul{margin:0;padding-inline-start:1.2em;font-size:var(--fs-300)}

/* ---------- 2027 adaptation (2026-09-06): Authority — 3 עובדות שקטות מתחת ל-Hero ---------- */
.mdm-authority {
	border-block: 1px solid var(--line);
	background: #FDFCF8;
	padding-block: var(--sp-4);
}
.mdm-authority__inner {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sp-4);
}
.mdm-authority__inner p { margin: 0; display: grid; gap: 0.2rem; line-height: 1.5; }
.mdm-authority__inner strong { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: var(--fs-500); }
.mdm-authority__inner span { color: var(--muted); font-size: var(--fs-300); }
.mdm-authority__inner a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.mdm-authority__inner a:hover { color: var(--gold-deep); border-bottom-color: var(--gold); }
@media (max-width: 767px) { .mdm-authority__inner { grid-template-columns: 1fr; gap: var(--sp-3); } }

/* ---------- 2027 adaptation: prefooter — "מה קורה אחרי שפונים" (דף הבית בלבד) ---------- */
.mdm-prefooter__list { list-style: none; margin: var(--sp-3) 0 0; padding: 0; display: grid; gap: 0.45rem; }
.mdm-prefooter__list li { display: flex; gap: 0.6rem; align-items: flex-start; color: #DCE6EE; font-size: var(--fs-300); }
.mdm-prefooter__list .mdm-icon { flex: 0 0 auto; color: var(--gold); margin-top: 0.15rem; }

/* ---------- 2027 adaptation: Sparkid ללא H2 ---------- */
.mdm-builds__eyebrow { margin-bottom: var(--sp-3); }

/* =====================================================================
   DESIGN STEP (2026-09-06) — "להרגיש כמו אצל יסמין": קצב, היררכיה, בלוקים כהים, תפרים.
   אותה פלטה (Navy/Ivory/Gold), אותם פונטים, Hero ללא שינוי. scoped ל-body.home.
   ===================================================================== */
body.home { --seam: clamp(18px, 3.2vw, 46px); }

/* 1) כותרת סקשן — גודל אחד גדול, צפוף (כמו 57px/lh1.0 אצל יסמין, בגרסת Rubik) */
body.home .mdm-section-head h2,
body.home .mdm-service__intro h2,
body.home .mdm-prefooter h2 {
	font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem);
	line-height: 1.1;
	letter-spacing: -0.012em;
	font-weight: 600;
}
body.home .mdm-section-head { max-width: 820px; }

/* 2) ריווח אנכי — שלוש מדרגות: נשימה / רגיל / הוכחה-שיטה */
body.home .mdm-section { padding-block: clamp(4.2rem, 7.5vw, 6.8rem); }
body.home .mdm-authority { padding-block: clamp(1.6rem, 2.6vw, 2.2rem); }
body.home .mdm-authority__inner strong { font-size: 1.28rem; line-height: 1.25; }

/* 3) גוף — גדול יותר, כמו 20px אצלה */
body.home .mdm-where__sub { font-size: 17px; line-height: 1.6; }
body.home .mdm-service__intro > p { font-size: 19px; line-height: 1.55; max-width: 32em; }
body.home .mdm-insights .mdm-card__title { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.55rem); line-height: 1.35; }
body.home .mdm-insights .mdm-card--guide { padding: 1.9rem 0; }
body.home .mdm-insights .mdm-card__excerpt { font-size: 17px; }

/* 4) "מתי מגיעים אלינו" — משורות-טבלה לכרטיסים מותווים (3×2), פריט אחד ממוקד בכל שורה */
body.home .mdm-where__list {
	border-top: none;
	max-width: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sp-3);
}
body.home a.mdm-where__row {
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.6rem;
	padding: 1.7rem 1.6rem 1.4rem;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--surface);
	transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
body.home a.mdm-where__row:hover {
	border-color: var(--gold);
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(7, 52, 79, 0.08);
}
body.home .mdm-where__title { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.4rem); line-height: 1.3; }
body.home .mdm-where__arrow { margin-top: auto; padding-top: 0.6rem; color: var(--gold-deep); }
@media (max-width: 1023px) { body.home .mdm-where__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { body.home .mdm-where__list { grid-template-columns: 1fr; } }

/* 5) שירות הדגל — הבלוק הכהה של "השיטה" (כמו אצלה: שיטה על כחול), עם תפרים אלכסוניים */
body.home .mdm-service {
	position: relative;
	overflow: hidden;
	background: linear-gradient(160deg, var(--navy-950), var(--navy) 80%);
	color: #E7EEF3;
	padding-block: calc(clamp(4.2rem, 7.5vw, 6.8rem) + var(--seam));
	clip-path: polygon(0 var(--seam), 100% 0, 100% calc(100% - var(--seam)), 0 100%);
}
body.home .mdm-service::before {
	content: "";
	position: absolute;
	inset-inline-end: -110px;
	top: -140px;
	width: 380px;
	height: 380px;
	border: 40px solid rgba(179, 179, 179, 0.08);
	border-radius: 50%;
	pointer-events: none;
}
body.home .mdm-service::after {
	content: "";
	position: absolute;
	inset-inline-start: -90px;
	bottom: -160px;
	width: 300px;
	height: 300px;
	border: 30px solid rgba(239, 171, 23, 0.10);
	border-radius: 50%;
	pointer-events: none;
}
body.home .mdm-service .mdm-eyebrow { color: var(--gold); }
body.home .mdm-service__intro h2 { color: #FFFFFF; }
body.home .mdm-service__intro > p { color: #C7D3DD; }
body.home .mdm-service__figure img { box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35); }
body.home .mdm-service__figure::after { opacity: 0.55; }
body.home .mdm-service__grid { position: relative; z-index: 1; }
body.home .mdm-service__steps { box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28); border-color: transparent; }

/* 6) CTA — תפר אלכסוני עליון, יותר אוויר, כותרת גדולה */
body.home .mdm-prefooter {
	clip-path: polygon(0 0, 100% var(--seam), 100% 100%, 0 100%);
	padding-block: calc(var(--sp-6) + var(--seam)) var(--sp-6);
}
body.home .mdm-prefooter p { font-size: 18px; }

/* 7) עומרי — הציטוט הוא הפריט הממוקד; יותר אוויר לפורטרט */
body.home .mdm-founder__quote { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); line-height: 1.3; }
body.home .mdm-founder__line { font-size: 17px; line-height: 1.6; max-width: 34em; }

/* 8) מובייל — התפרים דקים יותר, כרטיסים בטור */
@media (max-width: 767px) {
	body.home .mdm-section { padding-block: clamp(3rem, 9vw, 4rem); }
	body.home .mdm-service { padding-block: calc(clamp(3rem, 9vw, 4rem) + var(--seam)); }
}

/* =====================================================================
   DESIGN STEP 2 (2026-09-06): hero depth, reveal-on-scroll, visible numerals, pills, consistency.
   ===================================================================== */

/* Reveal on scroll */
body.home [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
body.home [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { body.home [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* Hero depth: tilted soft-navy panel behind the photo, mixed heading weights, bigger buttons */
body.home .mdm-hero { padding-block: clamp(4.4rem, 8.5vw, 7.4rem); }
body.home .mdm-hero::before {
	content: "";
	position: absolute;
	inset-inline-end: -10%;
	top: -14%;
	width: 48%;
	height: 128%;
	background: linear-gradient(160deg, var(--navy-050) 0%, var(--navy-100) 100%);
	border-radius: 48px;
	transform: rotate(-7deg);
	pointer-events: none;
}
body.home .mdm-hero::after {
	content: "";
	position: absolute;
	inset-inline-end: 4%;
	bottom: -120px;
	width: 300px;
	height: 300px;
	border: 28px solid rgba(239, 171, 23, 0.14);
	border-radius: 50%;
	pointer-events: none;
}
body.home .mdm-hero__inner { position: relative; z-index: 1; }
body.home .mdm-hero__title { font-weight: 400; letter-spacing: -0.01em; }
body.home .mdm-hero__title em { font-weight: 700; }
body.home .mdm-hero__still { box-shadow: 0 30px 70px rgba(7, 52, 79, 0.22); }
body.home .mdm-hero__actions .mdm-btn { padding: 0.95rem 1.7rem; font-size: 1.05rem; }
@media (max-width: 900px) {
	body.home .mdm-hero::before { inset-inline-end: -30%; top: auto; bottom: -6%; width: 110%; height: 52%; transform: rotate(-5deg); }
	body.home .mdm-hero::after { display: none; }
}

/* Visible numerals: digit in display face, heading-sized */
body.home .mdm-num {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 2.1rem;
	line-height: 1;
	color: var(--navy);
	font-variant-numeric: tabular-nums;
	margin-inline-end: 0.35rem;
	vertical-align: -0.12em;
}
body.home .mdm-authority__inner { gap: var(--sp-5); }
body.home .mdm-authority__inner > p + p { border-inline-start: 1px solid var(--line-strong); padding-inline-start: var(--sp-4); }
@media (max-width: 767px) { body.home .mdm-authority__inner > p + p { border-inline-start: none; padding-inline-start: 0; border-top: 1px solid var(--line); padding-top: var(--sp-3); } }

/* Service: "5 steps" label above the card */
body.home .mdm-service__count {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	margin: 0 0 0.9rem;
	color: #C7D3DD;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: var(--fs-400);
}
body.home .mdm-service__count .mdm-num { color: var(--gold); font-size: 2.6rem; }

/* Domains: pills */
body.home .mdm-domains { background: #FDFCF8; }
body.home .mdm-domains__inner { padding-block: 1.6rem; gap: var(--sp-2) var(--sp-3); }
body.home .mdm-domains__nav a {
	display: inline-block;
	padding: 0.5rem 1.05rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: var(--surface);
	color: var(--navy);
	font-weight: 500;
	transition: border-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease);
}
body.home .mdm-domains__nav a:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); border-bottom-color: var(--gold); }

/* Blog: off-white band to break the ivory run */
body.home .mdm-insights { background: #FDFCF8; border-block: 1px solid var(--line); }

/* Founder: offset gold frame (consistent with the service figure) */
body.home .mdm-founder__portrait { position: relative; }
body.home .mdm-founder__frame { position: relative; z-index: 1; box-shadow: 0 24px 56px rgba(7, 52, 79, 0.16); }
body.home .mdm-founder__portrait::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	aspect-ratio: 4 / 5;
	border: 2px solid var(--gold);
	border-radius: 14px;
	opacity: 0.45;
	transform: translate(-12px, 12px);
	pointer-events: none;
}
