/* ---------- LANDING PAGE LAYER ----------
   Loaded AFTER styles.css on the static landing pages (/ai-development,
   /ai-consultancy, /ai-automation, /insights/...). styles.css supplies the
   design tokens, fonts and theming; it also carries one-page-experience
   globals (720vh scroll runway, hidden native cursor) that these ordinary
   article pages must undo — hence the body.lp overrides up top. */

body.lp {
  min-height: 100vh;
  cursor: auto;
  font-family: var(--f-sans);
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
}
body.lp a { cursor: pointer; }
body.lp ::selection { background: var(--accent); color: var(--bg); }

/* ---------- HEADER ---------- */
.lp-head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 18px 26px;
  background: var(--glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.lp-brand { font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.lp-brand em { font-style: normal; color: var(--accent); }
.lp-nav { display: flex; gap: 22px; align-items: center; }
.lp-nav a {
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-2); transition: color .25s;
}
.lp-nav a:hover, .lp-nav a[aria-current="page"] { color: var(--accent); }
.lp-cta {
  font-size: 13px; letter-spacing: .04em;
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  color: var(--text); transition: background .25s, color .25s;
}
.lp-cta:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
@media (max-width: 760px) {
  .lp-nav { display: none; }
}

/* ---------- ARTICLE ---------- */
.lp-main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 0 24px 80px; }
.lp-hero { padding: 72px 0 20px; }
.lp-eyebrow {
  display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.lp-main h1 {
  font-family: var(--f-sans); font-weight: 500; letter-spacing: -.02em;
  font-size: clamp(34px, 5.5vw, 52px); line-height: 1.08; margin-bottom: 20px;
}
.lp-lede { font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 640px; }
.lp-byline { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.lp-main h2 {
  font-weight: 500; letter-spacing: -.015em;
  font-size: clamp(24px, 3.4vw, 32px); line-height: 1.15;
  margin: 64px 0 18px;
}
.lp-main h3 { font-weight: 600; font-size: 18px; margin: 32px 0 10px; }
.lp-main p { font-size: 16px; line-height: 1.7; color: var(--text-2); margin-bottom: 16px; }
.lp-main p a, .lp-main li a { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color .2s; }
.lp-main p a:hover, .lp-main li a:hover { border-bottom-color: var(--accent); }
.lp-main ul { margin: 0 0 16px 20px; }
.lp-main li { font-size: 16px; line-height: 1.7; color: var(--text-2); margin-bottom: 8px; }
.lp-crumbs { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.lp-crumbs a { color: var(--muted); }
.lp-crumbs a:hover { color: var(--accent); }

/* ---------- CARD GRID ---------- */
.lp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 10px;
}
@media (max-width: 640px) { .lp-grid { grid-template-columns: 1fr; } }
.lp-grid-item {
  padding: 22px; border: 1px solid var(--hairline); border-radius: 12px;
  background: var(--surface); transition: background .25s;
}
.lp-grid-item:hover { background: var(--surface-hover); }
.lp-grid-item h4 { font-weight: 600; font-size: 15px; margin-bottom: 8px; color: var(--text); }
.lp-grid-item p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.lp-faq { margin: 26px 0 10px; border-top: 1px solid var(--hairline); }
.lp-faq details { border-bottom: 1px solid var(--hairline); }
.lp-faq summary {
  cursor: pointer; list-style: none; padding: 18px 0;
  font-weight: 500; font-size: 16px; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--accent); font-size: 20px; flex: none; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq details p { padding-bottom: 18px; margin: 0; }

/* ---------- CONTACT FORM ---------- */
.lp-form { margin: 26px 0 0; display: grid; gap: 14px; }
.lp-field span {
  display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 7px;
}
.lp-field input, .lp-field textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px;
  border: 1px solid var(--hairline-strong); background: var(--surface);
  color: var(--text); font: inherit; font-size: 15px;
  outline: none; transition: border-color .25s;
}
.lp-field input:focus, .lp-field textarea:focus { border-color: var(--accent); }
.lp-field textarea { min-height: 130px; resize: vertical; }
.lp-hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.lp-submit {
  justify-self: start; font: inherit; font-size: 14px; letter-spacing: .04em;
  padding: 13px 30px; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--bg); cursor: pointer;
  transition: opacity .25s;
}
.lp-submit:hover { opacity: .85; }
.lp-submit:disabled { opacity: .5; cursor: default; }
.lp-form-status { font-size: 14px; min-height: 1.2em; color: var(--muted); }
.lp-form-status.ok { color: var(--accent); }
.lp-form-status.err { color: #d47c6a; }

/* ---------- FOOTER ---------- */
.lp-foot {
  border-top: 1px solid var(--hairline);
  padding: 36px 26px 30px; margin-top: 40px;
}
.lp-foot-inner { max-width: 760px; margin: 0 auto; }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 18px; }
.lp-foot nav a {
  font-size: 13px; letter-spacing: .05em; color: var(--text-2); transition: color .25s;
}
.lp-foot nav a:hover { color: var(--accent); }
.lp-foot-nap { font-size: 13px; color: var(--muted); line-height: 1.7; }
.lp-foot-nap a { color: var(--muted); }
.lp-foot-nap a:hover { color: var(--accent); }

/* ---------- INSIGHTS LISTING ---------- */
.lp-posts { display: grid; gap: 16px; margin: 30px 0; }
.lp-post-card {
  display: block; padding: 26px; border: 1px solid var(--hairline);
  border-radius: 14px; background: var(--surface); transition: background .25s;
}
.lp-post-card:hover { background: var(--surface-hover); }
.lp-post-card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 500; color: var(--text); }
.lp-post-card p { margin: 0; font-size: 15px; color: var(--muted); }
.lp-post-meta { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
