/* =========================================================
   VIP Pre-Market · Premium RTL Real-Estate Web App
   ========================================================= */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(211, 148, 104, .10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(91, 179, 148, .07), transparent 60%),
    linear-gradient(180deg, #0b1426 0%, #0e1a31 100%);
  z-index: -1;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(211, 148, 104, .35); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

.gold { color: var(--gold); }
.emerald { color: var(--emerald); }
.muted { color: var(--muted); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.hidden { display: none !important; }

/* ---------- Icons ---------- */
.ic { width: 1.1em; height: 1.1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.4em; border-radius: 999px; font-weight: 600; font-size: 1rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s;
  white-space: nowrap; line-height: 1.2; user-select: none; -webkit-user-select: none;
}
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn.gold {
  background: linear-gradient(135deg, #efc6a6 0%, var(--gold) 45%, var(--gold-2) 100%);
  color: #0b1426; box-shadow: var(--shadow-gold);
}
.btn.gold:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -12px rgba(211, 148, 104, .6); }
.btn.emerald { background: linear-gradient(135deg, #7cc9ac, var(--emerald) 50%, var(--emerald-deep)); color: #04130e; }
.btn.emerald:hover { transform: translateY(-2px); }
.btn.ghost { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); color: var(--text); }
.btn.ghost:hover { border-color: rgba(211, 148, 104, .5); color: var(--gold); }
.btn.danger { border: 1px solid rgba(229, 115, 115, .35); color: var(--danger); background: var(--danger-soft); }
.btn.danger:hover { background: rgba(229, 115, 115, .2); }
.btn.sm { padding: .55em 1em; font-size: .9rem; }
.btn.xs { padding: .4em .8em; font-size: .82rem; }
.btn.xl { padding: 1.05em 2em; font-size: 1.12rem; }
.btn.block { width: 100%; }
@media (max-width: 480px) { .btn.xl { white-space: normal; text-align: center; padding: 1em 1.4em; font-size: 1.04rem; } }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn .ic { width: 1.15em; height: 1.15em; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1px solid var(--line); color: var(--text-2); transition: .2s;
}
.icon-btn:hover { color: var(--gold); border-color: rgba(211, 148, 104, .4); }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 20, 38, .72); border-bottom: 1px solid var(--line);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #1e3152, #0f1c34); border: 1px solid rgba(211, 148, 104, .35);
  color: var(--gold); font-family: var(--font-display); font-weight: 900; font-size: 1.15rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text b { font-size: .95rem; letter-spacing: .18em; font-weight: 700; direction: ltr; text-align: right; }
.brand-text small { color: var(--muted); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.user-chip {
  display: flex; align-items: center; gap: 10px; padding: 5px 6px 5px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03);
}
.user-chip .avatar {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold); font-weight: 700; font-size: .9rem;
}
.user-chip .meta { line-height: 1.15; }
.user-chip .meta b { display: block; font-size: .88rem; }
.user-chip .meta small { color: var(--emerald); font-size: .75rem; font-weight: 600; }
@media (max-width: 640px) {
  .topbar .container { height: 62px; }
  .brand-text small { display: none; }
  .user-chip .meta { display: none; }
  .user-chip { padding: 4px; }
}

/* ---------- Landing ---------- */
.hero { position: relative; padding: 96px 0 72px; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(211, 148, 104, .3); background: var(--gold-soft); color: var(--gold);
  font-size: .88rem; font-weight: 600; margin-bottom: 28px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 0 rgba(91, 179, 148, .7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(91, 179, 148, .6); } 70% { box-shadow: 0 0 0 10px rgba(91, 179, 148, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 179, 148, 0); } }
.hero h1 {
  font-family: var(--font-display); font-weight: 900; margin: 0 auto 22px; max-width: 980px;
  font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.18; letter-spacing: -.01em;
  text-wrap: balance;
}
.hero h1 .gold { background: linear-gradient(120deg, #f4d6c0, var(--gold) 50%, #9a5428); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--text-2); font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 680px; margin: 0 auto 36px; font-weight: 300; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 22px; color: var(--muted); font-size: .92rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .ic { color: var(--emerald); }

.stats-row {
  margin: 64px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 940px;
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(18, 32, 58, .6); overflow: hidden;
}
.stat { padding: 22px 16px; text-align: center; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .88rem; }
@media (max-width: 720px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .kicker { color: var(--gold); font-weight: 600; font-size: .9rem; letter-spacing: .08em; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 8px 0 12px; line-height: 1.25; }
.section-head p { color: var(--muted); margin: 0; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card {
  position: relative; padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(24, 42, 74, .7), rgba(18, 32, 58, .5));
}
.step-card .num {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--gold-soft); color: var(--gold); font-family: var(--font-display); font-weight: 900; font-size: 1.3rem;
  border: 1px solid rgba(211, 148, 104, .25);
}
.step-card h3 { margin: 0 0 8px; font-size: 1.18rem; }
.step-card p { margin: 0; color: var(--muted); font-size: .96rem; }

.teaser { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .teaser { grid-template-columns: 1fr; } }
.teaser h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.25; margin: 0 0 16px; }
.teaser p { color: var(--text-2); }
.check-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.check-list .ic { color: var(--emerald); margin-top: 4px; }
.locked-stack { position: relative; display: grid; gap: 14px; }
.locked-card {
  display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface); filter: blur(3.5px); opacity: .75;
}
.locked-card .thumb { width: 86px; height: 64px; border-radius: 10px; background-size: cover; background-position: center; flex: none; }
.locked-card .lines { flex: 1; display: grid; gap: 8px; }
.locked-card .lines i { display: block; height: 10px; border-radius: 6px; background: var(--surface-3); }
.locked-card .lines i:first-child { width: 70%; background: rgba(211, 148, 104, .35); }
.locked-card .lines i:nth-child(2) { width: 45%; }
.lock-overlay {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
}
.lock-overlay .lock-badge {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 28px; border-radius: var(--radius);
  background: rgba(11, 20, 38, .82); border: 1px solid rgba(211, 148, 104, .35); box-shadow: var(--shadow);
}
.lock-badge .ic { width: 30px; height: 30px; color: var(--gold); }
.lock-badge b { font-size: 1.05rem; }
.lock-badge small { color: var(--muted); }

.footer { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: .85rem; }
.footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.admin-link { color: #8b98b0; font-size: .78rem; padding: 4px 8px; border-radius: 6px; transition: color .2s; }
.admin-link:hover { color: var(--muted); }

/* ---------- Cards / forms ---------- */
.card {
  background: linear-gradient(180deg, rgba(24, 42, 74, .85), rgba(18, 32, 58, .85));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field > label, .field-label { font-weight: 600; font-size: .95rem; color: var(--text-2); }
.field .hint { color: var(--muted); font-size: .84rem; }
.input, .select, .textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: rgba(11, 20, 38, .55); color: var(--text); font-size: 1rem; transition: border-color .2s, box-shadow .2s;
  -webkit-user-select: text; user-select: text;
}
.input::placeholder, .textarea::placeholder { color: #7a879f; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: rgba(211, 148, 104, .6); box-shadow: 0 0 0 4px rgba(211, 148, 104, .12); }
.input.invalid { border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-soft); }
.select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: 18px 52%, 13px 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-left: 36px; }
.select option { background: var(--surface); }
.textarea { min-height: 90px; resize: vertical; line-height: 1.5; }
input[type="date"] { color-scheme: dark; }
.input-affix { position: relative; }
.input-affix .affix { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.input-affix .input { padding-left: 40px; }
.err { color: var(--danger); font-size: .86rem; min-height: 1.2em; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
@media (max-width: 560px) { .row-2, .row-3 { grid-template-columns: 1fr; } }

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choice {
  position: relative; text-align: right; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: rgba(11, 20, 38, .45);
  transition: border-color .2s, background .2s, transform .15s; display: flex; gap: 12px; align-items: center;
}
.choice:hover { border-color: rgba(211, 148, 104, .4); }
.choice .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; display: grid; place-items: center; transition: .2s; }
.choice .txt b { display: block; font-size: .98rem; }
.choice .txt small { color: var(--muted); font-size: .8rem; line-height: 1.3; display: block; }
.choice.selected { border-color: var(--gold); background: var(--gold-soft); }
.choice.selected .radio { border-color: var(--gold); }
.choice.selected .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }

/* ---------- Funnel ---------- */
.funnel-wrap { padding: 40px 0 80px; }
.progress { margin-bottom: 28px; }
.progress-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; gap: 12px; }
.progress-top b { font-size: 1.05rem; }
.progress-top span { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.progress-bar { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.progress-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold-2), var(--gold), #f4d6c0); transition: width .6s var(--ease); margin-inline-start: 0; }
.progress-steps { display: flex; justify-content: space-between; margin-top: 12px; gap: 6px; }
.progress-steps span { font-size: .76rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.progress-steps span.done { color: var(--emerald); }
.progress-steps span.active { color: var(--gold); font-weight: 600; }
.progress-steps .dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: .66rem; flex: none; }
@media (max-width: 560px) { .progress-steps .lbl { display: none; } }
.funnel-card { padding: 36px; animation: rise .45s var(--ease); }
@media (max-width: 560px) { .funnel-card { padding: 24px 18px; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.funnel-card h1, .funnel-card h2 { font-family: var(--font-display); font-size: 1.7rem; margin: 0 0 6px; line-height: 1.3; }
.funnel-card .sub { color: var(--muted); margin: 0 0 28px; }
.funnel-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; align-items: center; }
.funnel-actions .btn.gold { min-width: 170px; }
.reveal { animation: rise .4s var(--ease); border-top: 1px dashed var(--line-strong); margin-top: 8px; padding-top: 22px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: .82rem; margin-top: 20px; }
.secure-note .ic { color: var(--emerald); }
.info-box { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(91, 179, 148, .07); border: 1px solid rgba(91, 179, 148, .2); color: var(--text-2); font-size: .9rem; margin-bottom: 20px; }
.info-box .ic { color: var(--emerald); margin-top: 3px; }
.info-box.gold { background: var(--gold-soft); border-color: rgba(211, 148, 104, .25); }
.info-box.gold .ic { color: var(--gold); }

.loader-box { text-align: center; padding: 30px 0 10px; }
.spinner { width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; border: 3px solid var(--surface-3); border-top-color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader-box h1, .loader-box h2 { margin-bottom: 8px; }
.check-lines { list-style: none; padding: 0; margin: 22px auto 0; max-width: 320px; text-align: right; display: grid; gap: 10px; }
.check-lines li { display: flex; align-items: center; gap: 10px; color: var(--muted); opacity: 0; animation: fadeIn .4s var(--ease) forwards; }
.check-lines li .ic { color: var(--emerald); }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Result ---------- */
.result-wrap { padding: 56px 0 90px; }
.result-card { padding: 44px 36px; text-align: center; animation: rise .5s var(--ease); }
@media (max-width: 560px) { .result-card { padding: 30px 18px; } }
.result-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; }
.result-icon .ic { width: 34px; height: 34px; }
.result-icon.ok { background: var(--emerald-soft); color: var(--emerald); border: 1px solid rgba(91, 179, 148, .3); }
.result-icon.lock { background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(211, 148, 104, .3); }
.result-card h1 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0 0 12px; line-height: 1.3; }
.result-card > p { color: var(--text-2); max-width: 560px; margin: 0 auto; }
.reasons { list-style: none; padding: 0; margin: 28px auto; max-width: 560px; display: grid; gap: 10px; text-align: right; }
.reasons li { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(11, 20, 38, .45); border: 1px solid var(--line); color: var(--text-2); font-size: .95rem; }
.reasons li .ic { color: var(--warn); margin-top: 4px; }
.result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.score-split { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; margin: 26px 0 6px; }

/* ---------- Score gauge ---------- */
.gauge { position: relative; width: 132px; height: 132px; flex: none; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .track { stroke: var(--surface-3); }
.gauge .val { transition: stroke-dashoffset 1.2s var(--ease); animation: gaugeIn 1.4s var(--ease); }
@keyframes gaugeIn { from { stroke-dashoffset: 339.3; } }
.gauge .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; line-height: 1; }
.gauge .center b { font-family: var(--font-display); font-size: 2.3rem; display: block; }
.gauge .center small { color: var(--muted); font-size: .72rem; display: block; margin-top: 4px; }
.gauge.sm { width: 92px; height: 92px; }
.gauge.sm .center b { font-size: 1.6rem; }

/* ---------- Dashboard ---------- */
.protected, .protected * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.protected input, .protected textarea, .protected select { -webkit-user-select: text; user-select: text; }
#watermark {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none; background-repeat: repeat;
  mix-blend-mode: screen;
}
@media print {
  body.protected #app { visibility: hidden; }
  body.protected::after { content: "הדפסת תוכן המאגר אינה מורשית"; position: fixed; top: 40%; width: 100%; text-align: center; font-size: 24px; color: #000; }
}

.dash { padding: 28px 0 80px; }
.welcome {
  display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; padding: 26px 30px; margin-bottom: 26px;
  border-color: rgba(91, 179, 148, .22);
  background: linear-gradient(120deg, rgba(35, 112, 90, .18), rgba(24, 42, 74, .85) 45%, rgba(18, 32, 58, .9));
}
.welcome h1 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 4px; line-height: 1.25; }
.welcome p { margin: 0; color: var(--text-2); }
.access-pill { display: inline-flex; align-items: center; gap: 8px; color: var(--emerald); font-weight: 600; font-size: .85rem; margin-bottom: 8px; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 10px; }
.kpi { padding: 10px 14px; border-radius: var(--radius-sm); background: rgba(11, 20, 38, .45); border: 1px solid var(--line); }
.kpi small { display: block; color: var(--muted); font-size: .76rem; }
.kpi b { font-size: 1rem; }
@media (max-width: 980px) { .welcome { grid-template-columns: auto 1fr; } .kpis { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .welcome { grid-template-columns: 1fr; text-align: center; padding: 22px 18px; justify-items: center; } .kpis { grid-template-columns: repeat(2, 1fr); width: 100%; text-align: right; } }

.tabs {
  display: flex; gap: 6px; padding: 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(18, 32, 58, .8);
  margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; position: sticky; top: 80px; z-index: 40; backdrop-filter: blur(10px);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  color: var(--muted); font-weight: 600; font-size: .95rem; white-space: nowrap; transition: .2s;
}
.tab:hover { color: var(--text); }
.tab.active { background: linear-gradient(135deg, rgba(211, 148, 104, .2), rgba(211, 148, 104, .08)); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(211, 148, 104, .35); }
.tab .count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--surface-3); color: var(--text-2); font-size: .74rem; display: inline-grid; place-items: center; }
.tab.active .count { background: var(--gold); color: #0b1426; }
@media (max-width: 640px) { .tabs { top: 70px; border-radius: 16px; } .tab { padding: 10px 12px; font-size: .86rem; flex: none; } }

.tab-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.tab-head h2 { font-family: var(--font-display); font-size: 1.6rem; margin: 0; }
.tab-head p { margin: 4px 0 0; color: var(--muted); font-size: .94rem; }

.props-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; }
@media (max-width: 400px) { .props-grid { grid-template-columns: 1fr; } }
.prop {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.prop:hover { transform: translateY(-4px); border-color: rgba(211, 148, 104, .3); box-shadow: var(--shadow); }
.prop-media { position: relative; aspect-ratio: 16 / 10; background-size: cover; background-position: center; overflow: hidden; }
.prop-media img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.prop-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 20, 38, .1) 40%, rgba(11, 20, 38, .85)); }
.prop-badges { position: absolute; top: 14px; right: 14px; left: 14px; display: flex; justify-content: space-between; gap: 8px; z-index: 2; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap;
}
.badge.pre { background: linear-gradient(135deg, #efc6a6, var(--gold)); color: #0b1426; }
.badge.pub { background: rgba(147, 161, 186, .25); color: var(--text-2); }
.badge.dark { background: rgba(11, 20, 38, .7); color: var(--text); border: 1px solid var(--line-strong); }
.badge.green { background: var(--emerald-soft); color: var(--emerald); border: 1px solid rgba(91, 179, 148, .3); }
.badge.red { background: var(--danger-soft); color: var(--danger); border: 1px solid rgba(229, 115, 115, .3); }
.badge.grey { background: rgba(147, 161, 186, .12); color: var(--muted); border: 1px solid var(--line-strong); }
.badge.goldo { background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(211, 148, 104, .3); }
.prop-loc { position: absolute; bottom: 14px; right: 16px; left: 16px; z-index: 2; }
.prop-loc small { color: var(--gold); font-weight: 600; font-size: .82rem; display: flex; align-items: center; gap: 6px; }
.prop-loc h3 { margin: 2px 0 0; font-size: 1.15rem; line-height: 1.3; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.prop-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.countdown { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--gold); background: var(--gold-soft); padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(211, 148, 104, .18); }
.countdown.over { color: var(--muted); background: rgba(147, 161, 186, .08); border-color: var(--line); }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-box { padding: 12px 14px; border-radius: 12px; background: rgba(11, 20, 38, .5); border: 1px solid var(--line); }
.price-box small { display: block; color: var(--muted); font-size: .76rem; margin-bottom: 2px; }
.price-box b { font-size: 1.14rem; font-weight: 700; letter-spacing: -.01em; }
.price-box.real { border-color: rgba(91, 179, 148, .25); background: rgba(91, 179, 148, .06); }
.price-box.real b { color: var(--emerald); }
.price-box .delta { font-size: .74rem; color: var(--emerald); font-weight: 600; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.spec { text-align: center; padding: 10px 4px; border-radius: 10px; background: var(--surface-2); }
.spec .ic { color: var(--gold); margin: 0 auto 4px; display: block; }
.spec b { display: block; font-size: .95rem; line-height: 1.2; }
.spec small { color: var(--muted); font-size: .75rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .76rem; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--text-2); display: inline-flex; align-items: center; gap: 5px; }
.tag.no { color: #8592aa; text-decoration: line-through; border-color: var(--line); }
.prop-desc { color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.55; }
.prop-meta-line { display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; }
.prop-actions { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; margin-top: auto; }
.prop-actions .btn { padding: .72em 1em; font-size: .92rem; }
.save-btn.saved { color: var(--gold); border-color: rgba(211, 148, 104, .5); background: var(--gold-soft); }
.save-btn.saved .ic { fill: currentColor; }
.tour-note { font-size: .82rem; color: var(--emerald); display: flex; align-items: center; gap: 6px; }

/* Calculator */
.calc-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 920px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-form, .calc-results { padding: 26px; }
@media (max-width: 560px) { .calc-form, .calc-results { padding: 20px 16px; } }
.calc-form h3, .calc-results h3 { margin: 0 0 18px; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.calc-form h3 .ic, .calc-results h3 .ic { color: var(--gold); }
.seg { display: flex; padding: 4px; border-radius: 12px; background: rgba(11, 20, 38, .55); border: 1px solid var(--line-strong); }
.seg button { flex: 1; padding: 10px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: .9rem; transition: .2s; }
.seg button.on { background: var(--gold-soft); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(211, 148, 104, .35); }
.range-row { display: flex; align-items: center; gap: 12px; }
.range-row input[type=range] { flex: 1; accent-color: var(--gold); }
.range-row output { min-width: 58px; text-align: center; font-weight: 700; color: var(--gold); padding: 6px 8px; border-radius: 8px; background: var(--gold-soft); font-size: .9rem; }
.calc-results { position: sticky; top: 150px; }
@media (max-width: 920px) { .calc-results { position: static; } }
.big-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.big-fig { padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(11, 20, 38, .5); }
.big-fig small { color: var(--muted); font-size: .8rem; display: block; }
.big-fig b { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.25; display: block; }
.big-fig.g { border-color: rgba(211, 148, 104, .3); background: var(--gold-soft); }
.big-fig.g b { color: var(--gold); }
.big-fig.e { border-color: rgba(91, 179, 148, .3); background: var(--emerald-soft); }
.big-fig.e b { color: var(--emerald); }
@media (max-width: 400px) { .big-figs { grid-template-columns: 1fr; } }
.breakdown { list-style: none; padding: 0; margin: 0; }
.breakdown li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.breakdown li span { color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.breakdown li span i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }
.breakdown li b { font-weight: 600; }
.breakdown li.total { border-bottom: 0; border-top: 1px solid var(--line-strong); margin-top: 4px; padding-top: 14px; font-size: 1.02rem; }
.breakdown li.total b { color: var(--gold); }
.stackbar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; margin: 18px 0 6px; background: var(--surface-3); }
.stackbar i { display: block; height: 100%; transition: width .5s var(--ease); }
.gap-box { margin-top: 18px; padding: 14px 16px; border-radius: 12px; display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.gap-box.ok { background: var(--emerald-soft); border: 1px solid rgba(91, 179, 148, .25); color: var(--text-2); }
.gap-box.bad { background: var(--danger-soft); border: 1px solid rgba(229, 115, 115, .25); color: var(--text-2); }
.gap-box .ic { margin-top: 3px; }
.gap-box.ok .ic { color: var(--emerald); }
.gap-box.bad .ic { color: var(--danger); }
.disclaimer { color: var(--muted); font-size: .78rem; margin-top: 14px; line-height: 1.5; }

/* Notebook */
.nb-list { display: grid; gap: 16px; }
.nb-item { display: grid; grid-template-columns: 200px 1fr; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
@media (max-width: 720px) { .nb-item { grid-template-columns: 1fr; } }
.nb-thumb { background-size: cover; background-position: center; min-height: 160px; position: relative; }
.nb-body { padding: 18px 20px; display: grid; gap: 12px; }
.nb-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.nb-top h3 { margin: 0; font-size: 1.1rem; }
.nb-top small { color: var(--muted); }
.nb-price { text-align: left; }
.nb-price b { display: block; font-size: 1.1rem; }
.nb-price small { color: var(--emerald); }
.stars { display: inline-flex; gap: 2px; }
.star { width: 34px; height: 34px; display: grid; place-items: center; color: #4a5a78; transition: transform .15s var(--ease), color .15s; border-radius: 8px; }
.star .ic { width: 24px; height: 24px; }
.star.on { color: var(--gold); }
.star:hover { transform: scale(1.15); }
.stars-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.stars-row small { color: var(--muted); font-size: .84rem; }
.nb-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.save-state { font-size: .78rem; color: var(--emerald); opacity: 0; transition: opacity .3s; }
.save-state.show { opacity: 1; }
.empty {
  text-align: center; padding: 60px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted);
}
.empty .ic { width: 42px; height: 42px; color: var(--gold); margin: 0 auto 14px; display: block; opacity: .8; }
.empty h3 { color: var(--text); margin: 0 0 6px; }
.empty p { margin: 0 0 20px; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 8000; background: rgba(6, 12, 24, .74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 16px; animation: fadeIn .2s forwards; opacity: 0; overflow-y: auto;
}
.modal { width: 100%; max-width: 480px; padding: 30px; animation: rise .35s var(--ease); position: relative; }
.modal.wide { max-width: 640px; }
@media (max-width: 560px) { .modal { padding: 24px 18px; } }
.modal h2, .modal h3 { font-family: var(--font-display); font-size: 1.45rem; margin: 0 0 6px; padding-left: 40px; line-height: 1.3; }
.modal .sub { color: var(--muted); margin: 0 0 22px; font-size: .94rem; }
.modal-close { position: absolute; top: 18px; left: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(11, 20, 38, .45); font-size: .88rem; transition: .2s; text-align: center; line-height: 1.25; }
.chip-opt small { display: block; color: var(--muted); font-size: .74rem; }
.chip-opt:hover { border-color: rgba(211, 148, 104, .45); }
.chip-opt.on { border-color: var(--gold); background: var(--gold-soft); color: var(--gold); }
.chip-opt.on small { color: var(--gold); }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* ---------- Toast ---------- */
#toast-root { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 9500; display: grid; gap: 10px; width: min(92vw, 420px); }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: #1b2d4f; border: 1px solid var(--line-strong);
  box-shadow: var(--shadow); animation: rise .3s var(--ease); font-size: .95rem;
}
.toast .ic { color: var(--emerald); width: 20px; height: 20px; }
.toast.warn .ic { color: var(--warn); }
.toast.out { opacity: 0; transform: translateY(8px); transition: .3s; }

/* ---------- Admin ---------- */
.admin-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: var(--danger-soft); color: var(--danger); font-size: .76rem; font-weight: 700; border: 1px solid rgba(229, 115, 115, .3); }
.admin { padding: 28px 0 80px; }
.admin h1 { font-family: var(--font-display); font-size: 1.9rem; margin: 0 0 4px; }
.stat-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 22px 0 24px; }
@media (max-width: 900px) { .stat-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .stat-cards { grid-template-columns: repeat(2, 1fr); } }
.stat-card { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.stat-card small { color: var(--muted); font-size: .8rem; display: flex; align-items: center; gap: 6px; }
.stat-card b { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.2; }
.stat-card.g b { color: var(--emerald); } .stat-card.r b { color: var(--danger); } .stat-card.y b { color: var(--warn); } .stat-card.gd b { color: var(--gold); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.toolbar .left { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.toolbar .input { width: 240px; padding: 10px 14px; font-size: .92rem; }
@media (max-width: 560px) { .toolbar .input { width: 100%; } .toolbar { flex-direction: column; align-items: stretch; } }
.filter-chip { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-strong); font-size: .86rem; color: var(--muted); font-weight: 600; transition: .2s; }
.filter-chip.on { border-color: var(--gold); color: var(--gold); background: var(--gold-soft); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 1100px; }
.tbl th { text-align: right; font-weight: 600; color: var(--muted); font-size: .78rem; padding: 14px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; position: sticky; top: 0; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: rgba(255, 255, 255, .02); }
.tbl .name-cell b { display: block; }
.tbl .name-cell small { color: var(--muted); }
.score-pill { display: inline-grid; place-items: center; min-width: 42px; padding: 3px 8px; border-radius: 8px; font-weight: 700; font-size: .84rem; }
.tbl .flags { display: flex; gap: 4px; flex-wrap: wrap; }
.tbl .row-actions { display: flex; gap: 6px; }
.admin-grid { display: grid; grid-template-columns: 420px 1fr; gap: 22px; align-items: start; }
@media (max-width: 1000px) { .admin-grid { grid-template-columns: 1fr; } }
.admin-form { padding: 24px; position: sticky; top: 90px; }
@media (max-width: 1000px) { .admin-form { position: static; } }
.admin-form h2, .admin-form h3 { margin: 0 0 18px; display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.admin-form .field { margin-bottom: 14px; }
.admin-form .input, .admin-form .select, .admin-form .textarea { padding: 11px 13px; font-size: .94rem; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check-opt { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-strong); font-size: .88rem; cursor: pointer; }
.check-opt input { accent-color: var(--gold); width: 16px; height: 16px; }
.prop-rows { display: grid; gap: 12px; }
.prop-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.prop-row.editing { border-color: var(--gold); }
.prop-row .thumb { width: 96px; height: 72px; border-radius: 10px; background-size: cover; background-position: center; }
.prop-row h4 { margin: 0 0 2px; font-size: 1rem; }
.prop-row small { color: var(--muted); display: block; }
.prop-row .row-actions { display: flex; gap: 6px; }
@media (max-width: 560px) { .prop-row { grid-template-columns: 72px 1fr; } .prop-row .thumb { width: 72px; height: 60px; } .prop-row .row-actions { grid-column: 1 / -1; } }
.bl-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .bl-wrap { grid-template-columns: 1fr; } }
.bl-form { display: flex; gap: 10px; flex-wrap: wrap; }
.bl-form .input { min-width: 160px; }
.bl-form .input { flex: 1; }
.bl-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.bl-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(11, 20, 38, .5); border: 1px solid var(--line); }
.bl-list li b { font-size: 1rem; letter-spacing: .04em; }
.bl-list li small { color: var(--muted); font-size: .78rem; display: block; }
.panel { padding: 24px; }
.panel h2, .panel h3 { margin: 0 0 6px; display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.panel h2 .ic, .panel h3 .ic { color: var(--gold); }
.panel > p { color: var(--muted); margin: 0 0 18px; font-size: .92rem; }

/* =========================================================
   48Hours additions
   ========================================================= */
.brand-wrap { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bsd { font-size: .74rem; font-weight: 600; color: var(--text-2); letter-spacing: .02em; align-self: flex-start; margin-top: 4px; white-space: nowrap; }
.brand-mark { font-size: 1rem; letter-spacing: -.02em; }
.demo-bar { background: #16264a; color: #f4d6c0; text-align: center; font-size: .8rem; padding: 6px 16px; border-bottom: 1px solid rgba(211, 148, 104, .25); }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--text-2); margin: 4px 0 8px; cursor: pointer; line-height: 1.5; }
.consent input { width: 18px; height: 18px; accent-color: var(--gold); margin-top: 3px; flex: none; cursor: pointer; }
.consent a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.consent small { display: block; color: var(--muted); font-size: .8rem; }
.req { color: var(--gold); }
.err-box { background: var(--danger-soft); border-color: rgba(229, 115, 115, .3); }
.err-box .ic { color: var(--danger); }
.secure-note a { color: var(--gold); text-decoration: underline; }

.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.footer-agents { display: grid; gap: 4px; }
.footer-agents a, .footer-links a { color: var(--text-2); }
.footer-links { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: center; }
.footer-links a:not(.admin-link) { text-decoration: underline; text-underline-offset: 3px; }

.login-card { padding: 40px 32px; text-align: center; max-width: 440px; margin: 0 auto; animation: rise .45s var(--ease); }
.login-card h1 { font-family: var(--font-display); font-size: 1.7rem; margin: 0 0 4px; }
.login-card .sub { color: var(--muted); margin: 0 0 22px; }
.login-card .field { text-align: right; }

.advisor-box { max-width: 560px; margin: 0 auto; text-align: right; }
.direct-links { display: flex; gap: 10px 18px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 16px; color: var(--muted); font-size: .92rem; }
.direct-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 600; }

.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.prop-row.inactive { opacity: .6; }
.tbl td.wrap-cell { white-space: normal; min-width: 220px; }
.tbl .name-cell a { display: block; color: var(--muted); font-size: .85rem; }
body.busy { cursor: progress; }
body.busy .btn, body.busy .icon-btn { pointer-events: none; opacity: .7; }

.locked-card .thumb.t1 { background: linear-gradient(160deg, #2c4470, #d39468); }
.locked-card .thumb.t2 { background: linear-gradient(160deg, #1e3152, #8f4f26); }
.locked-card .thumb.t3 { background: linear-gradient(160deg, #22375c, #5bb394); }

.team-sec { padding-top: 20px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { padding: 26px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(24, 42, 74, .7), rgba(18, 32, 58, .5)); text-align: center; }
.team-avatar { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; background: var(--gold-soft); color: var(--gold); font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; border: 1px solid rgba(211, 148, 104, .3); }
.team-card h3 { margin: 0 0 4px; font-size: 1.15rem; }
.team-card p { margin: 0 0 10px; color: var(--muted); font-size: .9rem; }
.team-card a { color: var(--gold); font-weight: 700; }

.legal { padding: 40px 0 80px; }
.legal-card { padding: 40px 36px; line-height: 1.8; }
@media (max-width: 560px) { .legal-card { padding: 26px 18px; } }
.legal-card h1 { font-family: var(--font-display); font-size: 2rem; margin: 0 0 4px; }
.legal-card h2 { font-size: 1.15rem; margin: 28px 0 8px; color: var(--gold); }
.legal-card p, .legal-card li { color: var(--text-2); }
.legal-card ul { padding-inline-start: 1.3em; margin: 0 0 1em; display: grid; gap: 6px; }
.legal-card a { color: var(--gold); }
.legal-card hr { border: 0; border-top: 1px solid var(--line-strong); margin: 40px 0; }
@media (max-width: 640px) { .bsd { font-size: .68rem; } }
@media (max-width: 360px) { .brand-text b { letter-spacing: .04em; } .brand-mark { width: 34px; height: 34px; } }
.legal-card h2.legal-title { font-family: var(--font-display); font-size: 2rem; color: var(--text); margin: 0 0 12px; }

/* =========================================================
   Polish pass – accessibility, motion & detail
   ========================================================= */
/* Skip link (keyboard users) */
.skip-link { position: absolute; top: -100px; right: 16px; z-index: 9999; padding: 10px 18px; border-radius: 10px; background: var(--gold); color: #0b1426; font-weight: 700; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* Taps feel immediate on touch screens */
button, .btn, .choice, .chip-opt, .tab, .star, a { touch-action: manipulation; }
.admin-form h2 .ic { color: var(--gold); }

/* Numbers that change (prices, timers, scores) keep their width */
.price-box b, .countdown, .kpi b, .big-fig b, .stat b, .gauge b, .tbl, .breakdown b, .range-row output, .nb-price b, .stat-card b { font-variant-numeric: tabular-nums; }

/* Short headings wrap into balanced lines */
.section-head h2, .teaser h2, .result-card h1, .funnel-card h1, .welcome h1, .tab-head h2, .legal-card h1, .login-card h1 { text-wrap: balance; }

/* Property cards arrive one after another instead of all at once */
.props-grid .prop { animation: rise .5s var(--ease) both; }
.props-grid .prop:nth-child(2) { animation-delay: .05s; }
.props-grid .prop:nth-child(3) { animation-delay: .1s; }
.props-grid .prop:nth-child(4) { animation-delay: .15s; }
.props-grid .prop:nth-child(n+5) { animation-delay: .2s; }
/* Switching tabs cross-fades the content */
#tab-body, #admin-body { animation: tabIn .28s var(--ease); }
@keyframes tabIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* Modal backdrop fades with the dialog */
.modal-backdrop { animation-duration: .18s; }

/* Hover lifts only where a mouse exists (no "stuck" hover on phones) */
@media (hover: none) {
  .prop:hover, .btn.gold:hover, .btn.emerald:hover, .star:hover { transform: none; }
  .prop:hover { box-shadow: none; border-color: var(--line); }
}

/* Inputs stay 16px on phones so iOS does not zoom in */
@media (max-width: 640px) {
  .admin-form .input, .admin-form .select, .admin-form .textarea, .toolbar .input { font-size: 16px; }
}

/* Respect "reduce motion" system setting */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .pulse-dot { box-shadow: none; }
}

/* Phones: all three tabs visible at once instead of a hidden sideways scroll */
@media (max-width: 640px) {
  .tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 16px; overflow: visible; }
  .tab { flex-direction: column; gap: 4px; padding: 9px 4px; white-space: normal; text-align: center; font-size: .78rem; line-height: 1.25; border-radius: 12px; }
  .tab .count { position: absolute; top: 4px; left: 6px; min-width: 18px; height: 18px; font-size: .68rem; }
  .tab { position: relative; }
}

/* =========================================================
   Premium layer – charcoal & champagne, depth, asymmetry
   ========================================================= */
body { font-size: 16.5px; line-height: 1.65; letter-spacing: .005em; }
body::before {
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(211, 148, 104, .09), transparent 62%),
    radial-gradient(760px 520px at -6% 40%, rgba(64, 118, 230, .10), transparent 62%),
    linear-gradient(180deg, #0b1426 0%, #0d182d 100%);
}
/* subtle film grain kills the flat "digital black" look */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.012em; }
.hero h1, .section-head h2, .teaser h2, .steps-intro h2, .team-intro h2 { font-weight: 800; letter-spacing: -.02em; }
.kicker, .eyebrow { letter-spacing: .04em; }
.brand-text b { letter-spacing: .1em; font-family: var(--font-display); }
.brand-mark { font-weight: 800; box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .06); }

/* Surfaces: soft top highlight + layered shadow instead of flat boxes */
.card, .prop, .step-card, .team-card, .stat-card, .nb-item, .prop-row, .locked-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, 0) 42%), var(--surface);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.btn { letter-spacing: .01em; font-weight: 700; }
.btn .ic { transition: transform .3s var(--ease); }
.btn.gold { box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 10px 28px -12px rgba(211, 148, 104, .55); }
@media (hover: hover) {
  .btn:hover .ic { transform: translateX(-4px); }
  .btn.gold:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 18px 40px -14px rgba(211, 148, 104, .65); }
  .btn.ghost:hover { background: rgba(255, 255, 255, .05); }
  .prop:hover, .team-card:hover, .step-row:hover, .stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .05); border-color: rgba(211, 148, 104, .22); }
}
.prop, .team-card, .step-row, .stat-card { transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Hero: asymmetric split ---------- */
.hero-split { padding: 72px 0 56px; }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.hero-copy { text-align: right; }
.hero-split h1 { margin: 0 0 22px; max-width: 13ch; font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.04; text-wrap: balance; }
.hero-split h1 .gold { display: block; }
.hero-split .lead { margin: 0 0 34px; max-width: 34ch; font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--text-2); font-weight: 400; }
.hero-split .eyebrow { margin-bottom: 26px; }
.hero-split .hero-meta { justify-content: flex-start; margin-top: 20px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 380px); aspect-ratio: 1; }
.dial { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 50% 38%, rgba(211, 148, 104, .10), rgba(18, 32, 58, .9) 62%); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.dial-svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.dial-ticks { fill: none; stroke: rgba(214, 226, 255, .22); stroke-width: 6; stroke-dasharray: 1.4 11.69; }
.dial-track { fill: none; stroke: rgba(214, 226, 255, .07); stroke-width: 3; }
.dial-arc { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 527.8; stroke-dashoffset: 132; animation: dialDraw 2.2s .4s var(--ease) both; }
@keyframes dialDraw { from { stroke-dashoffset: 527.8; } }
.dial-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.dial-center b { font-family: var(--font-display); font-weight: 900; font-size: clamp(4rem, 9vw, 6rem); line-height: .9; letter-spacing: -.04em;
  background: linear-gradient(160deg, #fae6d6, #d39468 55%, #8f4f26); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dial-center span { color: var(--muted); font-size: .9rem; letter-spacing: .06em; margin-top: 6px; }
.float-card { position: absolute; display: grid; gap: 7px; padding: 12px 14px; border-radius: 14px; min-width: 150px;
  background: rgba(24, 42, 74, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); animation: floaty 7s ease-in-out infinite; }
.float-card i { display: block; height: 7px; border-radius: 4px; background: rgba(214, 226, 255, .12); width: 120px; }
.float-card i.s { width: 76px; }
.float-card .badge { justify-self: start; font-size: .72rem; }
.fc-1 { top: 2%; left: -4%; }
.fc-2 { bottom: 4%; right: -6%; grid-template-columns: auto 1fr; align-items: center; gap: 10px; animation-delay: -3.5s; }
.fc-lock { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Stats: one featured figure, the rest supporting */
.stats-asym { margin-top: 56px; max-width: none; grid-template-columns: 1.7fr 1fr 1fr 1fr; background: rgba(18, 32, 58, .6); box-shadow: var(--shadow); }
.stats-asym .stat { text-align: right; padding: 22px 24px; }
.stats-asym .stat b { font-weight: 800; font-size: 2.1rem; }
.stats-asym .stat-lead { display: flex; align-items: baseline; gap: 14px; background: linear-gradient(90deg, transparent, rgba(211, 148, 104, .07)); }
.stats-asym .stat-lead b { font-size: 3.2rem; letter-spacing: -.03em; }
.stats-asym .stat-lead span { color: var(--text-2); font-size: 1rem; }

/* ---------- Light band (warm cream) for rhythm ---------- */
.section-light {
  --text: #0b1426; --text-2: #34405a; --muted: #5a6780; --line: rgba(18, 32, 58, .1); --line-strong: rgba(18, 32, 58, .18);
  --gold: #9a5428; --gold-soft: rgba(154, 84, 40, .09);
  background: linear-gradient(180deg, var(--cream), var(--cream-2)); color: var(--text);
  border-block: 1px solid rgba(255, 255, 255, .04);
}
.steps-layout { display: grid; grid-template-columns: .9fr 1.25fr; gap: 64px; align-items: start; }
.steps-intro { position: sticky; top: 110px; }
.steps-intro .kicker { color: var(--gold); font-weight: 700; font-size: .9rem; }
.steps-intro h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.12; margin: 10px 0 16px; }
.steps-intro p { color: var(--text-2); margin: 0 0 22px; max-width: 38ch; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link .ic { transition: transform .3s var(--ease); }
@media (hover: hover) { .text-link:hover .ic { transform: translateX(-4px); } }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.step-row { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 26px 28px; border-radius: 20px;
  background: #ffffff; border: 1px solid var(--line); box-shadow: 0 1px 1px rgba(18, 32, 58, .04), 0 14px 30px -18px rgba(18, 32, 58, .25); }
.step-row:nth-child(2) { margin-inline-start: 7%; }
.step-row:nth-child(3) { margin-inline-start: 14%; }
.step-num { font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.2px var(--gold); }
.step-row h3 { margin: 4px 0 6px; font-size: 1.2rem; color: var(--text); }
.step-row p { margin: 0; color: var(--text-2); }
@media (hover: hover) { .section-light .step-row:hover { border-color: rgba(154, 84, 40, .3); box-shadow: 0 2px 2px rgba(18, 32, 58, .04), 0 24px 44px -20px rgba(18, 32, 58, .32); } }

/* ---------- Teaser: layered, tilted stack for depth ---------- */
.teaser-sec { padding-top: 96px; }
.locked-stack.layered { padding: 24px 6% 24px 0; }
.locked-stack.layered .locked-card { transition: transform .6s var(--ease); }
.locked-stack.layered .locked-card:nth-child(1) { transform: rotate(-2.5deg) translateX(-10px); }
.locked-stack.layered .locked-card:nth-child(2) { transform: translateX(18px); z-index: 1; }
.locked-stack.layered .locked-card:nth-child(3) { transform: rotate(2deg) translateX(-4px); }
@media (hover: hover) { .locked-stack.layered:hover .locked-card { transform: none; } }
.lock-overlay .lock-badge { background: rgba(11, 20, 38, .86); backdrop-filter: blur(6px); box-shadow: var(--shadow-lg); }

/* ---------- Team: intro beside an uneven grid ---------- */
.team-layout { display: grid; grid-template-columns: .8fr 1.4fr; gap: 56px; align-items: start; }
.team-intro .kicker { color: var(--gold); font-weight: 700; font-size: .9rem; }
.team-intro h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; margin: 10px 0 14px; }
.team-intro p { color: var(--muted); margin: 0; }
.team-asym { grid-template-columns: 1fr 1fr; gap: 16px; }
.team-asym .team-card { text-align: right; display: flex; gap: 16px; align-items: flex-start; padding: 24px; }
.team-asym .team-avatar { margin: 0; flex: none; width: 52px; height: 52px; font-size: 1.3rem; }
.team-asym .team-card h3 { font-size: 1.1rem; }
.team-asym .team-card p { margin: 0 0 8px; }
.team-asym .broker:nth-child(2) { transform: translateY(28px); }
.team-asym .advisor { grid-column: 1 / -1; align-items: center; margin-top: 28px;
  background: linear-gradient(90deg, rgba(211, 148, 104, .08), rgba(255, 255, 255, 0) 60%), var(--surface); }
.team-asym .advisor > div { flex: 1; }
.team-asym .advisor a { white-space: nowrap; }
@media (hover: hover) { .team-asym .broker:nth-child(2):hover { transform: translateY(24px); } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { width: min(76vw, 300px); }
  .steps-layout, .team-layout { grid-template-columns: 1fr; gap: 32px; }
  .steps-intro { position: static; }
}
@media (max-width: 720px) {
  .hero-split { padding: 44px 0 40px; }
  .stats-asym { grid-template-columns: 1fr 1fr; }
  .stats-asym .stat-lead { grid-column: 1 / -1; border-inline-start: 0; }
  .stats-asym .stat:nth-child(2) { border-inline-start: 0; border-top: 1px solid var(--line); }
  .stats-asym .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .step-row:nth-child(2), .step-row:nth-child(3) { margin-inline-start: 0; }
  .step-row { padding: 20px; gap: 16px; }
  .team-asym { grid-template-columns: 1fr; }
  .team-asym .broker:nth-child(2) { transform: none; }
  .team-asym .advisor { margin-top: 0; flex-wrap: wrap; }
  .fc-1 { left: -2%; } .fc-2 { right: -2%; }
  .locked-stack.layered { padding: 12px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .float-card { animation: none; }
}
.card.welcome { background: linear-gradient(120deg, rgba(35, 112, 90, .16), rgba(255, 255, 255, 0) 48%), var(--surface); border-color: rgba(91, 179, 148, .2); }
@media (max-width: 720px) { .locked-stack.layered .locked-card:nth-child(1) { transform: rotate(-1.5deg); } .locked-stack.layered .locked-card:nth-child(2) { transform: translateX(6px); } .locked-stack.layered .locked-card:nth-child(3) { transform: rotate(1.2deg); } }
.consent input { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-strong); background: rgba(255, 255, 255, .03); display: grid; place-content: center; transition: background .2s var(--ease), border-color .2s var(--ease); }
.consent input::after { content: ""; width: 10px; height: 5px; border: 2px solid #0b1426; border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); transition: transform .2s var(--ease); margin-top: -2px; }
.consent input:checked { background: var(--gold); border-color: var(--gold); }
.consent input:checked::after { transform: rotate(-45deg) scale(1); }
.consent input.invalid { border-color: var(--danger); }
@media (hover: hover) { .consent:hover input:not(:checked) { border-color: rgba(211, 148, 104, .5); } }

/* =========================================================
   Design-eng pass – spacing system, calm surfaces, native mobile
   ========================================================= */
html { -webkit-tap-highlight-color: transparent; text-rendering: optimizeLegibility; }
body { min-height: 100vh; min-height: 100dvh; font-feature-settings: "kern" 1; }

/* One spacing rhythm everywhere: generous air between sections, safe-area aware gutters */
.container { padding-inline: max(var(--gutter), env(safe-area-inset-right)) max(var(--gutter), env(safe-area-inset-left)); }
.section, .team-sec { padding-block: var(--section); }
.teaser-sec { padding-top: calc(var(--section) * .9); }
.hero-split { padding-block: clamp(48px, 8vw, 104px) clamp(56px, 7vw, 96px); }
.stats-asym { margin-top: clamp(48px, 7vw, 88px); }
.footer { padding-block: 40px calc(40px + env(safe-area-inset-bottom)); }

/* Typography: tighter display, comfortable reading measure */
.hero-split h1 { line-height: 1.02; letter-spacing: -.025em; }
.steps-intro h2, .team-intro h2, .teaser h2 { line-height: 1.08; letter-spacing: -.02em; }
p { text-wrap: pretty; }
.teaser p, .team-intro p, .steps-intro p { max-width: 42ch; }
.kicker { font-size: .82rem; font-weight: 700; letter-spacing: .06em; }

/* Calm, not loud: no pulsing glow, quieter gold shadow, hairline borders */
.pulse-dot { animation: none; box-shadow: 0 0 0 3px rgba(91, 179, 148, .16); }
.btn.gold { background: linear-gradient(180deg, #ecbf9d 0%, var(--gold) 55%, #b4703f 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 8px 22px -12px rgba(211, 148, 104, .5); }
.btn { min-height: 48px; }
.btn.xl { min-height: 58px; padding-inline: 2em; }
.btn.sm { min-height: 40px; }
.input, .select, .textarea { border-radius: var(--radius-sm); }
.topbar { background: rgba(11, 20, 38, .78); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); padding-top: env(safe-area-inset-top); }

/* ---------- Native mobile feel ---------- */
@media (pointer: coarse) {
  /* every tappable thing at least 44px tall */
  .footer a, .team-card a, .text-link, .direct-links a, .footer-links a, .admin-link, .btn.sm { min-height: 44px; display: inline-flex; align-items: center; }
  .icon-btn { width: 44px; height: 44px; }
  /* pressed state instead of hover */
  .prop:active, .team-card:active, .step-row:active, .choice:active, .chip-opt:active { transform: scale(.985); transition-duration: .1s; }
  .btn:active { transform: scale(.97); }
}
@media (max-width: 640px) {
  .topbar .container { height: 58px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 11px; }
  .hero-split h1 { font-size: clamp(2.2rem, 10.5vw, 2.9rem); }
  .hero-split .lead { margin-bottom: 26px; }
  .hero-cta .btn.xl { width: 100%; }
  .hero-split .hero-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .stats-asym .stat { padding: 18px 20px; }
  .stats-asym .stat-lead b { font-size: 2.8rem; }
  .footer-grid { flex-direction: column; gap: 20px; }
  .footer-links { gap: 4px 18px; }

  /* Dialogs become bottom sheets, like a native app */
  .modal-backdrop { place-items: end center; padding: 0; }
  .modal { max-width: none; border-radius: 24px 24px 0 0; padding: 30px 20px calc(24px + env(safe-area-inset-bottom)); max-height: 88vh; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; animation: sheetUp .38s var(--ease-out); }
  .modal::before { content: ""; position: absolute; top: 9px; left: 50%; width: 38px; height: 5px; margin-left: -19px; border-radius: 3px; background: var(--line-strong); }
  .modal-close { top: 14px; left: 14px; }

  /* Questionnaire: the next-step button stays within thumb reach */
  .funnel-card { padding-bottom: 0; }
  .funnel-actions { position: sticky; bottom: 0; z-index: 5; margin: 16px -18px 0; padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(18, 32, 58, 0), rgba(18, 32, 58, .96) 32%); border-radius: 0 0 var(--radius) var(--radius); }
  .funnel-actions .btn.gold { flex: 1; }

  #toast-root { bottom: calc(16px + env(safe-area-inset-bottom)); }
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }

/* Sticky call-to-action on phones (landing page) */
.m-cta { display: none; }
@media (max-width: 640px) {
  .m-cta { display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 60; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(11, 20, 38, .82); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
    border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease-out); }
  .m-cta.show { transform: none; }
  .m-cta .btn { width: 100%; }
  body.has-mcta .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .m-cta { transition: none; } .modal { animation: none; } }
@media (pointer: coarse) { .brand { min-height: 44px; } }

/* =========================================================
   Motion system – one rhythm for the whole site
   Only transform / opacity animate (GPU-composited, 60fps).
   ========================================================= */

/* ---------- Entrances ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity var(--dur-enter) var(--ease-out), transform var(--dur-enter) var(--ease-out); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal]:not(.in) { will-change: opacity, transform; }
.js [data-reveal].in { opacity: 1; transform: none; }
/* the stats strip itself is the stage; its figures arrive one by one */
.stats-asym { overflow: hidden; }

/* Hero headline: the gold line lands a beat after the first line */
.js .hero-split h1 .gold { display: block; opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .9s var(--ease-out) .32s, transform .9s var(--ease-out) .32s; }
.js .hero-split h1.in .gold, .hero-split h1:not([data-reveal]) .gold { opacity: 1; transform: none; }

/* Dial: the arc sweeps only when the visual arrives, then the cards settle in */
.dial-arc { animation: none; stroke-dashoffset: 132; transition: stroke-dashoffset 1.8s var(--ease-out) .45s; }
.js .hero-visual:not(.in) .dial-arc { stroke-dashoffset: 527.8; }
.float-card { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(24, 42, 74, .94); animation: floaty 7s ease-in-out 2.2s infinite; translate: 0 0; opacity: 1;
  transition: opacity .8s var(--ease-out) 1.15s, translate .8s var(--ease-out) 1.15s; }
.fc-2 { transition-delay: 1.35s; animation-delay: 3.4s; }
.js .hero-visual:not(.in) .float-card { opacity: 0; translate: 0 14px; }

/* Locked cards fan out after the copy beside them, then the lock badge pops */
.locked-stack.layered .locked-card { transition: transform 1s var(--ease-out), opacity .8s var(--ease-out); }
.locked-stack.layered .locked-card:nth-child(2) { transition-delay: .1s; }
.locked-stack.layered .locked-card:nth-child(3) { transition-delay: .2s; }
.js .locked-stack.layered:not(.in) .locked-card { transform: translate3d(0, 26px, 0) scale(.97); opacity: 0; }
.lock-badge { transition: opacity .6s var(--ease-out) .55s, scale .6s var(--ease-out) .55s; scale: 1; }
.js .locked-stack:not(.in) .lock-badge { opacity: 0; scale: .94; }
.locked-stack.layered[data-reveal] { transform: none; }

/* Team: offset with margin (not transform) so entrances never fight the layout */
.team-asym .broker:nth-child(2) { transform: none; margin-top: 28px; }
@media (hover: hover) { .team-asym .broker:nth-child(2):hover { transform: translateY(-4px); } }
@media (max-width: 720px) { .team-asym .broker:nth-child(2) { margin-top: 0; } }

/* ---------- Hover & focus: soft, consistent ---------- */
a, button, .btn, .choice, .chip-opt, .tab, .filter-chip, .input, .select, .textarea { transition-duration: var(--dur-ui); transition-timing-function: var(--ease-out); }
.btn { transition-property: transform, box-shadow, background-color, border-color, color; }
:focus-visible { outline-offset: 4px; transition: outline-offset var(--dur-micro) var(--ease-out); }
.btn:focus-visible, .text-link:focus-visible { outline-offset: 3px; }

/* Card lift: the big shadow lives on a pseudo-element and only fades (no repaint of the card) */
.team-card, .step-row, .stat-card { position: relative; }
.team-card::after, .step-row::after, .stat-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .7); opacity: 0; transition: opacity var(--dur-ui) var(--ease-out);
}
.section-light .step-row::after { box-shadow: 0 26px 46px -24px rgba(18, 32, 58, .35); }
.team-card, .step-row, .stat-card { transition: transform var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out); }
@media (hover: hover) {
  .team-card:hover, .step-row:hover, .stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .05); }
  .section-light .step-row:hover { box-shadow: 0 1px 1px rgba(18, 32, 58, .04), 0 14px 30px -18px rgba(18, 32, 58, .25); }
  .team-card:hover::after, .step-row:hover::after, .stat-card:hover::after { opacity: 1; }
  /* small companions follow the card */
  .team-card .team-avatar { transition: transform var(--dur-ui) var(--ease-out); }
  .team-card:hover .team-avatar { transform: scale(1.06); }
  .step-num { transition: color var(--dur-ui) var(--ease-out); }
  .step-row:hover .step-num { color: var(--gold); }
  .check-list li .ic { transition: transform var(--dur-ui) var(--ease-out); }
  .check-list li:hover .ic { transform: scale(1.12); }
  .choice:hover { transform: translateY(-1px); }
  .chip-opt:hover, .filter-chip:hover { transform: translateY(-1px); }
}

/* Links: underline draws in from the reading side */
.text-link { border-bottom: 0; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) right bottom / 100% 1px no-repeat; transition: background-size var(--dur-ui) var(--ease-out), color var(--dur-ui); }
@media (hover: hover) { .text-link:hover { background-size: 40% 1px; } }
.footer-links a:not(.admin-link), .consent a { text-decoration: none; background: linear-gradient(currentColor, currentColor) right bottom / 100% 1px no-repeat; transition: background-size var(--dur-ui) var(--ease-out), color var(--dur-ui); }
.footer-agents a, .team-card a { transition: color var(--dur-ui) var(--ease-out); }
@media (hover: hover) {
  .footer-links a:not(.admin-link):hover, .consent a:hover { background-size: 0 1px; color: var(--text); }
  .footer-agents a:hover, .team-card a:hover { color: var(--text); }
}

/* ---------- Questionnaire: progress glides, fields cascade in ---------- */
.progress-bar i { width: 100% !important; transform-origin: right center; transition: transform .7s var(--ease-out); }
.funnel-card > form > *, .funnel-card > :not(form) { animation: fadeUp .5s var(--ease-out) both; }
.funnel-card > :nth-child(2), .funnel-card > form > :nth-child(1) { animation-delay: .05s; }
.funnel-card > :nth-child(3), .funnel-card > form > :nth-child(2) { animation-delay: .1s; }
.funnel-card > :nth-child(4), .funnel-card > form > :nth-child(3) { animation-delay: .15s; }
.funnel-card > :nth-child(5), .funnel-card > form > :nth-child(4) { animation-delay: .2s; }
.funnel-card > :nth-child(n+6), .funnel-card > form > :nth-child(n+5) { animation-delay: .25s; }
@keyframes fadeUp { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
.choice .radio::after { transition: transform var(--dur-micro) var(--ease-out); }
.reveal { animation-duration: .5s; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .hero-split h1 .gold, .js .hero-visual:not(.in) .float-card, .js .locked-stack.layered:not(.in) .locked-card, .js .locked-stack:not(.in) .lock-badge { opacity: 1 !important; transform: none !important; translate: none !important; scale: none !important; }
  .js .hero-visual:not(.in) .dial-arc { stroke-dashoffset: 132; }
}

/* =========================================================
   Final polish – calmer motion, native touch, review fixes
   ========================================================= */
.lead, .hero .lead { font-weight: 400; }

/* Stats strip now holds three figures (the 48 lives in the dial above) */
.stats-asym { grid-template-columns: 1.5fr 1fr 1fr; }
@media (max-width: 720px) {
  .stats-asym { grid-template-columns: 1fr 1fr; }
  .stats-asym .stat:nth-child(2) { border-inline-start: 0; }
  .stats-asym .stat:nth-child(3) { border-inline-start: 1px solid var(--line); }
}

/* Calmer hero: the floating cards breathe instead of bobbing */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.float-card { animation-duration: 9s; }

/* The mobile header already has the sticky button below – no second CTA up top */
@media (max-width: 640px) { html:not(.has-session) .topbar [data-session-cta] { display: none; } }
.icon-btn { flex: none; }
@media (max-width: 480px) { .admin-tag { display: none; } }

/* ---------- Touch: every control is finger-sized ---------- */
@media (pointer: coarse) {
  .star { width: 44px; height: 44px; }
  .chip-opt { min-height: 44px; display: inline-flex; flex-direction: column; justify-content: center; }
  .tbl .name-cell a { min-height: 44px; display: inline-flex; align-items: center; }
  .seg button { min-height: 44px; }
  .range-row input[type=range] { height: 36px; }
}
/* Sliders: a real thumb you can grab */
.range-row input[type=range] { -webkit-appearance: none; appearance: none; background: transparent; height: 28px; cursor: pointer; }
.range-row input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--surface-3); }
.range-row input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--surface-3); }
.range-row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--gold); border: 3px solid #0b1426; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); transition: transform var(--dur-micro) var(--ease-out); }
.range-row input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); border: 3px solid #0b1426; }
.range-row input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }

/* ---------- Tap feedback: instant, like a native app ---------- */
@media (hover: none) {
  .btn:active, .icon-btn:active, .tab:active, .filter-chip:active, .chip-opt:active, .star:active, .seg button:active, .choice:active {
    transform: scale(.96); transition-duration: .08s;
  }
  .prop:active, .team-card:active, .step-row:active, .nb-item:active, .prop-row:active { transform: scale(.985); transition-duration: .1s; }
  .text-link:active, .footer a:active, .team-card a:active, .direct-links a:active, .consent a:active { opacity: .55; transition: opacity .08s; }
  .btn.gold:active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 4px 12px -8px rgba(211, 148, 104, .5); }
}
button, .btn, .tab, .chip-opt, .choice, .star { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
@media (pointer: coarse) { .range-row input[type=range] { height: 44px; } }

/* =========================================================
   Header – letterhead style: בס״ד small above a clean wordmark
   ========================================================= */
.brand-wrap { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; }
.bsd { align-self: flex-start; margin: 0; font-family: var(--font); font-size: .7rem; font-weight: 500; line-height: 1; letter-spacing: .02em; color: var(--muted); }
.brand { gap: 0; min-height: 0; }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; line-height: 1; letter-spacing: -.015em; color: var(--text); unicode-bidi: isolate; }
.wm-48 { color: var(--gold); margin-inline-end: 1px; }
.topbar .container { height: 64px; }
@media (max-width: 640px) {
  .topbar .container { height: 60px; }
  .wordmark { font-size: 1.22rem; }
}
@media (hover: hover) { .brand:hover .wordmark { opacity: .85; } }
.wordmark { transition: opacity var(--dur-ui, .3s) ease; }
@media (pointer: coarse) { .brand { min-height: 40px; display: inline-flex; align-items: center; } }

/* New logo in the header */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 42px; height: 42px; flex: none; border-radius: 11px; object-fit: cover; box-shadow: 0 0 0 1px rgba(211, 148, 104, .22), 0 6px 16px -8px rgba(0, 0, 0, .7); }
.topbar .container { height: 70px; }
@media (max-width: 640px) { .topbar .container { height: 64px; } .brand-logo { width: 38px; height: 38px; border-radius: 10px; } }

/* =========================================================
   Brand mark – vector clock + typographic wordmark, one line
   ========================================================= */
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-clock { width: 26px; height: 26px; flex: none; fill: none; overflow: visible; }
.brand-clock circle:first-child { stroke: var(--gold); stroke-width: 1.6; }
.brand-clock .ticks { stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; opacity: .75; }
.brand-clock .hands { stroke: var(--text); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.brand-clock .hub { fill: var(--gold); stroke: none; }
.wordmark { font-family: var(--font-display); font-size: 1.28rem; line-height: 1; letter-spacing: -.01em; color: var(--text); white-space: nowrap; }
.wm-48 { font-weight: 800; color: var(--text); margin: 0; }
.wm-h { font-weight: 500; color: var(--text-2); letter-spacing: .01em; }
@media (hover: hover) {
  .brand .hands { transform-origin: 16px 16px; transition: transform .6s var(--ease-out, ease); }
  .brand:hover .hands { transform: rotate(30deg); }
}
.topbar .container { height: 66px; }
@media (max-width: 640px) {
  .topbar .container { height: 62px; }
  .wordmark { font-size: 1.18rem; }
  .brand-clock { width: 24px; height: 24px; }
}

/* Navy platform details */
.btn.gold { color: #0b1426; }
.btn.ghost { background: rgba(214, 226, 255, .04); }
.hero h1 .gold { background: linear-gradient(120deg, #f4d6c0, #d39468 55%, #b4703f); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   DIRECTION A – warm off-white, deep royal navy, one orange accent
   (overrides everything above; light, calm, human)
   ========================================================= */
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.65; letter-spacing: 0; }
body::before, body::after { display: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; color: var(--text); }
::selection { background: rgba(240, 138, 58, .28); }
:focus-visible { outline-color: var(--text); }

/* ---------- Header ---------- */
.topbar { background: rgba(246, 244, 239, .9); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); }
.topbar .container { gap: 24px; }
.bsd { color: var(--muted); }
.wm-48 { color: var(--text); font-weight: 700; }
.wm-h { color: var(--text-2); font-weight: 500; }
.brand-clock circle:first-child, .brand-clock .ticks { stroke: var(--accent); }
.brand-clock .hands { stroke: var(--text); }
.brand-clock .hub { fill: var(--accent); }
.topnav { display: flex; gap: 28px; margin-inline-start: auto; }
.topnav a { color: var(--text-2); font-weight: 500; font-size: .98rem; transition: color .2s; }
.topnav a:hover { color: var(--text); }
@media (max-width: 900px) { .topnav { display: none; } }

/* ---------- Buttons ---------- */
.btn.gold { background: var(--accent); color: var(--accent-ink); font-weight: 700; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 20px -12px rgba(240, 138, 58, .7); }
@media (hover: hover) { .btn.gold:hover { background: var(--accent-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 26px -12px rgba(240, 138, 58, .75); } }
.btn.ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--text); }
@media (hover: hover) { .btn.ghost:hover { border-color: var(--text); color: var(--text); background: transparent; } }
.btn.danger { background: var(--danger-soft); }
.icon-btn { border-color: var(--line-strong); color: var(--text-2); }

/* ---------- Surfaces ---------- */
.card, .prop, .step-card, .team-card, .stat-card, .nb-item, .prop-row, .locked-card {
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.card.welcome { background: var(--surface); border-color: var(--line); }
.input, .select, .textarea { background: #fff; color: var(--text); border: 1px solid var(--line-strong); }
.input::placeholder, .textarea::placeholder { color: #8d94ab; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--text); box-shadow: 0 0 0 4px rgba(20, 36, 84, .10); }
.select option { background: #fff; color: var(--text); }
input[type="date"] { color-scheme: light; }
.choice { background: #fff; border-color: var(--line-strong); }
.choice.selected { border-color: var(--text); background: rgba(20, 36, 84, .04); }
.choice.selected .radio { border-color: var(--text); }
.choice.selected .radio::after { background: var(--text); }
.info-box { background: rgba(20, 36, 84, .04); border-color: var(--line); color: var(--text-2); }
.info-box .ic { color: var(--text); }
.info-box.gold { background: rgba(240, 138, 58, .08); border-color: rgba(240, 138, 58, .3); }
.info-box.gold .ic { color: var(--gold); }
.err-box { background: var(--danger-soft); border-color: rgba(185, 56, 42, .25); }
.progress-bar { background: var(--surface-3); }
.progress-bar i { background: var(--text); }
.progress-steps span.done { color: var(--emerald); }
.progress-steps span.active { color: var(--text); }
.consent input { background: #fff; border-color: var(--line-strong); }
.consent input:checked { background: var(--text); border-color: var(--text); }
.consent input::after { border-color: #fff; }
.consent a, .secure-note a, .direct-links a { color: var(--text); }
.reasons li { background: var(--surface-2); border-color: var(--line); }
.loader-box .spinner, .spinner { border-color: var(--surface-3); border-top-color: var(--text); }
@media (max-width: 640px) {
  .funnel-actions { background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .97) 32%); }
}

/* Dashboard */
.tabs { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.tab { color: var(--text-2); }
.tab.active { background: var(--text); color: #fff; box-shadow: none; }
.tab .count { background: var(--surface-3); color: var(--text); }
.tab.active .count { background: var(--accent); color: var(--accent-ink); }
.kpi, .price-box, .big-fig, .spec { background: var(--surface-2); border-color: var(--line); }
.price-box.real { background: var(--emerald-soft); border-color: rgba(29, 127, 91, .25); }
.big-fig.g { background: rgba(240, 138, 58, .08); border-color: rgba(240, 138, 58, .3); }
.big-fig.g b { color: var(--gold); }
.badge.pre { background: var(--accent); color: var(--accent-ink); }
.badge.dark { background: rgba(20, 36, 84, .82); color: #fff; border-color: transparent; }
.badge.pub { background: rgba(255, 255, 255, .85); color: var(--text); }
.countdown { color: var(--gold); }
.seg { background: var(--surface-2); border-color: var(--line-strong); }
.seg button.on { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-sm); }
.range-row output { background: var(--surface-2); color: var(--text); }
.range-row input[type=range]::-webkit-slider-thumb { background: var(--text); border-color: #fff; }
.range-row input[type=range]::-moz-range-thumb { background: var(--text); border-color: #fff; }
.chip-opt { background: #fff; border-color: var(--line-strong); }
.chip-opt.on { border-color: var(--text); background: rgba(20, 36, 84, .05); color: var(--text); }
.chip-opt.on small { color: var(--text-2); }
.star { color: #c9cdd9; }
.star.on { color: var(--accent); }
.save-btn.saved { color: var(--gold); border-color: rgba(240, 138, 58, .5); background: rgba(240, 138, 58, .08); }
.welcome h1 { color: var(--text); }
.access-pill { color: var(--emerald); }
.user-chip { background: #fff; border-color: var(--line); }
.user-chip .avatar { background: var(--text); color: #fff; }

/* Modal, toast, demo bar */
.modal-backdrop { background: rgba(20, 36, 84, .38); }
.modal { background: #fff; }
.toast { background: var(--text); color: #fff; border-color: transparent; }
.toast .ic { color: #8fe0bd; }
.demo-bar { background: #fff3e6; color: #7a3d0b; border-bottom-color: rgba(240, 138, 58, .3); }

/* Admin */
.tbl th { background: var(--surface-2); color: var(--muted); }
.tbl tr:hover td { background: rgba(20, 36, 84, .025); }
.bl-list li { background: var(--surface-2); }
.filter-chip.on { border-color: var(--text); color: var(--text); background: rgba(20, 36, 84, .05); }

/* Footer: deep navy anchor */
.footer { --text: #ffffff; --text-2: #c9d1e6; --muted: #a9b3cf; --line: rgba(255, 255, 255, .12); background: #142454; color: var(--text-2); border-top: 0; }
.footer a { color: #fff; }
.footer .admin-link { color: #9aa5c4; }
.m-cta { background: rgba(246, 244, 239, .94); border-top-color: var(--line); }

/* ---------- Homepage (Direction A) ---------- */
.a-hero { padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px); }
.a-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.a-hero-copy h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.04; font-weight: 700; letter-spacing: -.025em; margin: 0 0 22px; text-wrap: balance; }
.a-lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--text-2); max-width: 34ch; margin: 0 0 32px; line-height: 1.6; }
.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.a-textlink { color: var(--text); font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.a-facts { list-style: none; margin: 44px 0 0; padding: 22px 0 0; display: flex; border-top: 1px solid var(--line); }
.a-facts li { flex: 1; display: grid; gap: 2px; padding-inline-end: 18px; }
.a-facts li + li { padding-inline-start: 18px; border-inline-start: 1px solid var(--line); }
.a-facts b { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.a-facts span { color: var(--muted); font-size: .93rem; }
.a-hero-photo { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; display: flex; align-items: flex-end;
  background: linear-gradient(180deg, #22397a 0%, #142454 100%); color: rgba(255, 255, 255, .2); box-shadow: var(--shadow-lg); }
.a-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.a-skyline { width: 100%; height: 72%; display: block; }
.a-hero-photo figcaption { position: absolute; top: 20px; right: 20px; background: rgba(255, 255, 255, .94); color: var(--text); font-weight: 600; font-size: .92rem; padding: 8px 14px; border-radius: 999px; }

.a-section { padding-block: clamp(72px, 9vw, 128px); }
.a-how, .a-team { background: #fff; border-block: 1px solid var(--line); }
.a-head { max-width: 640px; margin-bottom: 48px; }
.a-head h2, .a-why h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.15; margin: 0 0 12px; }
.a-head p { color: var(--text-2); margin: 0; font-size: 1.1rem; }
.a-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.a-steps li { border-top: 2px solid var(--text); padding-top: 22px; }
.a-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-bottom: 16px; }
.a-steps h3 { font-size: 1.25rem; margin: 0 0 8px; }
.a-steps p { color: var(--text-2); margin: 0; }

.a-why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.a-why-grid > div > p { color: var(--text-2); font-size: 1.1rem; max-width: 42ch; margin: 0 0 28px; }
.a-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.a-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.a-list h3 { font-size: 1.12rem; margin: 0 0 6px; }
.a-list p { color: var(--text-2); margin: 0; }

.a-people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.a-person { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--bg); }
.a-avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: #fff; font-weight: 700; font-size: 1.4rem; margin-bottom: 18px; overflow: hidden; }
.a-avatar img { width: 100%; height: 100%; object-fit: cover; }
.a-person h3 { margin: 0 0 6px; font-size: 1.2rem; }
.a-person p { color: var(--text-2); margin: 0 0 14px; line-height: 1.5; }
.a-person a { color: var(--text); font-weight: 600; }

.a-cta { background: var(--text); padding-block: clamp(64px, 8vw, 104px); }
.a-cta-inner { text-align: center; display: grid; justify-items: center; gap: 14px; }
.a-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; }
.a-cta p { color: #c9d1e6; margin: 0 0 12px; font-size: 1.1rem; }

@media (max-width: 900px) {
  .a-hero-grid, .a-why-grid { grid-template-columns: 1fr; }
  .a-hero-photo { aspect-ratio: 16 / 10; }
  .a-steps, .a-people { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .a-list { grid-template-columns: 1fr; }
  .a-facts { flex-wrap: wrap; gap: 12px 0; }
  .a-facts li { flex: 1 1 33%; }
  .hero-cta .btn.xl { width: 100%; }
  .a-textlink { margin-inline: auto; }
}
.prop-loc h3 { color: #fff; }
.prop-loc small { color: #ffd6b5; }
.legal-card h2 { color: var(--text); }
@media (max-width: 560px) {
  .a-facts { flex-direction: column; gap: 10px; margin-top: 32px; }
  .a-facts li, .a-facts li + li { display: flex; gap: 8px; align-items: baseline; padding: 0; border: 0; flex: none; }
}

/* =========================================================
   Header layout: בס״ד at the right corner, logo larger on the left
   ========================================================= */
.topbar .container { display: flex; align-items: center; height: 76px; gap: 20px; position: relative; }
.bsd { order: 0; align-self: flex-start; margin-top: 8px; font-size: .74rem; }
.topnav { order: 1; margin-inline: auto; }
.topbar-actions { order: 2; }
.brand-wrap { order: 3; flex-direction: row; align-items: center; gap: 0; }
.brand { gap: 12px; }
.wordmark { font-size: 1.7rem; }
.brand-clock { width: 34px; height: 34px; }
@media (max-width: 900px) { .topbar-actions { margin-inline-start: auto; } }
@media (max-width: 640px) {
  .topbar .container { height: 68px; }
  html:not(.has-session) .brand-wrap { margin-inline-start: auto; }
  .wordmark { font-size: 1.55rem; }
  .brand-clock { width: 31px; height: 31px; }
}

/* =========================================================
   Accessibility menu + modes
   ========================================================= */
body { font-size: 1.0625rem; } /* rem so the text-size control scales everything */
.a11y-fab {
  position: fixed; z-index: 9400; left: max(16px, env(safe-area-inset-left)); bottom: calc(20px + env(safe-area-inset-bottom));
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: #142454; color: #fff; border: 2px solid #fff; box-shadow: 0 6px 18px rgba(20, 36, 84, .35); cursor: pointer;
}
.a11y-fab svg { width: 30px; height: 30px; }
.a11y-fab:focus-visible { outline: 3px solid #f08a3a; outline-offset: 3px; }
body.has-mcta .a11y-fab { bottom: calc(20px + env(safe-area-inset-bottom)); }
@media (max-width: 640px) { body.has-mcta .a11y-fab { bottom: calc(92px + env(safe-area-inset-bottom)); } }
.a11y-panel {
  position: fixed; z-index: 9450; left: max(16px, env(safe-area-inset-left)); bottom: calc(84px + env(safe-area-inset-bottom));
  width: min(330px, calc(100vw - 32px)); max-height: calc(100vh - 120px); overflow: auto;
  background: #fff; color: #142454; border: 1px solid rgba(20, 36, 84, .15); border-radius: 16px; padding: 16px;
  box-shadow: 0 24px 48px -16px rgba(20, 36, 84, .35); font-family: 'IBM Plex Sans Hebrew', Arial, sans-serif;
}
@media (max-width: 640px) { body.has-mcta .a11y-panel { bottom: calc(156px + env(safe-area-inset-bottom)); } }
.a11y-panel[hidden] { display: none; }
.a11y-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.a11y-top h2 { margin: 0; font-size: 1.15rem; color: #142454; }
.a11y-x { width: 44px; height: 44px; border-radius: 10px; border: 0; background: #f3f1ec; color: #142454; display: grid; place-items: center; cursor: pointer; }
.a11y-x svg { width: 20px; height: 20px; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-opt {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: 10px 6px;
  border-radius: 12px; border: 2px solid #e2e5ee; background: #f7f8fb; color: #142454; font-size: .88rem; font-weight: 600; line-height: 1.25; cursor: pointer;
}
.a11y-opt b { font-size: 1.15rem; font-weight: 700; }
.a11y-opt[aria-pressed="true"] { border-color: #142454; background: #e8ecf6; }
.a11y-opt.wide { grid-column: 1 / -1; min-height: 48px; }
.a11y-scale { grid-column: 1 / -1; text-align: center; margin: 0; font-size: .85rem; color: #4a5373; }
.a11y-link { display: block; margin-top: 12px; text-align: center; color: #142454; font-weight: 700; text-decoration: underline; min-height: 44px; line-height: 44px; }

/* --- Mode: high contrast --- */
html.a11y-contrast body, html.a11y-contrast body *:not(svg):not(path):not(circle):not(rect):not(g) {
  background-color: #000 !important; background-image: none !important; color: #fff !important;
  border-color: #fff !important; box-shadow: none !important; text-shadow: none !important;
}
html.a11y-contrast a, html.a11y-contrast a * { color: #ffeb3b !important; }
html.a11y-contrast .btn.gold, html.a11y-contrast .btn.gold * { background-color: #ffeb3b !important; color: #000 !important; }
html.a11y-contrast .a11y-opt[aria-pressed="true"] { outline: 3px solid #ffeb3b !important; }
html.a11y-contrast .brand-clock circle, html.a11y-contrast .brand-clock path { stroke: #ffeb3b !important; }
html.a11y-contrast img { filter: grayscale(1) contrast(1.2); }
html.a11y-contrast #watermark { display: none !important; }

/* --- Mode: highlight links --- */
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed currentColor; outline-offset: 2px; }

/* --- Mode: readable font --- */
html.a11y-font body, html.a11y-font body *:not(svg):not(path) { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .02em !important; word-spacing: .08em !important; }
html.a11y-font body { line-height: 1.85; }

/* --- Mode: stop animations --- */
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-motion [data-reveal] { opacity: 1 !important; transform: none !important; }

@media print { .a11y-fab, .a11y-panel { display: none !important; } }
.a-people { grid-template-columns: repeat(2, minmax(0, 360px)); }
@media (max-width: 900px) { .a-people { grid-template-columns: 1fr; } }
.advisor-q { color: var(--text-2); margin: 28px auto 0; max-width: 46ch; }
.advisor-panel { margin-top: 20px; animation: rise .45s var(--ease-out, ease); }
.advisor-card { display: flex; gap: 16px; align-items: flex-start; text-align: right; max-width: 560px; margin: 0 auto; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.advisor-card h2 { margin: 0 0 6px; font-size: 1.2rem; }
.advisor-card h2:focus { outline: none; }
.advisor-card p { margin: 0; color: var(--text-2); }
.advisor-card .a-avatar { margin: 0; flex: none; }

/* =========================================================
   DIRECTION B (editorial): cream, night navy, terracotta,
   serif headlines. Overrides everything above.
   ========================================================= */
body { background: var(--bg); color: var(--text); }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.005em; text-wrap: balance; }
h3 { font-family: var(--font); font-weight: 600; letter-spacing: 0; }
::selection { background: rgba(176, 80, 42, .22); }

/* ---------- Header: quiet, thin rule ---------- */
.topbar { background: rgba(244, 239, 231, .92); border-bottom: 1px solid var(--line); }
.topnav a { font-size: .9rem; letter-spacing: .02em; color: var(--text-2); position: relative; }
.topnav a::after { content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 1px; background: var(--text); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
@media (hover: hover) { .topnav a:hover::after { transform: scaleX(1); } }
.wm-48 { font-family: var(--font-display); font-weight: 700; color: var(--text); }
.wm-h { font-family: var(--font-display); font-weight: 400; color: var(--text); }
.brand-clock circle:first-child, .brand-clock .ticks { stroke: var(--accent); }
.brand-clock .hub { fill: var(--accent); }

/* ---------- Buttons: square, calm ---------- */
.btn { border-radius: 2px; letter-spacing: .02em; }
.btn.gold { background: var(--accent); color: #fff; font-weight: 600; box-shadow: none; }
@media (hover: hover) { .btn.gold:hover { background: var(--accent-hover); box-shadow: none; transform: none; } }
.btn.ghost { border: 1px solid var(--line-strong); background: transparent; color: var(--text); }
.btn.xl { min-height: 58px; padding-inline: 34px; font-size: 1.05rem; }

/* =========================================================
   HOME (b-*)
   ========================================================= */
.b-kicker { display: inline-flex; align-items: center; gap: 12px; font-size: .82rem; letter-spacing: .14em; color: var(--muted); font-weight: 500; }
.b-kicker::before { content: ""; width: 28px; height: 1px; background: var(--accent); }

/* Hero */
.b-hero { padding-block: clamp(36px, 6vw, 84px) clamp(48px, 7vw, 96px); }
.b-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.b-hero h1 { font-size: clamp(2.7rem, 6.2vw, 5.4rem); line-height: 1.02; margin: 18px 0 22px; color: var(--text); }
.b-hero h1 em { font-style: normal; color: var(--accent); }
.b-lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--text-2); max-width: 34ch; margin: 0 0 32px; line-height: 1.7; }
.b-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.b-textlink { color: var(--text); font-weight: 500; border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; }
@media (hover: hover) { .b-textlink:hover { border-color: var(--text); } }
.b-facts { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; border-top: 1px solid var(--line); }
.b-facts li { padding: 18px 0 0; padding-inline-end: 34px; margin-inline-end: 34px; border-inline-end: 1px solid var(--line); }
.b-facts li:last-child { border: 0; margin: 0; padding-inline-end: 0; }
.b-facts b { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; line-height: 1.1; }
.b-facts span { font-size: .88rem; color: var(--muted); }

.b-mosaic { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 12px; margin: 0; }
.b-mosaic figure { margin: 0; overflow: hidden; background: var(--surface-3); position: relative; }
.b-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .b-mosaic figure:hover img { transform: scale(1.03); } }
.b-mosaic .m1 { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.b-mosaic .m2, .b-mosaic .m3 { aspect-ratio: 4 / 3; }
.b-mosaic figcaption { position: absolute; inset-inline-start: 14px; bottom: 12px; color: #fff; font-size: .8rem; letter-spacing: .12em; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }

/* Sections */
.b-section { padding-block: clamp(64px, 9vw, 120px); }
.b-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.b-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; margin: 12px 0 0; }
.b-head p { color: var(--text-2); margin: 0; max-width: 46ch; font-size: 1.05rem; }

/* How it works: navy band */
.b-how { background: var(--navy); color: #d9deea; }
.b-how h2, .b-how h3 { color: #fff; }
.b-how .b-kicker { color: #aeb7cc; }
.b-how .b-head p { color: #c3cadb; }
.b-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .16); }
.b-steps li { padding: 30px 0 8px; padding-inline-end: 36px; }
.b-steps li + li { padding-inline-start: 36px; border-inline-start: 1px solid rgba(255, 255, 255, .16); }
.b-num { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: #e7a283; display: block; margin-bottom: 18px; }
.b-steps h3 { font-size: 1.2rem; margin: 0 0 10px; }
.b-steps p { margin: 0; color: #c3cadb; }

/* Why */
.b-why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.b-why h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; margin: 12px 0 20px; }
.b-why-copy p { color: var(--text-2); font-size: 1.08rem; max-width: 44ch; margin: 0 0 30px; }
.b-why-photo { margin: 36px 0 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-3); }
.b-why-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.b-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 12px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.b-list .n { font-family: var(--font-display); color: var(--accent); font-size: 1.25rem; grid-row: span 2; }
.b-list h3 { margin: 0; font-size: 1.15rem; }
.b-list p { margin: 0; color: var(--text-2); }

/* Team */
.b-team { background: var(--surface); border-block: 1px solid var(--line); }
.b-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.b-person { margin: 0; }
.b-person .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-3); margin-bottom: 20px; }
.b-person img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; filter: saturate(.92); }
.b-person h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; margin: 0 0 6px; }
.b-person p { margin: 0 0 12px; color: var(--muted); font-size: .95rem; }
.b-person a { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }

/* City strip */
.b-city { padding-block: clamp(64px, 9vw, 120px) 0; }
.b-city-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; }
.b-city-row figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-3); }
.b-city-row img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Closing */
.b-close { padding-block: clamp(72px, 10vw, 132px); text-align: center; }
.b-close h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.08; margin: 16px auto 18px; max-width: 16ch; }
.b-close p { color: var(--text-2); margin: 0 auto 34px; max-width: 46ch; font-size: 1.08rem; }

/* Footer */
.footer { background: var(--navy); }

/* Reveal: soft rise */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

@media (max-width: 960px) {
  .b-hero-grid, .b-why-grid, .b-head { grid-template-columns: minmax(0, 1fr); }
  .b-hero-grid > .b-mosaic { order: -1; }
  .b-steps { grid-template-columns: minmax(0, 1fr); }
  .b-steps li, .b-steps li + li { padding-inline: 0; border-inline-start: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); padding-bottom: 28px; }
}
@media (max-width: 640px) {
  .b-hero { padding-top: 16px; }
  .b-hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .b-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b-facts li { padding-inline-end: 10px; margin-inline-end: 10px; }
  .b-facts b { font-size: 1.3rem; }
  .b-cta-row .btn { width: 100%; }
  .b-people { grid-template-columns: minmax(0, 1fr); }
  .b-city-row { grid-template-columns: 1fr 1fr; }
  .b-city-row figure:first-child { grid-column: 1 / -1; }
  .b-mosaic { gap: 8px; }
}

/* =========================================================
   QUESTIONNAIRE: one question per screen, big serif
   ========================================================= */
.funnel-wrap { padding-block: clamp(28px, 5vw, 64px); }
.funnel-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; padding: clamp(24px, 4vw, 52px); }
.funnel-card h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.15; margin: 0 0 10px; }
.funnel-card .sub { color: var(--muted); font-size: 1.02rem; }
.q-count { display: inline-block; font-size: .8rem; letter-spacing: .14em; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.q-screen { animation: qIn .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes qIn { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
.progress-bar { height: 2px; background: var(--line); border-radius: 0; }
.progress-bar i { background: var(--accent); border-radius: 0; }
.progress-steps .dot { border-radius: 50%; }
.progress-steps .active .dot { background: var(--navy); color: #fff; border-color: var(--navy); }
.progress-steps .done .dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.choice { border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line-strong); box-shadow: none; min-height: 64px; transition: border-color .2s, background .2s; }
.choice b { font-size: 1.08rem; }
@media (hover: hover) { .choice:hover { border-color: var(--text); } }
.choice.selected { border-color: var(--navy); background: var(--navy); color: #fff; }
.choice.selected small { color: #c9d0e0; }
.choice.selected .radio { border-color: #fff; }
.choice.selected .radio::after { background: #fff; }
.input, .select, .textarea { border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line-strong); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15, 30, 58, .12); }
.info-box { border-radius: var(--radius-sm); }

/* Result */
.result-card { border-radius: var(--radius); box-shadow: none; border: 1px solid var(--line); background: var(--surface); }
.result-card h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }

/* =========================================================
   PERSONAL AREA
   ========================================================= */
.card { border-radius: var(--radius); box-shadow: none; }
.welcome { background: var(--navy); color: #d9deea; border: 0; }
.welcome h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.welcome p { color: #c3cadb; }
.welcome .kpi { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-sm); }
.welcome .kpi small { color: #aeb7cc; }
.welcome .kpi b { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; }
.welcome .gauge .track { stroke: rgba(255, 255, 255, .14); }
.welcome .gauge small { color: #aeb7cc; }
.access-pill { background: rgba(231, 162, 131, .14); color: #f0b89f; border-radius: 2px; }
.tabs { border-bottom: 1px solid var(--line-strong); background: var(--bg); }
.tab { border-radius: 0; font-weight: 500; }
.tab.active { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); background: transparent; }
.tab-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.prop { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: none; overflow: hidden; }
.prop-media { aspect-ratio: 4 / 3; }
.prop-loc h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; }
.badge { border-radius: 2px; letter-spacing: .03em; }
.badge.pre { background: var(--accent); color: #fff; }
.countdown { border-radius: 2px; background: var(--gold-soft); color: var(--gold-2); }
.price-box { border-radius: var(--radius-sm); background: var(--bg); }
.price-box b { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; }
.price-box.real { background: var(--navy); color: #fff; }
.price-box.real small, .price-box.real .delta { color: #c9d0e0; }
.price-box.real b { color: #fff; }
.tag { border-radius: 2px; }
.user-chip .avatar { background: var(--navy); color: #fff; }
.b-people { grid-template-columns: repeat(2, minmax(0, 400px)); }
@media (max-width: 640px) { .b-people { grid-template-columns: minmax(0, 1fr); } .b-person .ph { aspect-ratio: 1 / 1; } }
@media (max-width: 640px) { .b-mosaic .m2, .b-mosaic .m3 { display: none; } .b-mosaic .m1 { aspect-ratio: 16 / 10; } }

/* =========================================================
   Full-width photo hero, city gallery, photo closing band
   ========================================================= */
.c-hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: var(--navy); color: #fff; }
.c-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; }
.c-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(10, 20, 40, .78) 0%, rgba(10, 20, 40, .45) 42%, rgba(10, 20, 40, 0) 70%), linear-gradient(to top, rgba(10, 20, 40, .55), rgba(10, 20, 40, 0) 45%); }
.c-hero-inner { position: relative; z-index: 1; width: 100%; padding-block: clamp(48px, 8vw, 96px); }
.c-hero-copy { max-width: 620px; }
.c-hero h1 { color: #fff; font-size: clamp(2.7rem, 6.2vw, 5.4rem); line-height: 1.02; margin: 18px 0 22px; }
.c-hero h1 em { font-style: normal; color: #f2b08e; }
.c-hero .b-lead { color: rgba(255, 255, 255, .88); }
.c-hero .b-kicker { color: rgba(255, 255, 255, .8); }
.c-hero .b-kicker::before { background: #f2b08e; }
.c-hero .b-textlink { color: #fff; border-color: rgba(255, 255, 255, .5); }
.c-facts .b-facts { margin: 0; border-top: 0; padding-block: 8px 28px; }
.c-facts { border-bottom: 1px solid var(--line); }

.c-gallery { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.c-gallery figure { margin: 0; overflow: hidden; background: var(--surface-3); }
.c-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .c-gallery figure:hover img { transform: scale(1.03); } }
.c-gallery .g1 { grid-row: 1 / span 2; aspect-ratio: 4 / 5; }
.c-gallery .g2, .c-gallery .g3 { aspect-ratio: auto; min-height: 0; }

.c-close { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.c-close-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-close::after { content: ""; position: absolute; inset: 0; background: rgba(10, 20, 40, .62); }
.c-close > .container { position: relative; z-index: 1; }
.c-close h2 { color: #fff; }
.c-close p { color: rgba(255, 255, 255, .86); }
.c-close .b-kicker { color: rgba(255, 255, 255, .8); }
.b-why-photo { aspect-ratio: 16 / 9; }

@media (max-width: 640px) {
  .c-hero { min-height: 88svh; }
  .c-hero::after { background: linear-gradient(to top, rgba(10, 20, 40, .88) 0%, rgba(10, 20, 40, .55) 45%, rgba(10, 20, 40, .1) 75%); }
  .c-hero-img { object-position: 45% 30%; }
  .c-hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .c-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .c-gallery .g1 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .c-gallery .g2, .c-gallery .g3 { aspect-ratio: 1 / 1; }
}
html.a11y-contrast .c-hero::after, html.a11y-contrast .c-close::after { display: none; }
/* Hebrew reads badly with wide letter spacing */
.q-count, .b-kicker { letter-spacing: .03em; }
@media (max-width: 640px) { .funnel-actions { background: linear-gradient(180deg, rgba(251, 248, 243, 0), var(--surface) 32%); } }

/* =========================================================
   ACCESSIBILITY LAYER (ת״י 5568 / WCAG 2.0 AA)
   ========================================================= */
/* Skip link: readable on the accent color */
.skip-link { background: var(--navy, #0f1e3a); color: #fff; border-radius: 2px; outline: 3px solid #fff; outline-offset: -5px; }
.skip-link:focus { top: 12px; }
/* Clear, visible focus ring everywhere */
:focus-visible { outline: 3px solid var(--accent, #b0502a); outline-offset: 3px; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible,
.input:focus, .select:focus, .textarea:focus { outline: 3px solid var(--accent, #b0502a); outline-offset: 1px; border-color: var(--navy, #0f1e3a); box-shadow: none; }
.b-how :focus-visible, .c-hero :focus-visible, .c-close :focus-visible, .welcome :focus-visible, .price-box.real :focus-visible { outline-color: #fff; }
.choice:focus-visible, .a11y-opt:focus-visible, .a11y-x:focus-visible, .a11y-link:focus-visible { outline: 3px solid var(--accent, #b0502a); outline-offset: 2px; }
/* Form fields: borders and sample text with enough contrast */
.input, .select, .textarea { border-color: rgba(15, 30, 58, .55); }
.input::placeholder, .textarea::placeholder { color: #6b6f7d; opacity: 1; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Accessibility menu, matched to the site */
.a11y-fab { background: var(--navy, #0f1e3a); }
.a11y-fab:focus-visible { outline: 3px solid var(--accent, #b0502a); }
.a11y-panel { background: var(--surface, #fbf8f3); color: var(--navy, #0f1e3a); border-radius: 6px; border-color: rgba(15, 30, 58, .18); }
.a11y-top h2 { color: var(--navy, #0f1e3a); font-family: 'Frank Ruhl Libre', Georgia, serif; font-size: 1.3rem; }
.a11y-x { border-radius: 4px; background: rgba(15, 30, 58, .07); color: var(--navy, #0f1e3a); }
.a11y-opt { border-radius: 4px; border-color: rgba(15, 30, 58, .16); background: #fff; color: var(--navy, #0f1e3a); }
.a11y-opt[aria-pressed="true"] { border-color: var(--navy, #0f1e3a); background: var(--navy, #0f1e3a); color: #fff; }
.a11y-scale { color: #4a4f5e; }
.a11y-link { color: var(--navy, #0f1e3a); }
.a11y-opt .a11y-sm { font-size: .8em; }

/* --- Mode: inverted contrast --- */
html.a11y-invert { filter: invert(1) hue-rotate(180deg); background: #fff; }
html.a11y-invert img, html.a11y-invert video, html.a11y-invert .c-hero-img, html.a11y-invert .c-close-img { filter: invert(1) hue-rotate(180deg); }
html.a11y-links .btn, html.a11y-links button:not(.a11y-opt):not(.a11y-x):not(.a11y-fab) { outline: 3px solid currentColor !important; outline-offset: 2px; text-decoration: underline !important; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }

/* =========================================================
   LEGAL LAYER · footer identity, document window, cookie notice
   ========================================================= */
.footer.lf { padding-block: 48px calc(36px + env(safe-area-inset-bottom)); font-size: .88rem; line-height: 1.7; }
.lf .container { display: block; }
.lf-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px 48px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.lf-id { display: grid; gap: 6px; min-width: 0; }
.lf-id p { margin: 0; color: #d6dcec; }
.lf-id b { color: #fff; font-weight: 600; }
.lf-brand { font-family: 'Frank Ruhl Libre', Georgia, serif; font-size: 1.35rem; color: #fff !important; margin-bottom: 6px !important; }
.lf-brand b { font-weight: 700; }
.lf-brand span { color: rgba(255, 255, 255, .45); margin-inline: 4px; }
.lf-docs { display: grid; gap: 4px; justify-items: start; }
.lf-docs a { color: #fff; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 4px; min-height: 32px; display: inline-flex; align-items: center; }
.lf-docs a:hover { text-decoration-color: #fff; }
.lf-note { margin: 20px 0 0; max-width: 72ch; color: #c3cbe0; font-size: .82rem; }
.lf-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; color: #c3cbe0; font-size: .82rem; }
.lf .admin-link { color: #aeb8d3; }
@media (max-width: 640px) {
  .lf-docs { grid-auto-flow: row; }
  .lf-docs a { min-height: 44px; }
}

/* Document window */
html.legal-open, html.legal-open body { overflow: hidden; }
.legal-modal { position: fixed; inset: 0; z-index: 9700; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.legal-modal[hidden] { display: none; }
.legal-backdrop { position: absolute; inset: 0; background: rgba(10, 20, 40, .62); }
.legal-box { position: relative; width: min(760px, 100%); max-height: min(88vh, 900px); display: flex; flex-direction: column; background: var(--surface, #fbf8f3); color: var(--navy, #0f1e3a); border-radius: 6px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); overflow: hidden; outline: none; }
.legal-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px 10px 10px; border-bottom: 1px solid rgba(15, 30, 58, .12); background: var(--surface, #fbf8f3); }
.legal-bar-title { margin: 0; font-weight: 600; font-size: .95rem; color: #4a4f5e; }
.legal-bar-actions { display: flex; align-items: center; gap: 6px; }
.legal-full { color: var(--navy, #0f1e3a); font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; padding-inline: 8px; }
.legal-x { width: 44px; height: 44px; border: 0; border-radius: 4px; background: rgba(15, 30, 58, .07); color: var(--navy, #0f1e3a); display: grid; place-items: center; cursor: pointer; }
.legal-x svg { width: 20px; height: 20px; }
.legal-body { overflow: auto; overscroll-behavior: contain; padding: 28px clamp(18px, 4vw, 44px) 36px; line-height: 1.75; }
.legal-article { max-width: 68ch; }
.legal-article .legal-doc-title { font-family: 'Frank Ruhl Libre', Georgia, serif; font-size: clamp(1.7rem, 4vw, 2.2rem); margin: 0 0 4px; }
.legal-article h2:not(.legal-doc-title) { font-size: 1.12rem; margin: 26px 0 8px; }
.legal-article ul { padding-inline-start: 20px; margin: 0; display: grid; gap: 6px; }
.legal-article a { color: var(--accent-hover, #963f1d); }
.legal-article .muted { color: #5b6070; }

/* Cookie notice */
.cookie-bar { position: fixed; z-index: 9350; bottom: calc(16px + env(safe-area-inset-bottom)); right: max(16px, env(safe-area-inset-right)); width: min(560px, calc(100vw - 32px)); background: var(--navy, #0f1e3a); color: #fff; border-radius: 6px; box-shadow: 0 18px 40px -12px rgba(10, 20, 40, .45); }
.cookie-in { display: flex; align-items: center; gap: 14px 18px; padding: 14px 16px; }
.cookie-in p { margin: 0; font-size: .86rem; line-height: 1.6; color: #e3e8f3; }
.cookie-in a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-ok { flex: none; min-height: 44px; }
.cookie-bar :focus-visible { outline-color: #fff; }
@media (max-width: 640px) {
  .cookie-bar { right: 0; left: 0; bottom: 0; width: auto; border-radius: 0; padding-bottom: env(safe-area-inset-bottom); }
  .cookie-in { flex-direction: column; align-items: stretch; padding: 14px max(16px, env(safe-area-inset-right)) 14px max(16px, env(safe-area-inset-left)); }
  .cookie-ok { width: 100%; }
  html.has-cookie-bar .a11y-fab { bottom: calc(170px + env(safe-area-inset-bottom)); }
  html.has-cookie-bar .a11y-panel { bottom: calc(234px + env(safe-area-inset-bottom)); }
}
@media print { .cookie-bar, .legal-modal { display: none !important; } }
/* Form disclosure */
.funnel-wrap .disclaimer { color: #5b6070; font-size: .8rem; margin: 14px 0 0; }
.consent .visually-hidden { position: absolute; }
.cookie-bar { background: var(--surface, #fbf8f3); color: var(--navy, #0f1e3a); border: 1px solid rgba(15, 30, 58, .18); }
.cookie-in p { color: #2a3247; }
.cookie-in a { color: var(--navy, #0f1e3a); }
.cookie-bar :focus-visible { outline-color: var(--accent, #b0502a); }

/* =========================================================
   EDITORIAL REWORK · bento process, perks grid, team, spacing
   ========================================================= */
/* Breathing room */
.b-section { padding-block: clamp(104px, 13vw, 188px); }
.b-head { margin-bottom: clamp(48px, 6vw, 88px); }
.b-head h2, .x-why h2, .x-team h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.06; letter-spacing: -.01em; }
.c-city { border-top: 1px solid var(--hair); }

/* Header: only a quiet link for returning users */
.t-session { font-weight: 600; font-size: .92rem; color: var(--navy); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; min-height: 44px; display: inline-flex; align-items: center; }
.t-session[hidden] { display: none; }

/* --- Bento --- */
.x-how { background: var(--bg); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 14px; }
.bt { position: relative; margin: 0; background: var(--stone); border: 1px solid var(--hair); border-radius: 4px; padding: clamp(24px, 2.6vw, 38px); display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.bt h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.15; margin: 14px 0 10px; color: var(--navy); }
.bt p { margin: 0; color: var(--text-2); max-width: 40ch; }
.bt-tag { align-self: flex-start; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--accent-hover); border: 1px solid currentColor; border-radius: 2px; padding: 3px 9px; }
.bt-a { grid-column: span 7; grid-row: span 2; }
.bt-stat { grid-column: span 5; background: var(--navy); border-color: var(--navy); color: #fff; justify-content: space-between; }
.bt-stat b { font-family: var(--font-display); font-weight: 400; font-size: clamp(4.2rem, 8vw, 6.6rem); line-height: .9; color: #fff; display: flex; align-items: baseline; gap: 12px; }
.bt-stat b small { font-family: 'IBM Plex Sans Hebrew', Arial, sans-serif; font-size: 1rem; font-weight: 500; color: #c9d1e6; }
.bt-stat p { color: #d6dcec; margin-top: 18px; }
.bt-b { grid-column: span 5; }
.bt-c { grid-column: span 8; }
.bt-photo { grid-column: span 4; padding: 0; background: #e8e1d4; min-height: 240px; }
.bt-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 40%; }

/* Step 1 visual: a quiet sample of the question screen */
.bt-mock { margin-top: auto; padding-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bt-mock-k { width: 100%; font-size: .78rem; color: #5b6070; letter-spacing: .03em; }
.bt-mock-q { width: 100%; font-family: var(--font-display); font-size: 1.25rem; color: var(--navy); margin-bottom: 6px; }
.bt-chip { font-size: .9rem; padding: 10px 16px; background: var(--surface); border: 1px solid var(--hair-strong); border-radius: 2px; color: var(--navy); }
.bt-chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
/* Step 2 visual: equity and mortgage add up */
.bt-sum { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; }
.bt-sum span { display: grid; gap: 6px; font-size: .82rem; color: #4a4f5e; }
.bt-sum i { display: block; height: 6px; width: var(--w); background: var(--navy); border-radius: 1px; }
.bt-sum span:first-child i { background: var(--accent); }
/* Step 3 visual: 48 hour head start */
.bt-line { margin-top: auto; padding-top: 34px; display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: 14px; font-size: .86rem; color: #4a4f5e; }
.bt-line .is-on { color: var(--navy); font-weight: 600; }
.bt-line-mid { position: relative; text-align: center; font-family: var(--font-display); font-size: 1.15rem; color: var(--accent-hover); padding-bottom: 12px; }
.bt-line-mid::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--hair-strong); }
.bt-line-mid::before { content: ""; position: absolute; inset-inline-start: 0; bottom: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* --- Why: editorial split and hairline perks grid --- */
.x-why { background: var(--surface); border-block: 1px solid var(--hair); }
.x-why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px) clamp(40px, 6vw, 96px); align-items: end; }
.x-why-copy h2 { margin: 14px 0 22px; }
.x-why-copy p { margin: 0; color: var(--text-2); font-size: 1.1rem; max-width: 44ch; }
.x-why-photo { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: #e8e1d4; }
.x-why-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x-perks { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hair-strong); }
.x-perks li { padding-block: 30px 4px; padding-inline: 0 28px; }
.x-perks li + li { padding-inline-start: 28px; border-inline-start: 1px solid var(--hair); }
.x-perks li::before { content: ""; display: block; width: 22px; height: 2px; background: var(--accent); margin-bottom: 20px; }
.x-perks h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin: 0 0 8px; color: var(--navy); }
.x-perks p { margin: 0; color: var(--text-2); font-size: .97rem; }

/* --- Team --- */
.x-team-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.x-team-copy h2 { margin: 14px 0 22px; }
.x-team-copy > p { margin: 0; color: var(--text-2); font-size: 1.08rem; max-width: 38ch; }
.x-facts { margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--hair-strong); }
.x-facts div { padding: 18px 0 0; }
.x-facts div + div { padding-inline-start: 22px; border-inline-start: 1px solid var(--hair); }
.x-facts dt { font-size: .8rem; color: #5b6070; letter-spacing: .03em; }
.x-facts dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); }
.x-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); align-items: start; }
.x-person { margin: 0; }
.x-person:nth-child(2) { margin-top: clamp(40px, 6vw, 96px); }
.x-frame { padding: 10px; border: 1px solid var(--hair-strong); border-radius: 2px; background: var(--surface); }
.x-frame img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; filter: saturate(.9); }
.x-person figcaption { padding: 20px 4px 0; }
.x-person h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; margin: 0 0 6px; color: var(--navy); }
.x-person p { margin: 0 0 12px; color: #4a4f5e; font-size: .92rem; line-height: 1.55; }
.x-person a { font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }

@media (max-width: 960px) {
  .bt-a { grid-column: span 12; grid-row: auto; }
  .bt-stat, .bt-b { grid-column: span 6; }
  .bt-c { grid-column: span 12; }
  .bt-photo { grid-column: span 12; min-height: 260px; }
  .x-why-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .x-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-perks li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .x-perks li:nth-child(n+3) { border-top: 1px solid var(--hair); margin-top: 26px; }
  .x-team-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .b-section { padding-block: clamp(80px, 20vw, 112px); }
  .bento { gap: 10px; }
  .bt-stat, .bt-b { grid-column: span 12; }
  .bt-photo { min-height: 220px; }
  .bt-line { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .bt-line-mid { text-align: start; padding-bottom: 10px; }
  .x-perks { grid-template-columns: minmax(0, 1fr); }
  .x-perks li, .x-perks li + li { padding-inline: 0; border-inline-start: 0; }
  .x-perks li + li { border-top: 1px solid var(--hair); margin-top: 26px; }
  .x-people { gap: 12px; }
  .x-person:nth-child(2) { margin-top: 44px; }
  .x-frame { padding: 6px; }
  .x-person h3 { font-size: 1.25rem; }
  .x-person p { font-size: .84rem; }
  .x-facts dd { font-size: 1.15rem; }
}
html.a11y-contrast .bt, html.a11y-contrast .x-frame { border-color: #fff !important; }
.x-frame img { height: auto; }
.bt-chip { font-size: .8rem; padding: 6px 12px; pointer-events: none; } .bt-chip.is-on { background: transparent; color: var(--navy); border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
/* Copy pass 2: lighter sections */
.c-close.b-close { padding-block: clamp(120px, 16vw, 220px); }
.x-why-grid { align-items: center; }
.bt-stat { justify-content: center; }

/* =========================================================
   COMPACT LANDING · tight rhythm, one steps panel
   ========================================================= */
/* Hero: shorter, so the next section peeks in */
.c-hero { min-height: min(78vh, 760px); }
@media (max-width: 640px) { .c-hero { min-height: 74svh; } }

/* Section rhythm */
.b-section, .k-sec { padding-block: clamp(56px, 7vw, 96px); }
.b-head { margin-bottom: clamp(28px, 3vw, 40px); }
.b-head h2, .x-why h2, .x-team h2, .k-panel h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.1; }

/* How it works: one compact panel */
.k-how { background: var(--bg); padding-bottom: clamp(28px, 3.5vw, 48px); }
.k-panel { background: var(--surface); border: 1px solid var(--hair); border-radius: 4px; padding: clamp(24px, 3.2vw, 44px); }
.k-panel-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t b" "p b"; gap: 6px 24px; align-items: center; padding-bottom: clamp(20px, 2.4vw, 30px); border-bottom: 1px solid var(--hair); }
.k-panel-head h2 { grid-area: t; margin: 0; }
.k-panel-head p { grid-area: p; margin: 0; color: var(--text-2); }
.k-badge { grid-area: b; display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 18px; background: var(--navy); color: #d6dcec; border-radius: 2px; font-size: .9rem; white-space: nowrap; }
.k-badge b { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; color: #fff; }
.k-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.k-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: clamp(20px, 2.4vw, 30px) 0 0; padding-inline-end: 24px; }
.k-steps li + li { padding-inline-start: 24px; border-inline-start: 1px solid var(--hair); }
.k-n { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent-hover); border-radius: 50%; font-weight: 600; font-size: .95rem; }
.k-steps h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin: 2px 0 6px; color: var(--navy); }
.k-steps p { margin: 0; color: var(--text-2); font-size: .96rem; line-height: 1.55; }

/* Why: one sharp paragraph beside a modest photo */
.x-why { border-block: 0; }
.x-why-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); }
.x-why-photo { aspect-ratio: 16 / 9; }

/* Team: compact portraits, no stagger */
.x-team-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); }
.x-facts { margin-top: 26px; }
.x-person:nth-child(2) { margin-top: 0; }
.x-people { max-width: 520px; justify-self: end; width: 100%; }
.x-person figcaption { padding-top: 14px; }
.x-person h3 { font-size: 1.3rem; }

/* Closing: a short band */
.c-close.b-close { padding-block: clamp(56px, 8vw, 104px); }

@media (max-width: 960px) {
  .k-steps { grid-template-columns: minmax(0, 1fr); }
  .k-steps li, .k-steps li + li { padding-inline: 0; border-inline-start: 0; }
  .k-steps li + li { border-top: 1px solid var(--hair); margin-top: 16px; padding-top: 16px; }
  .x-why-grid, .x-team-grid { grid-template-columns: minmax(0, 1fr); }
  .x-people { justify-self: stretch; max-width: none; }
}
@media (max-width: 640px) {
  .b-section, .k-sec { padding-block: 48px; }
  .k-how { padding-bottom: 8px; }
  .k-panel { padding: 22px 18px; }
  .k-panel-head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "p" "b"; }
  .k-badge { justify-self: start; margin-top: 8px; padding: 6px 12px; }
  .k-badge b { font-size: 1.4rem; }
  .k-steps li { gap: 12px; }
  .k-steps h3 { font-size: 1.12rem; margin-bottom: 2px; }
  .k-steps p { font-size: .9rem; }
  .k-n { width: 28px; height: 28px; font-size: .85rem; }
  .x-why-photo { display: none; }
  .x-facts { margin-top: 18px; }
  .x-people { gap: 12px; }
  .x-person figcaption { padding-top: 10px; }
  .x-person h3 { font-size: 1.08rem; }
  .x-person p { font-size: .8rem; margin-bottom: 8px; }
}

/* Hero clarity pass */
.c-hero::after { background: linear-gradient(to left, rgba(10, 20, 40, .86) 0%, rgba(10, 20, 40, .66) 38%, rgba(10, 20, 40, .18) 68%, rgba(10, 20, 40, .05) 100%), linear-gradient(to top, rgba(10, 20, 40, .6), rgba(10, 20, 40, 0) 50%); }
.c-hero-copy { max-width: 640px; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid rgba(242, 176, 142, .55); border-radius: 2px; background: rgba(10, 20, 40, .35); color: #f6dccd; font-size: .86rem; font-weight: 500; letter-spacing: .03em; }
.hero-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f2b08e; }
.c-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); line-height: 1.08; margin: 20px 0 18px; text-wrap: balance; text-shadow: 0 2px 18px rgba(10, 20, 40, .35); }
.c-hero h1 em { white-space: nowrap; }
.c-hero .b-lead { color: rgba(255, 255, 255, .92); font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 46ch; margin: 0; }
.c-hero .hero-cta { margin-top: clamp(26px, 3vw, 36px); display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; }
@media (max-width: 640px) {
  .c-hero::after { background: linear-gradient(to top, rgba(10, 20, 40, .92) 0%, rgba(10, 20, 40, .72) 48%, rgba(10, 20, 40, .2) 80%); }
  .c-hero h1 { font-size: clamp(2rem, 8.6vw, 2.5rem); margin: 16px 0 14px; }
  .c-hero h1 em { white-space: normal; }
  .hero-tag { font-size: .8rem; padding: 6px 11px; }
  .c-hero .hero-cta { gap: 12px 20px; }
}
/* Dashboard welcome card: navy background must win over the generic card surface */
.card.welcome { background: var(--navy); border-color: var(--navy); color: #d9deea; }
.card.welcome .gauge .center small { color: #c3cadb; }

/* =========================================================
   FAST INTERFACE · instant feedback, quiet transitions, smooth scroll
   ========================================================= */

/* 1. Every control reacts within 150ms */
a, button, .btn, .choice, .chip-opt, .tab, .star, .input, .select, .textarea,
.a11y-opt, .a11y-x, .a11y-fab, .legal-x, .icon-btn, .cookie-ok, .t-session, .lf-docs a {
  transition-duration: var(--t-fast) !important;
  transition-timing-function: var(--t-ease) !important;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.choice .radio, .choice .radio::after { transition: border-color var(--t-fast) var(--t-ease), transform var(--t-fast) var(--t-ease) !important; }
/* Press feedback: a short, subtle sink */
.btn:active, .choice:active, .a11y-opt:active, .icon-btn:active, .legal-x:active, .a11y-fab:active, .tab:active { transform: scale(.975); transition-duration: 60ms !important; }
.choice.selected { transition-duration: 0ms !important; }
@media (hover: hover) {
  .btn.gold:hover { filter: brightness(1.06); }
  .choice:hover { border-color: var(--accent); }
}

/* 2. Questionnaire: the card appears once, each new screen fades in quickly */
.funnel-card { animation: fastIn 160ms var(--t-ease) both; }
.funnel-card.swap { animation: fastSwap 150ms var(--t-ease) both; }
.q-screen { animation: none; }
.reveal { animation: fastIn 150ms var(--t-ease) both; }
@keyframes fastIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes fastSwap { from { opacity: .35; } to { opacity: 1; } }
.progress-bar i { transition: transform 220ms var(--t-ease) !important; transform-origin: right; }
.funnel-card h1:focus { outline: none; }
.modal { animation-duration: 160ms !important; }
.result-card { animation-duration: 180ms !important; }

/* 3. Smooth scrolling on phones: no live blur behind sticky bars */
.topbar { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: rgba(244, 239, 231, .98) !important; }
.tabs { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
/* Page content is ready at once: the opening shows immediately, the rest eases in fast */
.c-hero [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
.js [data-reveal] { transform: translate3d(0, 8px, 0); transition: opacity 240ms var(--t-ease), transform 240ms var(--t-ease) !important; transition-delay: 0ms !important; }
.js [data-reveal].in { transform: none; }

/* Keep the accessibility choices in charge */
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; }
html.a11y-motion [data-reveal] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Admin: property photo upload */
.img-up { display: flex; gap: 14px; align-items: center; }
.img-prev { flex: none; width: 116px; aspect-ratio: 4 / 3; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--bg); display: grid; place-items: center; overflow: hidden; color: var(--muted); font-size: .8rem; }
.img-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-up-act { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.img-btn { position: relative; cursor: pointer; }
.img-btn:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.img-btn.is-busy { opacity: .6; pointer-events: none; }
.text-btn { background: none; border: 0; padding: 0; min-height: 32px; color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; font-size: .88rem; }
.img-link { margin-top: 10px; }
.img-link summary { cursor: pointer; font-size: .86rem; color: var(--text-2); min-height: 32px; display: flex; align-items: center; }
.img-link .input { margin-top: 8px; }
@media (max-width: 480px) { .img-up { align-items: flex-start; } .img-prev { width: 92px; } }

/* =========================================================
   REQUIREMENTS PASS · spam trap, long lists, 404
   ========================================================= */
/* Honeypot: off screen for people, still in the form for bots */
.hp-field { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; opacity: 0; pointer-events: none; }
/* Admin leads: "show more" under the table */
.more-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 4px 0; }
/* 404 */
.nf { min-height: 62vh; display: grid; align-items: center; padding-block: clamp(56px, 9vw, 120px); }
.nf .container { display: grid; gap: 18px; justify-items: start; }
.nf-code { margin: 0; font-family: var(--font-display); font-size: clamp(4.5rem, 14vw, 9rem); line-height: .9; color: var(--accent); letter-spacing: .02em; }
.nf h1 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: var(--navy); }
.nf-lead { margin: 0; max-width: 46ch; color: var(--text-2); font-size: 1.08rem; }
.nf-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
/* Links inside running text are underlined, not told apart by color alone */
.legal p a, .legal li a, .legal td a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Wide screens: content uses the screen instead of a narrow column */
.container { max-width: var(--container); }
.container.narrow { max-width: var(--container-narrow); }
@media (min-width: 1280px) {
  .container { padding-inline: clamp(32px, 3.5vw, 72px); }
  .legal .container.narrow, .funnel-wrap .container.narrow { max-width: 860px; }
}
/* Error box with a way back to the step that needs fixing */
.err-box { flex-wrap: wrap; align-items: center; }
.err-box .err-go { margin-inline-start: auto; }
/* Running text: Assistant, airy line height */
body { line-height: 1.7; }

/* =========================================================
   MOTION · hover lift, slide between questions, gentle float
   (adapted to the site: brand colors, short timings, all off
   when the visitor asks for less motion)
   ========================================================= */
:root { --t-smooth: 300ms cubic-bezier(.4, 0, .2, 1); }

/* Cards that can be picked lift slightly */
.prop, .x-person .x-frame, .k-steps li { transition: transform var(--t-smooth), box-shadow var(--t-smooth) !important; }
@media (hover: hover) {
  .prop:hover { transform: translateY(-4px); box-shadow: 0 14px 32px -12px rgba(15, 30, 58, .22); }
  .x-person:hover .x-frame { transform: translateY(-4px); box-shadow: 0 14px 32px -14px rgba(15, 30, 58, .25); }
  /* Main call to action: small rise with a warm glow in the brand color */
  .btn.gold:hover { transform: translateY(-2px); box-shadow: 0 8px 22px -6px rgba(176, 80, 42, .45); }
}
.btn.gold { transition: transform var(--t-smooth), box-shadow var(--t-smooth), background-color 120ms, filter 120ms !important; }
.btn.gold:active { transform: translateY(0) scale(.98); }

/* Questionnaire: the new question slides in from the reading direction */
.funnel-card.swap { animation: qIn 260ms cubic-bezier(.2, .8, .2, 1) both; }
.funnel-card.swap.swap-back { animation-name: qBack; }
@keyframes qIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@keyframes qBack { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* The "60 seconds" badge floats gently */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.k-badge { animation: float 4s ease-in-out infinite; }

/* Less motion, when asked: system setting or the accessibility menu */
html.a11y-motion .k-badge, html.a11y-motion .funnel-card.swap { animation: none !important; }
html.a11y-motion .prop:hover, html.a11y-motion .x-person:hover .x-frame, html.a11y-motion .btn.gold:hover { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .k-badge, .funnel-card.swap { animation: none !important; }
  .prop:hover, .x-person:hover .x-frame, .btn.gold:hover { transform: none; }
}

/* =========================================================
   DESIGN STANDARDS · rounded corners (12px and up),
   lift on hover for every button and card, fade-up on scroll
   ========================================================= */
/* Corners */
.btn, .input, .select, .textarea, .choice, .info-box, .k-badge, .hero-tag, .a11y-opt, .a11y-x, .legal-x,
.skip-link, .img-prev, .bt-chip, .chip-opt, .filter-chip, .icon-btn, .price-box { border-radius: var(--radius-sm) !important; }
.card, .k-panel, .prop, .funnel-card, .result-card, .x-why-photo, .bt, .a11y-panel, .legal-box, .modal { border-radius: var(--radius) !important; }
.x-frame { border-radius: var(--radius) !important; }
.x-frame img { border-radius: calc(var(--radius) - 6px); }
.x-why-photo img { border-radius: inherit; }
.badge, .countdown, .tag, .access-pill { border-radius: 8px !important; }
@media (min-width: 641px) { .cookie-bar { border-radius: var(--radius) !important; } }

/* Every button lifts a little on hover */
@media (hover: hover) {
  .btn:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 8px 20px -10px rgba(15, 30, 58, .35); }
  .btn.gold:not(:disabled):hover { box-shadow: 0 10px 24px -8px rgba(176, 80, 42, .45); }
  .k-steps li:hover { transform: translateY(-4px); }
  .card.panel:hover { transform: none; }
}
.btn { transition: transform var(--t-smooth), box-shadow var(--t-smooth), background-color 120ms, border-color 120ms, color 120ms, filter 120ms !important; }

/* Buyer area: listing cards fade up one after another */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.props-grid .prop { animation: fadeUp 420ms cubic-bezier(.2, .8, .2, 1) both; }
.props-grid .prop:nth-child(2) { animation-delay: 60ms; }
.props-grid .prop:nth-child(3) { animation-delay: 120ms; }
.props-grid .prop:nth-child(n+4) { animation-delay: 180ms; }

html.a11y-motion .props-grid .prop { animation: none !important; }
html.a11y-motion .btn:hover, html.a11y-motion .k-steps li:hover { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .props-grid .prop { animation: none !important; }
  .btn:hover, .k-steps li:hover { transform: none !important; }
}
/* Fade-up on scroll: a clear rise, still quick */
.js [data-reveal] { transform: translate3d(0, 18px, 0); transition: opacity 480ms var(--t-ease), transform 480ms var(--t-ease) !important; }
.js [data-reveal].in { transform: none; }
.c-hero [data-reveal] { transform: none !important; }
html.a11y-motion [data-reveal] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* =========================================================
   HOME REFRESH · stronger hierarchy, fuller sections,
   a closing band that says something
   ========================================================= */

/* How it works: heading row + three step cards */
.k-panel { background: transparent; border: 0; padding: 0; }
.k-panel-head { grid-template-areas: "k b" "t b" "p b"; gap: 10px 24px; border-bottom: 0; padding-bottom: clamp(26px, 3vw, 44px); }
.k-panel-head .b-kicker { grid-area: k; }
.k-panel-head p { font-size: 1.08rem; }
.k-steps { gap: clamp(14px, 1.6vw, 24px); }
.k-steps li, .k-steps li + li {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 18px;
  margin: 0; padding: clamp(24px, 2.6vw, 38px);
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius);
}
.k-steps li::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform var(--t-smooth); }
.k-n { width: auto; height: auto; border: 0; border-radius: 0 !important; display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 3.6vw, 3.4rem); line-height: 1; color: var(--accent); }
.k-steps h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); margin: 0 0 8px; }
.k-steps p { font-size: 1.02rem; line-height: 1.65; }
@media (hover: hover) {
  .k-steps li:hover { box-shadow: var(--shadow-lift); border-color: var(--hair-strong); }
  .k-steps li:hover::after { transform: scaleX(1); }
}

/* Why: three short proof points under the paragraph */
.x-why-points { list-style: none; margin: clamp(28px, 3vw, 40px) 0 0; padding: 0; border-top: 1px solid var(--hair); }
.x-why-points li { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: 6px 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.x-why-points b { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 500; font-size: 1.22rem; color: var(--navy); }
.x-why-points b::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.x-why-points span { color: var(--text-2); }
.x-why-photo { aspect-ratio: 4 / 3; }

/* Team: larger portraits, phone numbers as clear buttons */
.x-people { max-width: 720px; }
.x-person h3 { font-size: clamp(1.3rem, 1.6vw, 1.55rem); }
.x-person a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--hair-strong); border-radius: var(--radius-sm); color: var(--navy); background: var(--surface); transition: transform var(--t-smooth), border-color 120ms, color 120ms; }
@media (hover: hover) {
  .x-person a:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent-hover); }
  .x-person:hover .x-frame { box-shadow: var(--shadow-lift); }
}

/* Closing band: kicker, headline, one line, button */
.c-close-inner { display: grid; justify-items: center; text-align: center; }
.c-close::after { background: linear-gradient(to top, rgba(10, 20, 40, .82), rgba(10, 20, 40, .6)); }
.c-close h2 { margin: 18px auto 16px; font-size: clamp(2rem, 4.2vw, 3.4rem); max-width: 18ch; text-wrap: balance; }
.c-close p { margin: 0 auto 32px; max-width: 48ch; font-size: clamp(1rem, 1.3vw, 1.14rem); }

@media (max-width: 960px) {
  .k-steps li + li { margin-top: 0; }
  .x-people { max-width: none; }
}
@media (max-width: 640px) {
  .k-panel { padding: 0; }
  .k-panel-head { grid-template-areas: "k" "t" "p" "b"; }
  .k-steps li, .k-steps li + li { flex-direction: row; align-items: flex-start; gap: 16px; padding: 20px 18px; }
  .k-n { font-size: 2.2rem; min-width: 1.1em; }
  .k-steps h3 { font-size: 1.18rem; margin-bottom: 4px; }
  .k-steps p { font-size: .94rem; }
  .x-why-points li { grid-template-columns: minmax(0, 1fr); padding: 14px 0; }
  .x-why-points b { font-size: 1.12rem; }
  .x-person a { padding: 0 12px; font-size: .9rem; }
  .c-close p { font-size: 1rem; }
}
html.a11y-motion .k-steps li::after, html.a11y-motion .x-person a:hover { transition: none !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .x-person a:hover { transform: none !important; } }

/* Mortgage advisor: real photo beside her details */
.advisor-card { align-items: center; }
.advisor-card .a-avatar { width: 96px; height: 96px; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--hair-strong); background: var(--surface-3); }
.advisor-card .a-avatar img { object-position: center 42%; }
@media (max-width: 480px) { .advisor-card .a-avatar { width: 76px; height: 76px; } }
