/* Public landing page ("/" for guests). Prefix ld- so nothing bleeds into the app.
   Tokens come from app.css (:root). Mobile first: single column, stacked buttons. */
body.landing { display: block; background: var(--page); color: var(--ink); font-size: 16px; line-height: 1.55; overflow-x: hidden; padding: 0; }
.ld-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.ld-dark { background: #0f172a; color: #fff; }

.ld-top { background: #0f172a; }
.ld-top .ld-wrap { display: flex; align-items: center; height: 64px; }
.ld-logo img { height: 36px; width: auto; display: block; }

.ld-hero { position: relative; overflow: hidden; padding: 56px 0 64px; text-align: center; }
.ld-hero::before, .ld-closing::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: var(--tp); filter: blur(140px); opacity: .35; top: -280px; right: -200px; pointer-events: none; }
.ld-hero::after { content: ""; position: absolute; width: 450px; height: 450px; border-radius: 50%; background: var(--ts); filter: blur(140px); opacity: .3; bottom: -220px; left: -150px; pointer-events: none; }
.ld-hero .ld-wrap, .ld-closing .ld-wrap { position: relative; }
.ld-hero h1 { font-size: clamp(38px, 8vw, 76px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; max-width: 14ch; margin: 0 auto; }
.ld-hero h1 span { display: block; color: var(--ui-accent); }
.ld-lead { font-size: 17px; color: var(--ink-2); max-width: 60ch; }
.ld-hero .ld-lead, .ld-closing .ld-lead { color: rgba(255,255,255,.75); margin: 20px auto 32px; }

.ld-ctas { display: grid; gap: 12px; }
.ld-ctas .btn.lg { padding: 14px 22px; font-size: 16px; justify-content: center; min-height: 48px; }
.ld-dark .btn.primary { background: var(--ui-accent); border-color: var(--ui-accent); }
.ld-dark .btn.primary:hover { background: var(--ts); }
.ld-dark .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.ld-dark .btn.ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }

.ld-stats { background: var(--surface); border-bottom: 1px solid var(--border); }
.ld-stats .ld-wrap { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.ld-stat { padding: 22px 20px; border-bottom: 1px solid var(--border); }
.ld-stat:nth-child(odd) { border-right: 1px solid var(--border); }
.ld-stat b { display: block; font-size: 24px; letter-spacing: -.03em; font-weight: 800; white-space: nowrap; }
.ld-stat span { color: var(--muted); font-size: 13px; }

.ld-pricing { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; padding: 56px 0; }
.ld-pricing h2 { margin-top: 8px; }
.ld-pricing .ld-pricing-sub { margin: 12px auto 0; }
.ld-pricing-note { margin-top: 18px; font-size: 13px; color: var(--muted); }
.ld-tiers { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
.ld-tier { padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.ld-tier b { display: block; font-size: 28px; letter-spacing: -.02em; }
.ld-tier span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }

.ld-role { padding: 56px 0; }
.ld-role .ld-wrap { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.ld-role.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ld-role-tag { display: inline-flex; align-items: center; gap: 10px; background: var(--ui-primary); color: #fff; font-size: 16px; font-weight: 800; padding: 9px 18px; border-radius: 999px; margin-bottom: 16px; }
.ld-role-tag .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--ui-accent); }
.ld-role h2 { font-size: clamp(28px, 5.5vw, 40px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; }
.ld-role .ld-lead { margin-top: 12px; }
.ld-role ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.ld-role li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.ld-role li::before { content: "\2713"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--good-bg); color: var(--good); font-weight: 800; font-size: 13px; display: grid; place-items: center; margin-top: 1px; }
.ld-role-shot { display: flex; justify-content: center; min-width: 0; }

.ld-closing { position: relative; overflow: hidden; padding: 64px 0; text-align: center; }
.ld-closing::before { left: 50%; right: auto; transform: translateX(-50%); }
.ld-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ui-accent); margin-bottom: 12px; }
.ld-closing h2 { font-size: clamp(26px, 5vw, 38px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; max-width: 22ch; margin: 0 auto 28px; }

.ld-foot { background: #0f172a; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.6); font-size: 14px; padding: 28px 0; }

/* ---- Illustrative screenshots (CSS only, no images) ---- */
.ld-shot { width: 100%; max-width: 520px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(15,23,42,.25); overflow: hidden; font-size: 13px; color: var(--ink); }
.ld-shot .bar { height: 40px; background: linear-gradient(90deg, var(--tp), var(--ts)); display: flex; align-items: center; gap: 8px; padding: 0 14px; color: #fff; font-weight: 700; }
.ld-shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); }
.ld-shot .body { padding: 14px; }
.ld-shot .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.ld-shot .tile { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.ld-shot .tile b { display: block; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.ld-shot .tile span { color: var(--muted); font-size: 11px; }
.ld-shot table { width: 100%; border-collapse: collapse; }
.ld-shot th { text-align: left; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.ld-shot td { padding: 8px; border-bottom: 1px solid var(--border); }

.ld-phone { width: min(300px, 100%); border-radius: 34px; border: 8px solid #0f172a; background: #0f172a; box-shadow: 0 30px 60px -20px rgba(15,23,42,.35); overflow: hidden; }
.ld-phone .screen { background: var(--page); border-radius: 26px; overflow: hidden; }
.ld-phone .bar { height: 44px; background: linear-gradient(90deg, var(--tp), var(--ts)); color: #fff; font-weight: 700; display: flex; align-items: center; padding: 0 16px; font-size: 14px; }
.ld-phone .body { padding: 14px; font-size: 13px; color: var(--ink); }
.ld-phone .summary { border: 1px solid var(--border); border-radius: 10px; padding: 10px; margin-bottom: 10px; background: var(--surface); }
.ld-phone .summary b { display: block; font-size: 18px; }
.ld-phone .summary span { display: block; color: var(--muted); font-size: 11px; }
.ld-phone .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.ld-phone .btn { margin-top: 12px; }

.ld-mapcard { width: 100%; max-width: 520px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(15,23,42,.25); }
.ld-map { position: relative; background: #eef2f7; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.ld-map::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#dfe5ee 1px, transparent 1px), linear-gradient(90deg, #dfe5ee 1px, transparent 1px); background-size: 34px 34px; }
.ld-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ld-map .stop { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--ui-primary); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; transform: translate(-50%, -50%); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.ld-mapcard .caption { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 12px; font-size: 14px; }
.ld-mapcard .caption span { color: var(--muted); }

/* ---- Wider screens ---- */
@media (min-width: 640px) {
  .ld-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
  .ld-stats .ld-wrap { grid-template-columns: repeat(4, 1fr); }
  .ld-stat { border-bottom: 0; border-right: 1px solid var(--border); padding: 28px 20px; }
  .ld-stat:last-child { border-right: 0; }
  .ld-stat b { font-size: 28px; }
  .ld-hero { padding: 80px 0 96px; }
  .ld-top .ld-wrap { height: 72px; }
  .ld-logo img { height: 44px; }
}
@media (min-width: 720px) {
  .ld-tiers { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .ld-pricing { padding: 72px 0; }
  .ld-role { padding: 88px 0; }
  .ld-role .ld-wrap { grid-template-columns: 1fr 1fr; gap: 56px; }
  .ld-role.flip .ld-role-text { order: 2; }
  .ld-role-tag { font-size: 18px; padding: 10px 20px; }
  .ld-closing { padding: 96px 0; }
}
