/* ===========================================================
   BeardLog — landing page (pre-login welcome)
   Reuses tokens + primitives from styles.css. All classes here
   are prefixed .lp- to avoid colliding with the app.
   =========================================================== */

.lp-nav-cta { padding: 8px 16px; font-size: 0.85rem; text-decoration: none; }

.lp-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- hero ---------- */
.lp-hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 20px 40px;
}
.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.lp-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 16px;
}
.lp-h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: var(--text);
}
.lp-h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--amber-strong);
}
.lp-lede {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 34ch;
  margin: 0 0 28px;
}
.lp-lede strong { color: var(--text); font-weight: 600; }

.lp-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.lp-cta-lg { padding: 13px 24px; font-size: 0.98rem; text-decoration: none; }

.lp-trust {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-faint);
  margin: 0;
  letter-spacing: 0.01em;
}
.lp-trust .lp-dot { color: var(--green); font-size: 0.55rem; vertical-align: middle; }

/* ---------- hero scan card ---------- */
.lp-hero-visual { display: flex; justify-content: center; }
.lp-scan-card {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}
.lp-scan-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.lp-scan-tag { color: var(--text-faint); }
.lp-scan-live { color: var(--green); display: inline-flex; align-items: center; gap: 5px; }
.lp-blink { font-size: 0.5rem; animation: lp-blink 1.6s ease-in-out infinite; }
@keyframes lp-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

.lp-scan-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.lp-roi {
  fill: rgba(87,185,138,0.06);
  stroke: #57d0b9;
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
}
.lp-dots circle {
  filter: drop-shadow(0 0 2px rgba(87,185,138,0.6));
  opacity: 0;
  animation: lp-pop 0.4s ease-out forwards;
}
.lp-dots circle:nth-child(odd) { animation-delay: 0.15s; }
.lp-dots circle:nth-child(3n) { animation-delay: 0.3s; }
.lp-dots circle:nth-child(4n) { animation-delay: 0.45s; }
@keyframes lp-pop { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: scale(1); } }

.lp-scan-readout {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 14px;
  padding: 0 4px;
}
.lp-scan-approx { color: var(--text-faint); font-family: var(--font-mono); font-size: 1.3rem; }
.lp-scan-num { font-family: var(--font-mono); font-weight: 600; font-size: 2.3rem; color: var(--amber-strong); line-height: 1; }
.lp-scan-unit { color: var(--text-dim); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.lp-scan-tickbar {
  height: 6px;
  margin: 10px 4px;
  background-image: repeating-linear-gradient(90deg, var(--amber-dim) 0 1px, transparent 1px 8px);
  background-size: 100% 6px;
  opacity: 0.7;
}
.lp-scan-sub { margin: 0 4px; color: var(--text-faint); font-size: 0.8rem; }

/* ---------- steps ---------- */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lp-step {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px;
}
.lp-step-n {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--amber);
  border: 1px solid var(--amber-dim);
  border-radius: 999px;
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 14px;
}
.lp-step h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin: 0 0 8px; color: var(--text); }
.lp-step p { margin: 0; color: var(--text-dim); font-size: 0.92rem; line-height: 1.5; }

/* ---------- shared type ---------- */
.lp-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.lp-body { font-size: 1rem; line-height: 1.6; color: var(--text-dim); margin: 0 0 14px; }
.lp-body strong { color: var(--text); font-weight: 600; }
.lp-muted { color: var(--text-faint); }

/* ---------- stubble hook ---------- */
.lp-stubble {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}
.lp-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-compare-cell { text-align: center; }
.lp-mini {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}
/* crisp = discrete green dots on a grid */
.lp-mini-crisp {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 18px;
}
.lp-mini-crisp span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 4px rgba(87,185,138,0.6);
}
/* merged = an amorphous dark mat */
.lp-mini-merged {
  background:
    radial-gradient(circle at 30% 40%, rgba(226,152,79,0.35), transparent 42%),
    radial-gradient(circle at 65% 55%, rgba(226,152,79,0.3), transparent 45%),
    radial-gradient(circle at 50% 75%, rgba(226,96,79,0.28), transparent 50%),
    var(--surface-3);
}
.lp-shot { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-shot-caption { grid-column: 1 / -1; text-align: center; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); margin: 10px 0 0; }
.lp-compare-label { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim); margin: 0; }
.lp-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 999px;
  margin-right: 4px;
}
.lp-badge-green { color: var(--green); border: 1px solid rgba(87,185,138,0.4); background: rgba(87,185,138,0.08); }
.lp-badge-amber { color: var(--amber-strong); border: 1px solid var(--amber-dim); background: rgba(226,152,79,0.08); }

/* ---------- track teaser ---------- */
.lp-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.lp-delta { margin: 4px 0 0; font-family: var(--font-mono); }
.lp-delta-up { color: var(--green); font-size: 1.3rem; font-weight: 600; }
.lp-delta-pct { color: var(--text-faint); font-size: 0.9rem; }
.lp-chart { background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 16px; }
.lp-chart svg { width: 100%; height: auto; display: block; }
.lp-axis { stroke: var(--border); stroke-width: 1; }
.lp-trend { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lp-chart-axis {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-faint);
  padding: 0 6px;
  margin-top: 4px;
}

/* ---------- plans ---------- */
.lp-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lp-plan {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.lp-plan-pro { border-color: var(--amber-dim); }
.lp-plan-name {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-plan-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 18px;
}
.lp-plan-price span { font-family: var(--font-body); font-size: 0.85rem; color: var(--text-faint); font-weight: 400; }
.lp-plan-list { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.lp-plan-list li { padding: 7px 0; border-bottom: 1px solid var(--border-soft); color: var(--text-dim); font-size: 0.92rem; }
.lp-plan-list li:last-child { border-bottom: none; }
.lp-check { color: var(--green); font-weight: 600; margin-right: 4px; }
.lp-plan-note { margin: 12px 0 0; font-size: 0.76rem; color: var(--text-faint); font-style: italic; }
.lp-plan .btn { text-decoration: none; text-align: center; }

/* ---------- closing ---------- */
.lp-closing { text-align: center; padding: 60px 20px 40px; }
.lp-closing .lp-h2 { justify-content: center; }
.lp-closing .lp-cta-lg { text-decoration: none; margin-top: 8px; }

/* ---------- footer ---------- */
.lp-footer { border-top: 1px solid var(--border-soft); margin-top: 20px; }
.lp-footer-inner { max-width: 1080px; margin: 0 auto; padding: 28px 20px 48px; }
.lp-footer-note { color: var(--text-faint); font-size: 0.82rem; line-height: 1.6; margin: 10px 0 0; max-width: 60ch; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .lp-hero { padding-top: 40px; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-stubble, .lp-track, .lp-plans { grid-template-columns: 1fr; }
  .lp-lede { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-dots circle { animation: none; opacity: 1; }
  .lp-blink { animation: none; }
}

/* ---------- field-journal landing composition ---------- */
.lp-wrap,
.lp-hero,
.lp-footer-inner { max-width: 1280px; }

.lp-hero {
  padding: 72px 28px 48px;
  background:
    radial-gradient(680px 420px at 82% 36%, rgba(197,107,50,0.09), transparent 68%);
}
.lp-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
  gap: clamp(42px, 7vw, 92px);
}
.lp-eyebrow {
  margin-bottom: 14px;
  color: var(--text-dim);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
}
.lp-h1 {
  max-width: 780px;
  font-size: clamp(4.2rem, 9vw, 7.5rem);
  font-weight: 900;
  letter-spacing: 0.015em;
  line-height: 0.82;
  text-transform: uppercase;
}
.lp-h1 em {
  color: var(--amber);
  font-style: normal;
  font-weight: 900;
}
.lp-lede { max-width: 48ch; }
.lp-trust {
  max-width: 620px;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.lp-scan-card {
  position: relative;
  max-width: 430px;
  padding: 24px 22px 20px;
  color: var(--ink);
  border-color: rgba(28,42,34,0.16);
  background: var(--paper);
  border-radius: 10px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.46), inset 0 0 0 1px rgba(28,42,34,0.1);
  transform: rotate(0.65deg);
}
.lp-scan-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px dashed rgba(28,42,34,0.22);
  border-radius: 6px;
}
.lp-scan-card::after {
  content: "FIELD SAMPLE";
  position: absolute;
  top: -14px;
  right: 18px;
  padding: 6px 10px;
  color: var(--paper);
  background: var(--copper);
  border-radius: 3px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  transform: rotate(3deg);
}
.lp-scan-card > * { position: relative; z-index: 1; }
.lp-scan-head { color: var(--ink-2); }
.lp-scan-tag { color: var(--ink-2); }
.lp-scan-live { color: #367c5e; }
.lp-scan-svg {
  border: 1px solid rgba(28,42,34,0.24);
  background: var(--ink);
}
.lp-scan-num {
  color: var(--copper);
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 0.015em;
}
.lp-scan-approx,
.lp-scan-unit,
.lp-scan-sub { color: var(--ink-2); }
.lp-scan-tickbar { background-image: repeating-linear-gradient(90deg, rgba(197,107,50,0.72) 0 1px, transparent 1px 8px); }

.lp-steps { gap: 16px; }
.lp-step {
  border-color: rgba(159,184,164,0.16);
  border-radius: 8px;
  background: rgba(19,31,26,0.74);
  transition: transform 0.2s, border-color 0.2s;
}
.lp-step:hover { transform: translateY(-4px); border-color: var(--amber-dim); }
.lp-step-n {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--copper);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
}
.lp-step h3 {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.lp-h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 0.95;
  text-transform: uppercase;
}

.lp-stubble,
.lp-track {
  border-radius: 10px;
  background: rgba(19,31,26,0.78);
}
.lp-mini { border-radius: 5px; }
.lp-badge { border-radius: 3px; }
.lp-chart { border-radius: 6px; background: rgba(0,0,0,0.2); }
.lp-delta-up {
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
}

.lp-plan {
  border-radius: 8px;
  background: rgba(19,31,26,0.78);
}
.lp-plan:first-child {
  color: var(--ink);
  border-color: rgba(28,42,34,0.18);
  background: var(--paper);
  box-shadow: 0 22px 44px rgba(0,0,0,0.34);
  transform: rotate(-0.2deg);
}
.lp-plan:first-child .lp-plan-name,
.lp-plan:first-child .lp-plan-price,
.lp-plan:first-child .lp-plan-list li { color: var(--ink); }
.lp-plan:first-child .lp-plan-list li { border-color: rgba(28,42,34,0.15); }
.lp-plan:first-child .lp-plan-price span { color: var(--ink-2); }
.lp-plan-price {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.lp-footer { border-color: rgba(159,184,164,0.16); }

@media (max-width: 900px) {
  .lp-hero-grid { grid-template-columns: 1fr; }
  .lp-hero-copy { max-width: 760px; }
  .lp-hero-visual { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .lp-hero { padding: 52px 18px 30px; }
  .lp-wrap { padding: 0 14px; }
  .lp-h1 { font-size: clamp(3.8rem, 19vw, 5.6rem); }
  .lp-scan-card { padding: 20px 16px 16px; transform: none; }
  .lp-scan-num { font-size: 3.25rem; }
  .lp-cta-row { align-items: stretch; }
  .lp-cta-row .btn { flex: 1 1 100%; text-align: center; }
  .lp-plan:first-child { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-step { transition: none; }
}
