/* ==========================================================================
   LeadLine — Marketing landing page ("The Transcript")
   Used only by Views/Shared/_LandingLayout.cshtml.

   Self-contained on purpose: this file does NOT depend on bootstrap.min.css
   or leadline.css, so the signed-out landing page can't be broken by changes
   to the in-app design system. Tokens mirror leadline.css by value; all
   classes are prefixed --lp-/.lp- so nothing here can collide with the app.
   ========================================================================== */

/* ── Tokens (values mirror wwwroot/css/leadline.css) ─────────────────────── */
:root {
  --lp-navy:      #1e2a45;
  --lp-navy-dk:   #16203a;
  --lp-accent:    #f97316;
  --lp-accent-dk: #ea6c05;
  --lp-accent-lt: #fff7ed;
  --lp-accent-br: #fed7aa;
  --lp-blue:      #2563eb;
  --lp-bg:        #ffffff;
  --lp-surface:   #f0f2f8;
  --lp-surface2:  #e8ebf4;
  --lp-border:    #e2e6f0;
  --lp-border2:   #c8cedf;
  --lp-text:      #1a2236;
  --lp-muted:     #64748b;
  --lp-muted2:    #94a3b8;
  --lp-radius:    10px;

  --lp-display: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --lp-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --lp-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', 'Consolas', monospace;
}

/* ── Base ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.lp-body {
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: var(--lp-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* Bare element selector on purpose: this file is loaded only by _LandingLayout,
   and keeping it at low specificity lets .lp-btn-* set their own colors. */
a { color: inherit; text-decoration: none; }

.lp-wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 3px; border-radius: 4px; }

/* ── Brand + buttons ─────────────────────────────────────────────────────── */
.lp-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--lp-display); font-weight: 800; font-size: 18px; letter-spacing: -.02em;
}
.lp-mark {
  width: 28px; height: 28px; border-radius: 8px; background: var(--lp-accent);
  color: #fff; display: grid; place-items: center; font-size: 15px;
}
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--lp-body); font-weight: 600; font-size: 14px;
  padding: 11px 20px; border-radius: var(--lp-radius);
  border: 1px solid transparent; cursor: pointer; transition: .18s ease;
}
.lp-btn-primary { background: var(--lp-navy); color: #fff; }
.lp-btn-primary:hover { background: var(--lp-navy-dk); transform: translateY(-1px); }
.lp-btn-accent { background: var(--lp-accent); color: #fff; }
.lp-btn-accent:hover { background: var(--lp-accent-dk); transform: translateY(-1px); }
.lp-btn-ghost { background: #fff; border-color: var(--lp-border); color: var(--lp-text); }
.lp-btn-ghost:hover { border-color: var(--lp-muted2); }
.lp-btn-lg { padding: 14px 26px; font-size: 15px; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lp-border);
}
.lp-nav-in {
  max-width: 1080px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 16px;
}
.lp-nav-sp { flex: 1; }
.lp-link { font-size: 14px; font-weight: 500; color: var(--lp-muted); padding: 8px 4px; }
.lp-link:hover { color: var(--lp-text); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.lp-hero { padding: 88px 0 24px; }
.lp-eyebrow {
  font-family: var(--lp-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--lp-accent);
  display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.lp-eyebrow::after { content: ""; height: 1px; flex: 1; background: var(--lp-border); max-width: 180px; }
.lp-hero h1 {
  font-family: var(--lp-display); font-weight: 800;
  font-size: clamp(38px, 6.2vw, 66px); line-height: 1.02; letter-spacing: -.035em;
  max-width: 14ch;
}
.lp-hero h1 em { font-style: normal; color: var(--lp-accent); }
.lp-sub { margin-top: 22px; font-size: 17.5px; color: var(--lp-muted); max-width: 52ch; }
.lp-cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lp-cta-note { font-size: 13px; color: var(--lp-muted2); margin-left: 6px; }

/* ── Signature: transcript panel ─────────────────────────────────────────── */
.lp-tx {
  margin-top: 56px; background: #fff;
  border: 1px solid var(--lp-border); border-radius: 14px;
  box-shadow: 0 12px 32px -12px rgba(30,42,69,.18); overflow: hidden;
}
.lp-tx-bar {
  display: flex; align-items: center; gap: 12px; padding: 13px 18px;
  border-bottom: 1px solid var(--lp-border); background: var(--lp-surface);
}
.lp-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--lp-accent);
  box-shadow: 0 0 0 0 rgba(249,115,22,.5); animation: lp-pulse 2s infinite;
}
@keyframes lp-pulse {
  70%  { box-shadow: 0 0 0 8px rgba(249,115,22,0); }
  100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
}
.lp-tx-title { font-family: var(--lp-mono); font-size: 12px; font-weight: 500; color: var(--lp-navy); }
.lp-tx-meta  { margin-left: auto; font-family: var(--lp-mono); font-size: 11.5px; color: var(--lp-muted2); }
.lp-tx-body  { padding: 22px 18px 26px; display: grid; gap: 16px; }

.lp-turn {
  display: grid; grid-template-columns: 56px 84px 1fr; gap: 14px; align-items: baseline;
  opacity: 0; animation: lp-rise .5s ease forwards;
}
.lp-turn:nth-child(1) { animation-delay: .25s; }
.lp-turn:nth-child(2) { animation-delay: 1.0s; }
.lp-turn:nth-child(3) { animation-delay: 1.75s; }
.lp-turn:nth-child(4) { animation-delay: 2.5s; }
@keyframes lp-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.lp-t-time { font-family: var(--lp-mono); font-size: 11.5px; color: var(--lp-muted2); }
.lp-t-who  { font-family: var(--lp-mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.lp-t-who.lp-agent   { color: var(--lp-accent); }
.lp-t-who.lp-contact { color: var(--lp-blue); }
.lp-t-said { font-size: 15px; color: var(--lp-text); }

.lp-tx-foot {
  border-top: 1px solid var(--lp-border); background: var(--lp-accent-lt);
  padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 8px 18px;
  align-items: center; font-size: 13.5px;
}
.lp-tx-foot b {
  font-family: var(--lp-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--lp-accent);
}
.lp-chip {
  font-family: var(--lp-mono); font-size: 11.5px; background: #fff;
  border: 1px solid var(--lp-accent-br); color: var(--lp-navy);
  padding: 3px 9px; border-radius: 6px;
}

/* ── Steps (a real sequence: set up → run → read) ────────────────────────── */
.lp-steps { padding: 104px 0 0; }
.lp-sec-head {
  font-family: var(--lp-mono); font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--lp-muted2); margin-bottom: 28px;
}
.lp-step-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--lp-border); border: 1px solid var(--lp-border);
  border-radius: 14px; overflow: hidden;
}
.lp-step { background: #fff; padding: 32px 26px 34px; }
.lp-step-n { font-family: var(--lp-mono); font-size: 12px; font-weight: 700; color: var(--lp-accent); margin-bottom: 18px; }
.lp-step h3 { font-family: var(--lp-display); font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.lp-step p  { font-size: 14.5px; color: var(--lp-muted); }

/* ── Image placeholder (swap for a real <img> when art is ready) ─────────── */
.lp-shot { margin-top: 104px; }
.lp-ph {
  border: 1px dashed var(--lp-border2); border-radius: 14px;
  background: repeating-linear-gradient(45deg, var(--lp-surface) 0 12px, var(--lp-surface2) 12px 24px);
  display: grid; place-items: center; padding: 24px; text-align: center;
  font-family: var(--lp-mono); font-size: 12px; letter-spacing: .08em; color: var(--lp-muted2);
}
.lp-ph-16x9 { aspect-ratio: 16 / 9; }
.lp-ph span { background: #fff; border: 1px solid var(--lp-border); border-radius: 8px; padding: 8px 14px; }
.lp-cap { margin-top: 14px; font-size: 13.5px; color: var(--lp-muted); text-align: center; }

/* ── Closing band ────────────────────────────────────────────────────────── */
.lp-band {
  margin-top: 104px; background: var(--lp-navy); color: #fff;
  border-radius: 16px; padding: 64px 48px; text-align: center;
}
.lp-band h2 {
  font-family: var(--lp-display); font-weight: 800;
  font-size: clamp(28px, 4vw, 42px); letter-spacing: -.03em; line-height: 1.08; color: #fff;
}
.lp-band p { margin: 16px auto 30px; color: rgba(255,255,255,.68); max-width: 46ch; font-size: 16px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.lp-footer {
  margin-top: 72px; border-top: 1px solid var(--lp-border); padding: 28px 0 56px;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  font-size: 13.5px; color: var(--lp-muted2);
}
.lp-footer a { color: var(--lp-muted); }
.lp-footer a:hover { color: var(--lp-text); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .lp-hero { padding-top: 56px; }
  .lp-step-grid { grid-template-columns: 1fr; }
  .lp-turn { grid-template-columns: 1fr; gap: 4px; }
  .lp-nav .lp-link { display: none; }
  .lp-band { padding: 48px 24px; border-radius: 0; margin-left: -24px; margin-right: -24px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-body *, .lp-body *::before, .lp-body *::after { animation: none !important; transition: none !important; }
  .lp-turn { opacity: 1; }
}
