/* The public page (signed out). */
body.is-public .an-overview { padding: 0; }
body.is-public .an-header { padding: 0 max(24px, calc((100vw - 1180px) / 2)); }
.ld { max-width: 1180px; margin: 0 auto; padding: 0 24px 40px; }
.ld .an-error { margin-top: 24px; }

/* hero */
.ld-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center;
  padding: 72px 0 64px; }
.ld-pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow-xs); }
.ld-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.ld-h1 { margin: 20px 0 16px; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; font-weight: 700;
  letter-spacing: -0.04em; }
.ld-sub { margin: 0 0 28px; max-width: 560px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.ld-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ld-notes { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 20px 0 0; padding: 0; list-style: none;
  color: var(--muted); font-size: 13.5px; }
.ld-notes li { display: inline-flex; align-items: center; gap: 6px; }
.ld-notes .ui-i { color: var(--ok); }

/* the example home card */
.ld-preview { position: relative; border: 1px solid var(--border); border-radius: 16px; background: var(--surface);
  box-shadow: var(--shadow-lg); overflow: hidden; }
.ld-preview::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 80%; z-index: 0;
  background: radial-gradient(closest-side, var(--accent-soft), transparent); pointer-events: none; }
.ld-preview-bar { position: relative; display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px;
  border-bottom: 1px solid var(--border-2); background: var(--bg); }
.ld-preview-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.ld-preview-bar em { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--faint);
  letter-spacing: 0.04em; text-transform: uppercase; }
.ld-preview-body { position: relative; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.ld-preview-h { margin-top: 2px; font-size: 17px; font-weight: 650; letter-spacing: -0.015em; }
.ld-issue { position: relative; padding: 12px 14px 12px 16px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); overflow: hidden; }
.ld-issue::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--warn); }
.ld-issue.is-high::before { background: var(--danger); }
.ld-issue-top { display: flex; justify-content: space-between; align-items: center; }
.ld-src { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 500; }
.ld-issue-title { margin: 6px 0 2px; font-weight: 600; font-size: 14.5px; }
.ld-issue-meta { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); }
.ld-issue-meta b { color: var(--danger-ink); font-weight: 600; }
.ld-why { margin: 2px 0 0; font-size: 13px; color: var(--text-2); }
.ld-quote { margin: 8px 0 0; padding: 6px 10px; border-radius: 7px; background: var(--sunken); font-size: 12.5px;
  color: var(--text-2); }
.ld-jumps { display: none; }
.ld-preview-ask { display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 6px 6px 6px 12px;
  border: 1px solid var(--border); border-radius: 12px; color: var(--muted); font-size: 13.5px; box-shadow: var(--shadow-sm); }
.ld-preview-ask > span:first-of-type { flex: 1; }
.ld-send { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--accent);
  color: var(--on-accent); }

/* sections */
.ld-section { padding: 64px 0; border-top: 1px solid var(--border); }
.ld-eyebrow { margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--accent); }
.ld-h2 { margin: 0 0 10px; max-width: 720px; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 700;
  letter-spacing: -0.03em; }
.ld-lead { margin: 0 0 32px; max-width: 640px; color: var(--muted); font-size: 16.5px; }
.ld-diag { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ld-diag-card { padding: 20px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.ld-diag-k { margin: 0; font-size: 12px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.ld-diag-card h3 { margin: 8px 0 6px; font-size: 17px; letter-spacing: -0.02em; }
.ld-diag-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.ld-diag-card blockquote { margin: 10px 0; padding: 8px 10px; border-radius: 8px; background: var(--sunken);
  color: var(--text-2); font-size: 14px; }
.ld-faq { display: grid; gap: 12px; }
.ld-faq-item { padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.ld-faq-item h3 { margin: 0 0 6px; font-size: 16.5px; letter-spacing: -0.01em; }
.ld-faq-item p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.ld-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ld-card { padding: 22px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface);
  box-shadow: var(--shadow-xs); transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.ld-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.ld-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft);
  color: var(--accent); }
.ld-card h3, .ld-step h3, .ld-trust-item h3 { margin: 14px 0 6px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.ld-card p, .ld-step p, .ld-trust-item p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ld-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0 0; padding: 0;
  list-style: none; counter-reset: none; }
.ld-step { position: relative; padding: 22px; border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--border); }
.ld-step-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--text);
  color: var(--bg); font-weight: 700; font-size: 14px; }
.ld-asks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ld-ask { padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.ld-ask-q { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; font-size: 15px; }
.ld-ask-q .ui-i { color: var(--accent); }
.ld-ask p { margin: 6px 0 0 28px; color: var(--muted); font-size: 14px; }
.ld-trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 24px; }
.ld-trust-item .ui-i { width: 22px; height: 22px; color: var(--accent); }
.ld-reviews .an-review-grid { margin-top: 8px; }

/* Saariv Calls */
.ld-calls-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.ld-points { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.ld-points li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; }
.ld-point-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ok-soft);
  color: var(--ok-ink); }
.ld-points h3 { margin: 3px 0 4px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.ld-points p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ld-fine { margin: 28px 0 0; max-width: 760px; color: var(--faint); font-size: 13px; }
.ld-phone { justify-self: center; width: min(100%, 320px); padding: 10px; border-radius: 34px; background: #18181b;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg); }
.ld-phone-screen { display: grid; gap: 10px; padding: 18px 14px 14px; border-radius: 26px; background: var(--bg); }
.ld-phone-top { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.ld-phone-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ld-phone-tile { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); }
.ld-phone-tile span { font-size: 11.5px; color: var(--muted); }
.ld-phone-tile b { font-size: 19px; letter-spacing: -0.02em; }
.ld-phone-call { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); }
.ld-phone-who { display: flex; justify-content: space-between; font-size: 13px; }
.ld-phone-who span { color: var(--muted); }
.ld-line { display: grid; gap: 1px; max-width: 92%; padding: 7px 10px; border-radius: 10px; background: var(--sunken);
  font-size: 12.5px; }
.ld-line span { font-size: 11px; font-weight: 650; color: var(--ok-ink); }
.ld-line p { margin: 0; color: var(--text-2); line-height: 1.4; }
.ld-line--team { justify-self: end; background: var(--accent-soft); }
.ld-line--team span { color: var(--accent-ink); }
.ld-phone .ld-preview-ask { margin-top: 0; font-size: 12.5px; background: var(--surface); }

/* call to action and footer */
.ld-cta { margin: 32px 0 0; padding: 56px 32px; border-radius: 22px; text-align: center; color: #fff;
  background: radial-gradient(120% 140% at 50% 0%, #4f46e5 0%, #312e81 55%, #1e1b4b 100%); box-shadow: var(--shadow-lg); }
.ld-cta .ld-eyebrow { color: #c7d2fe; }
.ld-cta h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; }
.ld-cta p { margin: 0 auto 26px; max-width: 560px; color: #c7d2fe; font-size: 16px; }
.ld-cta .ld-actions { justify-content: center; }
.ld-cta-primary { background: #fff !important; border-color: #fff !important; color: #1e1b4b !important; }
.ld-cta-primary:hover { background: #eef2ff !important; }
.ld-cta-secondary { background: transparent !important; color: #fff !important; border-color: rgba(255, 255, 255, 0.35) !important;
  box-shadow: none !important; }
.ld-cta-secondary:hover { background: rgba(255, 255, 255, 0.08) !important; }
.ld-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 40px; padding: 24px 0 8px;
  border-top: 1px solid var(--border); color: var(--muted); font-size: 13.5px; }
.ld-foot-note { flex: 1; }
.ld-foot-links { display: flex; gap: 18px; }
.ld-foot-links a, .ld-foot-btn { color: var(--muted); text-decoration: none; border: 0; background: none; padding: 0;
  cursor: pointer; font-size: 13.5px; }
.ld-foot-links a:hover, .ld-foot-btn:hover { color: var(--text); }

@media (max-width: 980px) {
  .ld-hero { grid-template-columns: minmax(0, 1fr); padding: 48px 0 40px; gap: 32px; }
  .ld-grid, .ld-steps, .ld-trust-grid, .ld-diag { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-calls-wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 760px) {
  .ld-jumps { display: flex; gap: 8px; margin: 0 0 18px; overflow-x: auto; }
  .ld-jumps a { flex: none; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--surface); color: var(--text); font-size: 13.5px; font-weight: 550; text-decoration: none; }
}
@media (max-width: 640px) {
  .ld { padding: 0 16px 32px; }
  body.is-public .an-header { padding: 0 12px; }
  body.is-public .an-header .ui-btn--ghost { display: none; }
  .ld-hero { padding-top: 32px; }
  .ld-sub { font-size: 16.5px; }
  .ld-grid, .ld-steps, .ld-trust-grid, .ld-asks, .ld-diag { grid-template-columns: minmax(0, 1fr); }
  .ld-section { padding: 44px 0; }
  .ld-cta { padding: 40px 20px; border-radius: 18px; }
  .ld-actions .ui-btn--lg { flex: 1 1 100%; }
}
