/* landing.css — public marketing page */

html { scroll-behavior: smooth; }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 2rem;
  background: rgba(14,14,14,.85); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.lp-logo { text-decoration: none; display: flex; align-items: center; }
.lp-nav-links { display: flex; align-items: center; gap: 1.25rem; }
.lp-nav-links a {
  font-size: .8rem; color: var(--muted2); text-decoration: none;
  letter-spacing: .04em; transition: color .15s;
}
.lp-nav-links a:hover { color: var(--text); }

/* ── Mobile nav toggle ────────────────────────────────────────────────────── */
.lp-nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: .25rem; width: 28px; height: 28px;
}
.lp-nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--muted2); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.lp-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-nav-toggle.open span:nth-child(2) { opacity: 0; }
.lp-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lp-wrap { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }

section { padding: 5rem 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.lp-hero {
  padding-top: 9rem; padding-bottom: 6rem; text-align: center;
}
.lp-eyebrow {
  display: inline-block; font-size: .7rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem;
  border: 1px solid rgba(232,162,70,.3); border-radius: 2px;
  padding: .25rem .65rem;
}
.lp-h1 {
  font-family: 'Syne', sans-serif; font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800; line-height: 1.15; color: var(--text);
  margin-bottom: 1.25rem; letter-spacing: -.01em;
}
.lp-h1 span { color: var(--accent); }
.lp-sub {
  font-size: 1rem; color: var(--muted2); max-width: 600px;
  margin: 0 auto 2.25rem; line-height: 1.7;
}
.lp-cta-row { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.lp-btn-primary {
  font-family: 'Inconsolata', monospace; font-size: .88rem; font-weight: 600;
  padding: .7rem 1.5rem; border-radius: 2px; cursor: pointer;
  background: var(--accent); border: 1px solid var(--accent); color: #0e0e0e;
  text-decoration: none; transition: background .15s, border-color .15s;
}
.lp-btn-primary:hover { background: #d4923c; border-color: #d4923c; }
.lp-btn-sm {
  font-size: .78rem !important; padding: .5rem 1rem !important;
}
.lp-btn-hero {
  display: inline-block; font-family: 'Inconsolata', monospace;
  font-size: 1rem; font-weight: 600; letter-spacing: .02em;
  padding: .85rem 2.25rem; border-radius: 2px; cursor: pointer;
  background: var(--accent); border: 1px solid var(--accent); color: #0e0e0e;
  text-decoration: none; transition: background .15s, border-color .15s;
}
.lp-btn-hero:hover { background: #d4923c; border-color: #d4923c; }

.lp-btn-ghost {
  font-family: 'Inconsolata', monospace; font-size: .88rem; font-weight: 500;
  padding: .7rem 1.5rem; border-radius: 2px; cursor: pointer;
  background: transparent; border: 1px solid var(--border-hi); color: var(--text);
  text-decoration: none; transition: all .15s;
}
.lp-btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── Section titles ───────────────────────────────────────────────────────── */
.lp-label {
  font-size: .65rem; text-transform: uppercase; letter-spacing: .15em;
  color: var(--muted); margin-bottom: .6rem;
}
.lp-h2 {
  font-family: 'Syne', sans-serif; font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700; color: var(--text); margin-bottom: .85rem; line-height: 1.25;
}
.lp-intro { font-size: .92rem; color: var(--muted2); line-height: 1.75; margin-bottom: 2rem; }

/* ── Hero CTA layout ──────────────────────────────────────────────────────── */
.lp-hero .lp-btn-hero { margin-bottom: .65rem; }
.lp-cta-or {
  display: flex; align-items: center; gap: .75rem;
  margin: 1.1rem auto; max-width: 480px; color: var(--muted);
}
.lp-cta-or::before, .lp-cta-or::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.lp-cta-or span { font-size: .72rem; white-space: nowrap; letter-spacing: .05em; }
.lp-email-secondary .lp-email-input {
  background: transparent; border-color: var(--border);
}
.lp-email-secondary .lp-email-input:focus { border-color: var(--border-hi); }

/* ── Product mock ─────────────────────────────────────────────────────────── */
.lp-mock-wrap { padding-top: 3rem; }
.lp-mock {
  border: 1px solid var(--border-hi); border-radius: 8px;
  background: var(--surface); overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.45);
  display: flex; flex-direction: column; max-height: 500px;
}
/* Header */
.lp-mock-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.3rem; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.lp-mock-hdr-left { display: flex; align-items: center; gap: .65rem; }
.lp-mock-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(232,162,70,.15); border: 1px solid rgba(232,162,70,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; color: var(--accent); flex-shrink: 0;
}
.lp-mock-title {
  font-family: 'Syne', sans-serif; font-size: .9rem; font-weight: 600; color: var(--text);
}
.lp-mock-subtitle { font-size: .65rem; color: var(--muted); margin-top: .1rem; }
.lp-mock-close { font-size: .85rem; color: var(--muted); }
/* Messages */
.lp-mock-msgs {
  flex: 1; overflow: hidden; padding: 1.25rem 1.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
/* User bubble */
.lp-mock-row-user { display: flex; justify-content: flex-end; }
.lp-mock-user-bubble {
  max-width: 72%; padding: .6rem .9rem;
  border-radius: 18px 18px 4px 18px;
  font-size: .83rem; line-height: 1.55;
  background: rgba(232,162,70,.13); border: 1px solid rgba(232,162,70,.22);
  color: var(--text);
}
/* Assistant row */
.lp-mock-row-asst { display: flex; gap: .75rem; align-items: flex-start; }
.lp-mock-msg-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(232,162,70,.1); border: 1px solid rgba(232,162,70,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; color: var(--accent); flex-shrink: 0; margin-top: .15rem;
}
.lp-mock-asst-body { flex: 1; }
.lp-mock-asst-body p { font-size: .85rem; color: var(--text); line-height: 1.75; margin: 0 0 .75rem; }
/* Sources */
.lp-mock-sources { border-top: 1px solid var(--border); padding-top: .55rem; }
.lp-mock-src-label {
  font-size: .62rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); font-weight: 600; margin-bottom: .3rem;
}
.lp-mock-src {
  font-family: 'Inconsolata', monospace; font-size: .76rem;
  color: var(--accent); display: block; line-height: 1.9;
}
/* Thinking indicator */
.lp-mock-thinking { display: flex; align-items: center; gap: .65rem; }
.lp-mock-thinking-dots { display: flex; gap: 4px; }
.lp-mock-thinking-dots span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--muted); animation: lp-dot .9s infinite;
}
.lp-mock-thinking-dots span:nth-child(2) { animation-delay: .2s; }
.lp-mock-thinking-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes lp-dot { 0%,80%,100%{opacity:.3;transform:scale(.8)} 40%{opacity:1;transform:scale(1)} }
.lp-mock-thinking-text { font-size: .75rem; color: var(--muted); }
/* Footer */
.lp-mock-footer { border-top: 1px solid var(--border); padding: .85rem 1.3rem; flex-shrink: 0; }
.lp-mock-input-row { display: flex; gap: .5rem; align-items: center; }
.lp-mock-input-box {
  flex: 1; background: var(--surface2); border: 1px solid var(--border-hi);
  border-radius: 8px; padding: .6rem .85rem;
  font-family: 'Inconsolata', monospace; font-size: .82rem; color: var(--muted);
}
.lp-mock-send-btn {
  width: 32px; height: 32px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700; color: #fff; flex-shrink: 0;
  transition: transform 0.1s ease, opacity 0.1s ease;
}
@keyframes lp-bubble-in {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

/* ── Pilot steps ──────────────────────────────────────────────────────────── */
.lp-pilot { display: flex; flex-direction: column; gap: 0; }
.lp-pilot-step {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 1.35rem 0; border-bottom: 1px solid var(--border);
  position: relative;
}
.lp-pilot-step:last-child { border-bottom: none; }
.lp-pilot-num {
  font-family: 'Syne', sans-serif; font-size: .72rem; font-weight: 700;
  color: var(--accent); flex-shrink: 0; min-width: 1.75rem;
  padding-top: .15rem; letter-spacing: .05em;
}
.lp-pilot-body { flex: 1; }
.lp-pilot-title {
  font-family: 'Syne', sans-serif; font-size: .92rem; font-weight: 600;
  color: var(--text); margin-bottom: .35rem; line-height: 1.4;
}
.lp-pilot-sub { font-size: .82rem; color: var(--muted2); line-height: 1.7; }

/* ── Founder section ──────────────────────────────────────────────────────── */
.lp-founder {
  border: 1px solid var(--border-hi); border-radius: 3px;
  padding: 2rem 2.25rem; background: var(--surface);
  border-left: 3px solid var(--accent);
}
.lp-founder-text {
  font-size: .9rem; color: var(--muted2); line-height: 1.8;
  margin: 0 0 1rem;
}
.lp-founder-text:last-of-type { margin-bottom: 1.25rem; }
.lp-founder-sig {
  font-family: 'Syne', sans-serif; font-size: .82rem;
  font-weight: 600; color: var(--text);
}

/* ── Problem list ─────────────────────────────────────────────────────────── */
.lp-problem-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.lp-problem-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .9rem; color: var(--muted2); line-height: 1.6;
}
.lp-problem-list li::before {
  content: '//'; color: var(--accent); font-weight: 700;
  flex-shrink: 0; margin-top: .05rem; font-size: .8rem; letter-spacing: -.05em;
}
.lp-callout {
  border-left: 2px solid var(--accent); padding: .85rem 1.1rem;
  background: var(--accent-dim); border-radius: 0 2px 2px 0;
  font-size: .85rem; color: var(--text); line-height: 1.65;
}

/* ── Solution steps ───────────────────────────────────────────────────────── */
.lp-steps { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 2rem; }
.lp-step {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: .85rem 1rem; border: 1px solid var(--border);
  border-radius: 3px; background: var(--surface);
  transition: border-color .15s;
}
.lp-step:hover { border-color: var(--border-hi); }
.lp-step-num {
  font-family: 'Syne', sans-serif; font-size: .75rem; font-weight: 700;
  color: var(--accent); flex-shrink: 0; min-width: 1.5rem; padding-top: .05rem;
}
.lp-step-text { font-size: .88rem; color: var(--text); line-height: 1.6; }

/* ── Example queries ──────────────────────────────────────────────────────── */
.lp-queries { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2rem; }
.lp-query {
  font-family: 'Inconsolata', monospace; font-size: .88rem;
  padding: .75rem 1rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: 3px; color: var(--text);
  position: relative; padding-left: 2.25rem;
}
.lp-query::before {
  content: '>'; position: absolute; left: .9rem; color: var(--accent); font-weight: 700;
}
.lp-query-result {
  font-size: .8rem; color: var(--muted2); padding: .5rem 1rem .6rem 2.25rem;
  background: var(--surface2); border: 1px solid var(--border);
  border-top: none; border-radius: 0 0 3px 3px; margin-top: -4px; line-height: 1.5;
}

/* ── Benefit cards ────────────────────────────────────────────────────────── */
.lp-cards {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 480px) {
  .lp-cards { grid-template-columns: 1fr; }
}
.lp-card {
  padding: 1.25rem; border: 1px solid var(--border);
  border-radius: 3px; background: var(--surface);
  transition: border-color .15s, background .15s;
  text-align: center;
}
.lp-card:hover { border-color: var(--border-hi); background: var(--surface2); }
.lp-card-icon { font-size: 1.3rem; margin-bottom: .7rem; }
.lp-card-title {
  font-family: 'Syne', sans-serif; font-size: .88rem; font-weight: 700;
  color: var(--text); margin-bottom: .4rem;
}
.lp-card-body { font-size: .82rem; color: var(--muted2); line-height: 1.65; }


/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.lp-faqs { display: flex; flex-direction: column; gap: 1px; }
.lp-faq {
  border: 1px solid var(--border); border-radius: 3px;
  background: var(--surface); overflow: hidden; margin-bottom: .5rem;
}
.lp-faq-q {
  padding: .9rem 1rem; font-family: 'Syne', sans-serif;
  font-size: .88rem; font-weight: 600; color: var(--text);
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; user-select: none;
  transition: background .15s;
}
.lp-faq-q:hover { background: var(--surface2); }
.lp-faq-q::after { content: '+'; color: var(--accent); font-size: 1.1rem; font-weight: 400; }
.lp-faq.open .lp-faq-q::after { content: '−'; }
.lp-faq-a {
  max-height: 0; overflow: hidden; padding: 0 1rem;
  font-size: .85rem; color: var(--muted2); line-height: 1.7;
  transition: max-height .28s ease, padding .28s ease;
}
.lp-faq.open .lp-faq-a { padding: 0 1rem .9rem; }

/* ── CTA / bottom ─────────────────────────────────────────────────────────── */
.lp-cta-section { text-align: center; padding: 5rem 0; }
.lp-cta-section .lp-h2 { margin-bottom: .5rem; }
.lp-cta-section .lp-intro { max-width: 520px; margin: 0 auto 2rem; }
.lp-cta-section .lp-btn-hero { margin-bottom: 0; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.lp-footer {
  padding: 1.5rem 0; text-align: center;
  font-size: .72rem; color: var(--muted); letter-spacing: .04em;
  border-top: 1px solid var(--border);
}

/* ── Email form ───────────────────────────────────────────────────────────── */
.lp-email-form {
  display: flex; gap: .5rem; max-width: 480px;
  margin: 0 auto; flex-wrap: wrap;
}
.lp-hero .lp-email-form { margin: 0 auto 0.65rem; }
.lp-cta-section .lp-email-form { margin: 0 auto; }
.lp-email-input {
  flex: 1; min-width: 200px;
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: 2px; padding: .7rem .9rem;
  font-family: 'Inconsolata', monospace; font-size: .88rem; color: var(--text);
  outline: none; transition: border-color .15s;
}
.lp-email-input:focus { border-color: var(--accent); }
.lp-email-input::placeholder { color: var(--muted); }
.lp-form-note {
  font-size: .72rem; color: var(--muted); margin-top: .5rem; text-align: center;
}
.lp-form-msg {
  font-size: .82rem; margin-top: .65rem; text-align: center; min-height: 1.2em;
}
.lp-form-msg--ok  { color: var(--green); }
.lp-form-msg--err { color: var(--danger); }

/* ── Problem / Solution split ─────────────────────────────────────────────── */
.lp-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
}
.lp-split-col {}

/* ── Integrations strip ──────────────────────────────────────────────────── */
.lp-integrations {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.lp-int-label {
  display: block;
  font-size: .62rem; text-transform: uppercase; letter-spacing: .15em;
  color: var(--muted); margin-bottom: .85rem;
}
.lp-int-pills { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.lp-int-pill {
  font-family: 'Inconsolata', monospace; font-size: .8rem;
  padding: .3rem .85rem; border: 1px solid var(--border-hi);
  border-radius: 2px; color: var(--muted2); background: var(--surface);
  letter-spacing: .03em;
}
.lp-int-more { color: var(--muted); border-style: dashed; }

/* ── Alternating section backgrounds ────────────────────────────────────── */
.lp-section-alt { background: var(--surface); }

/* ── Mock typewriter cursor ──────────────────────────────────────────────── */
.mock-cursor {
  color: var(--accent); font-size: .9rem;
  animation: mock-blink 1s step-end infinite;
}
@keyframes mock-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  .lp-nav { padding: .75rem 1rem; align-items: center; flex-wrap: wrap; }
  .lp-nav-toggle { display: flex; }
  .lp-nav-links {
    display: none; flex-direction: column; align-items: flex-start;
    gap: 0; width: 100%; order: 3;
    border-top: 1px solid var(--border); padding: .5rem 0;
  }
  .lp-nav-links.mobile-open { display: flex; }
  .lp-nav-links a {
    width: 100%; padding: .65rem 0;
    border-bottom: 1px solid var(--border); font-size: .88rem;
  }
  .lp-nav-links a:last-child { border-bottom: none; }
  .lp-nav-links .lp-btn-ghost {
    background: none; border: none; padding: .65rem 0;
    text-align: left; color: var(--accent);
  }
  .lp-wrap { padding: 0 1rem; }
  section { padding: 3.5rem 0; }
  .lp-hero { padding-top: 7rem; padding-bottom: 3rem; }
  .lp-mock-wrap { padding-top: 2rem; }
  .lp-mock-msgs { padding: 1rem; }
  .lp-split { grid-template-columns: 1fr; gap: 2rem; }
  .lp-email-form { flex-direction: column; }
  .lp-email-input { min-width: 0; }
  .lp-pilot-step { gap: 1rem; }
  .lp-founder { padding: 1.5rem; }
}

/* ── Light theme overrides ────────────────────────────────────────────────── */
html[data-theme="light"] .lp-nav {
  background: rgba(245,241,236,.92);
}
