/* Marketing landing page. Self-contained so it never depends on the compiled
   Tailwind build: the landing ships with the app, not with the staff UI. */

/* The staff layout pads .app-main; the marketing page is full-bleed. */
body:has(.landing) { background: #080f1e; }
body:has(.landing) .app-main { padding: 0; }

.landing {
  --ink: #0b1120;
  --ink-soft: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --pink: #db2777;
  background: #f8fafc;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.landing a { color: inherit; text-decoration: none; }
.landing-shell { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }

.landing-header { position: sticky; top: 0; z-index: 20; background: rgba(8, 15, 30, .86); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(148, 163, 184, .18); }
.landing-header .landing-shell { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.landing-brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; font-weight: 800; letter-spacing: -.01em; }
.landing-mark { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: .6rem; background: linear-gradient(135deg, var(--indigo), var(--pink)); font-size: .95rem; font-weight: 900; color: #fff; }
.landing-nav { display: flex; align-items: center; gap: 1.35rem; color: #cbd5e1; font-size: .9rem; font-weight: 600; }
.landing-nav a:hover { color: #fff; }

.landing-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem 1.25rem; border-radius: .7rem; font-size: .92rem; font-weight: 700; border: 1px solid transparent; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.landing-btn:hover { transform: translateY(-1px); }
.landing-btn-primary { background: linear-gradient(135deg, var(--indigo), var(--violet)); color: #fff; box-shadow: 0 10px 24px rgba(79, 70, 229, .35); }
.landing-btn-primary:hover { background: linear-gradient(135deg, #4338ca, #6d28d9); }
.landing-btn-ghost { border-color: rgba(203, 213, 225, .35); color: #e2e8f0; }
.landing-btn-ghost:hover { border-color: #e2e8f0; }
.landing-btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.landing-btn-light:hover { background: #f1f5f9; }

.landing-hero { position: relative; overflow: hidden; background: radial-gradient(900px 420px at 15% -10%, rgba(79, 70, 229, .45), transparent 60%), radial-gradient(700px 380px at 90% 0%, rgba(219, 39, 119, .32), transparent 55%), #080f1e; color: #fff; padding: 5.5rem 0 5rem; }
.landing-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 75%); pointer-events: none; }
.landing-hero .landing-shell { position: relative; z-index: 1; }
.landing-eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid rgba(165, 180, 252, .35); background: rgba(79, 70, 229, .18); color: #c7d2fe; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.landing-hero h1 { margin: 1.1rem 0 0; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 850; max-width: 20ch; }
.landing-hero h1 span { background: linear-gradient(120deg, #a5b4fc, #f9a8d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.landing-lede { margin-top: 1.15rem; max-width: 46ch; color: #cbd5e1; font-size: 1.06rem; line-height: 1.65; }
.landing-cta { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.landing-trust { margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: #94a3b8; font-size: .84rem; font-weight: 600; }
.landing-trust li { list-style: none; display: inline-flex; align-items: center; gap: .4rem; }
.landing-trust li::before { content: ""; width: .45rem; height: .45rem; border-radius: 999px; background: #34d399; }

.landing-section { padding: 4.5rem 0; }
.landing-section-head { max-width: 42rem; margin-bottom: 2.5rem; }
.landing-kicker { color: var(--indigo); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.landing-section h2 { margin: .5rem 0 0; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.02em; font-weight: 800; }
.landing-section p.landing-sub { margin-top: .7rem; color: var(--muted); font-size: 1rem; line-height: 1.6; }

.landing-grid { display: grid; gap: 1rem; }
.landing-grid-3 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.landing-card { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.4rem; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.landing-card h3 { margin: 0; font-size: 1rem; font-weight: 750; letter-spacing: -.01em; }
.landing-card p { margin: .5rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.landing-icon { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: .9rem; border-radius: .7rem; background: #eef2ff; color: var(--indigo); font-size: 1.1rem; }

.landing-band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.landing-steps { counter-reset: step; }
.landing-step { position: relative; padding-left: 3.25rem; }
.landing-step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: .9rem; }

.landing-pricing { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); align-items: start; }
.landing-plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.6rem; display: flex; flex-direction: column; height: 100%; }
.landing-plan.featured { border-color: transparent; box-shadow: 0 18px 40px rgba(79, 70, 229, .18); outline: 2px solid var(--indigo); }
.landing-badge { position: absolute; top: -0.75rem; left: 1.5rem; padding: .25rem .65rem; border-radius: 999px; background: linear-gradient(135deg, var(--indigo), var(--pink)); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.landing-plan h3 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.landing-price { margin: .9rem 0 .15rem; font-size: 2.3rem; font-weight: 850; letter-spacing: -.03em; }
.landing-price small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.landing-plan .landing-plan-note { color: var(--muted); font-size: .82rem; font-weight: 600; }
.landing-plan ul { margin: 1.2rem 0 1.5rem; padding: 0; display: grid; gap: .55rem; }
.landing-plan li { list-style: none; position: relative; padding-left: 1.35rem; color: var(--ink-soft); font-size: .88rem; line-height: 1.5; }
.landing-plan li::before { content: "✓"; position: absolute; left: 0; color: #059669; font-weight: 800; }
.landing-plan .landing-btn { margin-top: auto; width: 100%; }
.landing-plan.featured .landing-btn { background: linear-gradient(135deg, var(--indigo), var(--violet)); color: #fff; }
.landing-plan-note-under { margin-top: 1.5rem; text-align: center; color: var(--muted); font-size: .85rem; }

.landing-final { background: linear-gradient(135deg, #1e1b4b, #312e81 55%, #831843); color: #fff; padding: 4rem 0; text-align: center; }
.landing-final h2 { margin: 0; font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; }
.landing-final p { margin: .8rem auto 0; max-width: 40rem; color: #c7d2fe; }
.landing-final .landing-cta { justify-content: center; }

.landing-footer { background: #080f1e; color: #94a3b8; padding: 2.75rem 0; font-size: .85rem; }
.landing-footer .landing-shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.landing-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.landing-footer a:hover { color: #fff; }

@media (max-width: 720px) {
  .landing-nav { gap: .9rem; }
  .landing-nav .landing-hide-sm { display: none; }
  .landing-hero { padding: 4rem 0 3.5rem; }
  .landing-section { padding: 3.25rem 0; }
}
