/* Landing page (#3). Layout only; the wording is in content/landing.json. */
.lp { margin: 0; background: #fff; color: var(--brand-graphite); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; line-height: 1.55; }
.lp h1, .lp h2, .lp h3 { line-height: 1.2; color: var(--brand-black); }
.lp a { color: var(--accent-text); }
.lp a:focus-visible, .lp summary:focus-visible { outline: 3px solid var(--brand-teal); outline-offset: 2px; border-radius: 4px; }

.lp-skip { position: absolute; left: 8px; top: -60px; z-index: 10; background: var(--brand-teal); color: var(--brand-black) !important; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.lp-skip:focus { top: 8px; }

.lp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.lp-narrow { max-width: 760px; }

/* Top bar */
.lp-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; background: var(--brand-black); border-bottom: 3px solid var(--brand-teal); }
.lp-logo img { display: block; height: 44px; width: auto; }
.lp-top nav { display: flex; align-items: center; gap: 20px; }
.lp-top nav a:not(.btn) { color: var(--brand-white); text-decoration: none; font-weight: 600; font-size: 15px; }
.lp-top nav a:not(.btn):hover { color: var(--brand-teal); }
.lp-top .btn { text-decoration: none; }

.lp-welcome { background: var(--accent-soft); border-bottom: 1px solid var(--brand-teal-light); }
.lp-welcome p { max-width: 1120px; margin: 0 auto; padding: 10px 24px; font-size: 15px; }

/* Hero */
.lp-hero { background: var(--brand-black); color: var(--brand-white); padding: 72px 0 80px; }
.lp-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.lp-eyebrow { margin: 0 0 12px; color: var(--brand-teal); font: 700 13px ui-monospace, Menlo, Consolas, monospace; letter-spacing: 1.5px; text-transform: uppercase; }
.lp-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); margin: 0 0 18px; letter-spacing: -.02em; }
.lp-lead { font-size: clamp(17px, 2vw, 20px); color: var(--brand-silver); margin: 0 0 28px; max-width: 38em; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lp .lp-cta { font-size: 17px; padding: 12px 22px; text-decoration: none; color: var(--on-accent); }
.lp .lp-cta-secondary { font-size: 17px; padding: 12px 22px; text-decoration: none; background: transparent; color: var(--brand-white); border: 2px solid var(--brand-slate); }
.lp .lp-cta-secondary:hover { border-color: var(--brand-teal); }
.lp-cast { display: flex; justify-content: center; align-items: flex-end; gap: 18px; padding: 28px 16px 0; border-bottom: 6px solid #3d2b1f; background: repeating-conic-gradient(#1e293b 0 25%, #182230 0 50%) 0 0 / 24px 24px; border-radius: 12px 12px 0 0; min-height: 160px; }
.lp-sprite { display: inline-block; animation: lp-bob 1.6s ease-in-out infinite; }
.lp-sprite:nth-child(2) { animation-delay: -.4s; }
.lp-sprite:nth-child(3) { animation-delay: -.8s; }
.lp-sprite:nth-child(4) { animation-delay: -1.2s; }
@keyframes lp-bob { 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .lp-sprite { animation: none; } }

/* Sections */
.lp-section { padding: 72px 0; }
.lp-section.alt { background: var(--brand-white); }
.lp-section h2 { font-size: clamp(26px, 3.5vw, 34px); margin: 0 0 12px; }
.lp-section-lead { font-size: 18px; color: var(--brand-slate); margin: 0 0 32px; max-width: 42em; }
.lp-grid { display: grid; gap: 20px; margin-top: 28px; }
.lp-grid.two { grid-template-columns: repeat(2, 1fr); }
.lp-grid.three { grid-template-columns: repeat(3, 1fr); }
.lp-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; }
.lp-card h3 { margin: 6px 0 8px; font-size: 19px; }
.lp-card p { margin: 0; color: var(--brand-slate); }
.lp-icon { font-size: 28px; }

/* How it works: the factory floor's stations */
.lp-dark { background: var(--brand-black); color: var(--brand-silver); }
.lp-dark h2, .lp-dark h3 { color: #fff; }
.lp-dark .lp-section-lead { color: var(--brand-silver); }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.lp-step h3 { font-size: 18px; margin: 14px 0 6px; }
.lp-step-n { color: var(--brand-teal); }
.lp-step p { margin: 0; font-size: 15px; }
.lp-station { background: #3d2b1f; border: 3px solid #5c4030; border-radius: 6px; overflow: hidden; }
.lp-station-name { display: block; padding: 5px 8px; background: #6b4a2b; color: #fff; font: 700 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: 1px; text-transform: uppercase; }
.lp-station-art { display: flex; align-items: flex-end; justify-content: center; gap: 4px; min-height: 104px; padding: 10px 6px 8px; background: repeating-conic-gradient(#2a3b55 0 25%, #24344c 0 50%) 0 0 / 16px 16px; }
.lp-steps li:nth-child(2) .lp-station-art { background: repeating-conic-gradient(#43305e 0 25%, #3b2a54 0 50%) 0 0 / 16px 16px; }
.lp-steps li:nth-child(3) .lp-station-art { background: repeating-conic-gradient(#5a2e2a 0 25%, #4f2824 0 50%) 0 0 / 16px 16px; }
.lp-steps li:nth-child(4) .lp-station-art { background: repeating-conic-gradient(#264d33 0 25%, #20432c 0 50%) 0 0 / 16px 16px; }
.lp-steps li:nth-child(5) .lp-station-art { background: repeating-conic-gradient(#1f4a48 0 25%, #1a403e 0 50%) 0 0 / 16px 16px; }
.lp-station-art svg { max-width: 100%; height: auto; }

/* Get started */
.lp-checklist { padding: 0; margin: 0 0 18px; list-style: none; display: grid; gap: 10px; }
.lp-checklist li { padding-left: 32px; position: relative; font-size: 17px; }
.lp-checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-teal); color: var(--brand-black); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.lp-note { color: var(--brand-slate); margin: 0 0 24px; }

/* Stats */
.lp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0 0; }
.lp-stats div { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; }
.lp-stats dt { color: var(--brand-slate); font-size: 14px; }
.lp-stats dd { margin: 4px 0 0; font-size: 36px; font-weight: 800; color: var(--brand-black); }

/* Product updates */
.lp-updates { list-style: none; padding: 0; margin: 20px 0 0; border-left: 3px solid var(--brand-teal-light); }
.lp-updates li { padding: 0 0 22px 22px; position: relative; }
.lp-updates li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--brand-teal); }
.lp-updates time { font-size: 13px; color: var(--brand-slate); font-weight: 600; }
.lp-updates h3 { margin: 2px 0 4px; font-size: 18px; }
.lp-updates p { margin: 0; }

/* FAQ */
.lp-faq { border-bottom: 1px solid var(--border); }
.lp-faq summary { cursor: pointer; padding: 16px 0; font-size: 18px; font-weight: 600; color: var(--brand-black); list-style-position: outside; }
.lp-faq p { margin: 0 0 18px; color: var(--brand-graphite); }

/* Footer */
.lp-footer { background: var(--brand-black); color: var(--brand-silver); padding: 36px 0; }
.lp-footer .lp-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.lp-footer p { margin: 0; flex: 1; }
.lp-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.lp-footer a { color: var(--brand-white); }

/* Smaller screens */
@media (max-width: 960px) {
  .lp-steps { grid-template-columns: repeat(2, 1fr); }
  .lp-steps li:last-child { grid-column: span 2; max-width: 50%; }
}
@media (max-width: 760px) {
  .lp-hero { padding: 44px 0 52px; }
  .lp-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .lp-grid.two, .lp-grid.three, .lp-stats { grid-template-columns: 1fr; }
  .lp-section { padding: 52px 0; }
  .lp-top { padding: 12px 16px; }
  .lp-top nav { gap: 12px; }
  .lp-top nav a:not(.btn) { display: none; }
  .lp-logo img { height: 36px; }
}
@media (max-width: 520px) {
  .lp-steps { grid-template-columns: 1fr; }
  .lp-steps li:last-child { grid-column: auto; max-width: none; }
  .lp-actions { flex-direction: column; }
  .lp-actions .btn { justify-content: center; }
  .lp-cast { gap: 10px; }
  .lp-cast svg { width: 54px; height: auto; }
}
