/* LocalMind landing page — page-specific styles layered on landing.css.
   Accent: emerald (#10b981) set on <body class="lm-page">. */

/* ===== accessibility helpers ===== */
.lm-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #047857;
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.lm-skip:focus {
  left: 0;
}

.lm-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== header ===== */
.lm-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.lm-nav-link {
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
}

.lm-nav-link:hover {
  color: #e2e8f0;
}

.lm-page .lp-btn-accent {
  background: #047857;
  box-shadow: 0 10px 24px rgba(4, 120, 87, 0.3);
}

.lm-page button.lp-submit,
.lm-page .lm-copy {
  background: #047857;
}

.lm-page button.lp-submit:hover,
.lm-page .lm-copy:hover {
  filter: brightness(1.12);
}

/* ===== hero ===== */
.lm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 40px;
  align-items: center;
  padding: 42px 0 4px;
}

.lm-hero .lp-h1 {
  margin-bottom: 16px;
}

.lm-inline-link {
  color: #6ee7b7;
  font-weight: 600;
  text-decoration-color: rgba(110, 231, 183, 0.55);
  text-underline-offset: 3px;
}

.lm-inline-link:hover {
  color: #a7f3d0;
}

.lm-trust {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.lm-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #94a3b8;
}

.lm-trust li span {
  color: #34d399;
  font-weight: 800;
}

/* ===== terminal illustration ===== */
.lm-term {
  margin: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(520px 240px at 88% -10%, rgba(16, 185, 129, 0.18), transparent 70%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 54px rgba(2, 6, 23, 0.6);
}

.lm-term-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 15px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.lm-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.lm-dot-red { background: #f87171; }
.lm-dot-amber { background: #fbbf24; }
.lm-dot-green { background: #34d399; }

.lm-term-title {
  margin-left: auto;
  font: 500 11px/1 ui-monospace, "Cascadia Mono", "SFMono-Regular", monospace;
  color: #64748b;
  letter-spacing: 0.02em;
}

.lm-term-body {
  padding: 18px 16px 8px;
}

.lm-term pre {
  margin: 0;
  overflow-x: auto;
  font: 12.5px/1.85 ui-monospace, "Cascadia Mono", "SFMono-Regular", monospace;
  color: #cbd5e1;
}

.lm-term code {
  font: inherit;
}

.lm-prompt { color: #34d399; font-weight: 700; }
.lm-ok { color: #34d399; }
.lm-dim { color: #64748b; }
.lm-bar { color: #10b981; letter-spacing: -1px; }

.lm-term-caption {
  padding: 10px 16px 16px;
  font-size: 11px;
  line-height: 1.5;
  color: #64748b;
}

/* ===== section heading helper ===== */
.lm-section-sub {
  margin-top: 6px;
  font-size: 14px;
  color: #94a3b8;
  max-width: 680px;
}

/* ===== why-local cards ===== */
.lm-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.lm-card {
  padding: 20px 18px;
}

.lm-card h3 {
  font-size: 14.5px;
}

.lm-card p strong {
  color: #e2e8f0;
}

.lm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 11px;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.34);
}

/* ===== comparison table ===== */
.lm-scroll-hint {
  display: none;
  margin-bottom: 8px;
  font-size: 11.5px;
  color: #64748b;
}

.lm-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.62);
}

.lm-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  text-align: left;
}

.lm-table th,
.lm-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.13);
  vertical-align: top;
}

.lm-table thead th {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.05);
}

.lm-table tbody th {
  width: 26%;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}

.lm-table tbody td {
  font-size: 13.5px;
  color: #94a3b8;
}

.lm-table tbody tr:last-child th,
.lm-table tbody tr:last-child td {
  border-bottom: none;
}

.lm-table .lm-col-hl {
  background: rgba(16, 185, 129, 0.07);
  border-left: 1px solid rgba(16, 185, 129, 0.22);
  border-right: 1px solid rgba(16, 185, 129, 0.22);
}

.lm-table thead .lm-col-hl {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
}

.lm-table td.lm-col-hl {
  color: #e2e8f0;
}

.lm-table td.lm-col-hl strong {
  color: #f1f5f9;
}

.lm-table a {
  color: #6ee7b7;
  text-decoration-color: rgba(110, 231, 183, 0.5);
  text-underline-offset: 2px;
}

/* ===== steps ===== */
.lm-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  counter-reset: none;
}

.lm-step {
  position: relative;
  padding: 22px 20px;
  background: linear-gradient(165deg, rgba(16, 185, 129, 0.08), rgba(2, 6, 23, 0.68) 58%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
}

.lm-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 9px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.45);
}

.lm-step h3 {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #f1f5f9;
  margin-bottom: 7px;
}

.lm-step p {
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
}

.lm-step a {
  color: #6ee7b7;
  text-decoration-color: rgba(110, 231, 183, 0.5);
  text-underline-offset: 2px;
}

/* ===== testimonials ===== */
.lm-quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lm-quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
}

.lm-quote blockquote p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #cbd5e1;
}

.lm-quote figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #94a3b8;
}

.lm-quote figcaption strong {
  color: #f1f5f9;
  font-size: 13px;
}

.lm-role {
  color: #64748b;
  font-size: 11.5px;
}

.lm-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, #6ee7b7, #10b981);
  color: #022c22;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

/* ===== signup ===== */
.lm-signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.lm-signup-copy h2 {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
  color: #f1f5f9;
  margin: 6px 0 12px;
}

.lm-signup-copy > p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.65;
}

.lm-signup-list {
  margin-top: 18px;
}

.lm-signup-list li {
  font-size: 13.5px;
}

.lm-signup-list li strong {
  color: #e2e8f0;
}

.lm-direct {
  margin-top: 20px;
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.7;
}

.lm-mail-link {
  color: #6ee7b7;
  font-weight: 700;
  text-decoration-color: rgba(110, 231, 183, 0.55);
  text-underline-offset: 3px;
}

.lm-optional {
  color: #64748b;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
}

.lm-hint {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.45;
}

.lm-form-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.55;
}

.lm-form-status-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.42);
  color: #a7f3d0;
}

.lm-form-status-success strong {
  color: #6ee7b7;
}

.lm-fallback {
  margin-top: 16px;
  padding: 14px;
  border: 1px dashed rgba(16, 185, 129, 0.45);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.5);
}

.lm-fallback-title {
  font-size: 12.5px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 10px;
}

.lm-fallback-title a {
  color: #6ee7b7;
  text-underline-offset: 2px;
}

.lm-fallback-text {
  width: 100%;
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  color: #e2e8f0;
  font: 12.5px/1.55 ui-monospace, "Cascadia Mono", "SFMono-Regular", monospace;
  padding: 10px;
  resize: vertical;
}

.lm-copy {
  justify-self: start;
  margin-top: 10px;
  border: none;
  color: #fff;
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 8px;
  font: 700 12.5px "Inter", system-ui, sans-serif;
  cursor: pointer;
  transition: filter 0.15s;
}

/* ===== FAQ ===== */
.lm-faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.lm-faq details {
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  padding: 0 16px;
}

.lm-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-size: 13.5px;
  font-weight: 600;
  color: #e2e8f0;
}

.lm-faq summary::-webkit-details-marker {
  display: none;
}

.lm-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: #34d399;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.lm-faq details[open] summary::after {
  content: "\2212";
}

.lm-faq details[open] summary {
  border-bottom: 1px solid rgba(148, 163, 184, 0.13);
}

.lm-faq details p {
  padding: 12px 0 14px;
  font-size: 13.5px;
  line-height: 1.65;
  color: #94a3b8;
}

.lm-faq details p a {
  color: #6ee7b7;
  text-underline-offset: 2px;
}

/* ===== final CTA ===== */
.lm-cta-band {
  margin-top: 46px;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.38);
  background:
    radial-gradient(560px 240px at 92% 0%, rgba(16, 185, 129, 0.18), transparent 70%),
    linear-gradient(150deg, rgba(16, 185, 129, 0.12), rgba(2, 6, 23, 0.82) 58%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.lm-cta-band h2 {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 800;
  line-height: 1.25;
  color: #f1f5f9;
  margin: 4px 0 8px;
}

.lm-cta-band p {
  font-size: 14px;
  color: #94a3b8;
  max-width: 520px;
}

.lm-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.lm-page .lp-btn-lg {
  padding: 14px 22px;
  font-size: 15px;
}

.lm-cta-note {
  font-size: 12px;
  color: #94a3b8;
}

.lm-cta-mail {
  font-size: 13px;
  font-weight: 600;
  color: #6ee7b7;
  text-decoration-color: rgba(110, 231, 183, 0.5);
  text-underline-offset: 3px;
}

/* ===== footer ===== */
.lm-footer-note {
  flex-basis: 100%;
  font-size: 11.5px;
  line-height: 1.6;
  color: #475569;
}

/* ===== responsive ===== */
@media (max-width: 1000px) {
  .lm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .lm-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 32px;
  }

  .lm-term {
    max-width: 640px;
  }

  .lm-steps { grid-template-columns: minmax(0, 1fr); }

  .lm-quotes { grid-template-columns: minmax(0, 1fr); }

  .lm-signup { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

@media (max-width: 720px) {
  .lm-nav-link { display: none; }
  .lm-nav { gap: 10px; }
}

@media (max-width: 560px) {
  .lm-grid-4 { grid-template-columns: minmax(0, 1fr); }
  .lm-trust { grid-template-columns: minmax(0, 1fr); }
  .lm-scroll-hint { display: block; }
  .lm-cta-band { padding: 22px; }
  .lm-cta-actions,
  .lm-page .lm-cta-actions .lp-btn { width: 100%; }
  .lm-page .lm-cta-actions .lp-btn { justify-content: center; }
  .lm-term pre { font-size: 11.5px; }
  .lm-term-title { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-card,
  .lp-card:hover,
  .lp-btn,
  .lp-btn-accent:hover {
    transition: none;
    transform: none;
  }
}
