/* Landing page. Depends on base.css tokens. */

.lp {
  max-width: 460px;
  margin: 0 auto;
  padding: 0 var(--s5);
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s5) 0 0;
}
.lp-nav .mark { width: 26px; height: 26px; border-radius: 9px; background: var(--accent); flex-shrink: 0; }
.lp-nav .name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-lg);
  letter-spacing: -.03em;
  flex-grow: 1;
}
.lp-nav a { color: var(--muted); font-weight: 500; font-size: var(--fs-md); }

.lp-section { padding-top: var(--s8); }

.lp-hero { padding-top: var(--s7); }
.lp-hero h1 {
  font-size: var(--fs-3xl);
  line-height: .96;
  letter-spacing: -.045em;
}
.lp-hero .lede {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: var(--s4) 0 0;
  text-wrap: pretty;
}
.lp-hero .cta-note {
  font-size: var(--fs-sm);
  color: var(--faint);
  text-align: center;
  margin-top: var(--s3);
}
.lp-cta { margin-top: var(--s6); }

/* ---- live demo ---- */

.demo {
  margin-top: var(--s7);
  padding: var(--s5);
  border-radius: var(--r-button);
  background: var(--ink);
  color: var(--paper);
}
.demo .demo-label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 700;
}
.demo .demo-grid { display: flex; gap: var(--s3); margin-top: var(--s3); }

.demo-btn {
  flex-grow: 1;
  min-height: 84px;
  border: none;
  border-radius: var(--r-md);
  color: var(--on-color);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -.03em;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: transform .13s var(--ease-spring), filter .13s ease;
}
.demo-btn:active { transform: scale(.945); filter: brightness(.93); }
.demo-btn .demo-count {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-xs);
  letter-spacing: 0;
  opacity: .75;
}

.demo-hint { margin-top: var(--s4); font-size: var(--fs-sm); color: var(--faint); }

.demo-log { margin-top: var(--s4); display: flex; flex-direction: column; gap: 7px; }
.demo-log .row {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: var(--fs-sm);
  animation: row-in .28s var(--ease-out) both;
}
.demo-log .chip {
  padding: 3px 9px;
  border-radius: var(--r-chip);
  font-size: 11px;
  font-weight: 700;
  color: var(--on-color);
}
.demo-log .time  { color: var(--faint); font-variant-numeric: tabular-nums; flex-grow: 1; }
.demo-log .total { color: var(--faint); font-size: var(--fs-xs); }

/* ---- steps ---- */

.steps { display: flex; flex-direction: column; gap: var(--s4); margin-top: var(--s5); }
.step  { display: flex; gap: var(--s4); align-items: flex-start; }
.step .n {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--on-color);
}
.step .step-title { font-size: 16px; font-weight: 700; }
.step .step-body  { font-size: var(--fs-sm); line-height: 1.45; color: var(--muted); margin-top: 3px; }

/* ---- use cases ---- */

.lp-lede { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--s2); }

.cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s2);
  margin-top: var(--s4);
}
.case {
  min-height: 96px;
  padding: var(--s4);
  border-radius: var(--r-md);
  color: var(--on-color);
  display: flex;
  flex-direction: column;
}
.case .case-name { font-size: var(--fs-md); font-weight: 700; }
.case .case-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: var(--s3); }
.case .case-chip {
  padding: 4px 9px;
  border-radius: var(--r-chip);
  background: rgba(255, 251, 242, .22);
  font-size: 11px;
  font-weight: 700;
}
.case.on-light { color: var(--on-amber); }
.case.on-light .case-chip { background: rgba(25, 21, 18, .12); }

/* ---- features ---- */

.features { margin-top: var(--s4); }
.feature {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  padding: var(--s4) 0;
  border-top: 1px solid var(--line);
}
.feature .key { width: 9px; height: 9px; border-radius: 3px; flex-shrink: 0; margin-top: 7px; }
.feature .feat-title { font-size: var(--fs-md); font-weight: 700; }
.feature .feat-body  { font-size: var(--fs-sm); line-height: 1.45; color: var(--muted); margin-top: 3px; }

/* ---- install ---- */

.install {
  margin-top: var(--s8);
  padding: var(--s5);
  border-radius: var(--r-button);
  background: var(--c-pine);
  color: var(--on-color);
}
.install h2 { font-size: var(--fs-xl); }
.install p { font-size: var(--fs-sm); line-height: 1.5; color: var(--on-color-dim); margin: var(--s3) 0 var(--s5); }
.install .btn { background: var(--paper); color: var(--ink); }

/* ---- faq ---- */

.faq { margin-top: var(--s4); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4) 0;
  font-size: var(--fs-md);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 14px; height: 14px;
  margin-left: auto;
  flex-shrink: 0;
  background: currentColor;
  color: var(--faint);
  clip-path: polygon(45% 0, 55% 0, 55% 45%, 100% 45%, 100% 55%, 55% 55%, 55% 100%, 45% 100%, 45% 55%, 0 55%, 0 45%, 45% 45%);
  transition: transform .2s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { font-size: var(--fs-sm); line-height: 1.55; color: var(--muted); padding: 0 0 var(--s4); margin: 0; }

/* ---- closing + footer ---- */

.closing { text-align: center; padding-top: var(--s8); }
.closing h2 { font-size: 34px; letter-spacing: -.04em; }
.closing p { font-size: var(--fs-sm); color: var(--muted); margin: var(--s3) 0 var(--s5); }

.lp-footer {
  margin-top: var(--s8);
  padding: var(--s5) 0 var(--s7);
  border-top: 2px solid var(--line);
  display: flex;
  align-items: center;
  gap: var(--s4);
  font-size: var(--fs-sm);
}
.lp-footer .mark { width: 22px; height: 22px; border-radius: 8px; background: var(--accent); }
.lp-footer .name { color: var(--faint); flex-grow: 1; }
.lp-footer a { color: var(--muted); }
