/* Phase 14A: marketing and landing-page additions. Same light palette as styles.css and the app. */

.lp { padding-bottom: 24px; }
.crumbs { font-size: 13px; color: var(--ink-faint); padding: 22px 0 0; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs span { margin: 0 4px; }

.lp-head { padding: 26px 0 10px; max-width: 760px; }
.lp-head h1 { font-size: 38px; margin: 0 0 14px; letter-spacing: -0.5px; }
.lp-head .lede { margin: 0 0 26px; max-width: 640px; }
.lp-head .cta-row { justify-content: flex-start; }
.lp-head .platform-note { text-align: left; margin-top: 16px; }

.lp-section { padding: 30px 0; border-top: 1px solid var(--border); max-width: 820px; }
.lp-section h2 { font-size: 23px; margin: 0 0 12px; letter-spacing: -0.3px; }
.lp-section > p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; margin: 0 0 6px; max-width: 720px; }
.lp-section ul.check-list { margin-top: 10px; }

.lp-related { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-related a {
  display: inline-block; padding: 10px 16px; border-radius: 9px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--accent-ink); text-decoration: none; font-size: 14px; font-weight: 600;
}
.lp-related a:hover { border-color: var(--accent); background: var(--accent-soft); }

.lp-cta { text-align: left; }
.lp-cta p { margin-bottom: 18px; }

@media (max-width: 640px) {
  .lp-head h1 { font-size: 30px; }
  .lp-head .cta-row .btn { width: 100%; justify-content: center; }
}

/* ---------- Home page: the journey, and the new sections ---------- */

.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  max-width: 980px;
  margin: 0 auto;
  counter-reset: flowstep;
}
.flow-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  position: relative;
}
.flow-step .n {
  counter-increment: flowstep;
  width: 30px; height: 30px; margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.flow-step .n::before { content: counter(flowstep); }
.flow-step b { display: block; font-size: 14px; margin-bottom: 4px; }
.flow-step span { font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; display: block; }
.flow-step::after {
  content: "";
  position: absolute; top: 50%; right: -8px;
  width: 6px; height: 6px;
  border-top: 2px solid var(--border-strong); border-right: 2px solid var(--border-strong);
  transform: translateY(-50%) rotate(45deg);
}
.flow-step:last-child::after { display: none; }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(3, 1fr); } .flow-step::after { display: none; } }
@media (max-width: 520px) { .flow { grid-template-columns: repeat(2, 1fr); } }

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: start;
}
.split h2 { margin-top: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 20px; } }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  font-size: 13px; font-weight: 600;
  padding: 7px 13px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); color: var(--ink-soft);
}
.chip.good { background: var(--good-soft); border-color: rgba(30,158,107,.25); color: var(--good); }
.chip.attn { background: var(--attn-soft); border-color: rgba(184,118,14,.25); color: var(--attn); }
.chip.unknown { background: var(--surface-alt); color: var(--ink-faint); }

.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.trust {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 18px;
  font-size: 14px; color: var(--ink-soft);
}
.trust b { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 3px; }

.b2b {
  background: linear-gradient(180deg, var(--accent-soft), var(--surface));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px;
}
.b2b h2 { margin-top: 0; }
.b2b .flow { margin-top: 20px; }
@media (max-width: 640px) { .b2b { padding: 24px 20px; } }

.explain-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.explain-list a {
  display: block; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  text-decoration: none; color: var(--ink); font-size: 14.5px; font-weight: 600;
}
.explain-list a span { display: block; font-weight: 400; font-size: 13px; color: var(--ink-soft); margin-top: 3px; }
.explain-list a:hover { border-color: var(--accent); }

/* Real screenshots of the running app. Never stock imagery, never a generic template. */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 980px; margin: 0 auto; }
.shots figure { margin: 0; }
.shots img {
  width: 100%; height: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(15, 27, 42, .08);
  background: var(--surface);
}
.shots figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); text-align: center; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; } }
