/* ════════════════════════════════════════════════════════════════
   Vedira marketing landing (vedira.ai) — codos.ai-inspired.
   Standalone static site. Shifting pastel background, editorial serif
   display, mono body, sharp black ink. Scoped under .lp-root.
   Fonts (Fraunces + DM Mono) are loaded via Google Fonts in index.html.
   ════════════════════════════════════════════════════════════════ */

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

.lp-root {
  --lp-serif: "Fraunces", "Times New Roman", Georgia, serif;
  --lp-mono: "DM Mono", ui-monospace, "Menlo", monospace;

  --lp-ink: #161616;
  --lp-ink-2: #4c4c46;
  --lp-ink-3: #7c7c74;
  --lp-line: rgba(22, 22, 22, 0.16);
  --lp-line-soft: rgba(22, 22, 22, 0.08);
  --lp-card: rgba(255, 255, 255, 0.55);

  min-height: 100vh;
  color: var(--lp-ink);
  font-family: var(--lp-mono);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  background-color: #f8dbe8;
  animation: lp-bg 52s ease-in-out infinite;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@keyframes lp-bg {
  0%,
  100% { background-color: #f8dbe8; } /* blush pink   */
  20%  { background-color: #dfeadc; } /* mint         */
  40%  { background-color: #e6def3; } /* lavender     */
  60%  { background-color: #f7e7d2; } /* peach        */
  80%  { background-color: #dce8f1; } /* powder blue  */
}

@media (prefers-reduced-motion: reduce) {
  .lp-root { animation: none; }
}

/* ─── Type ───────────────────────────────────────────────────── */
.lp-serif {
  font-family: var(--lp-serif);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 0.96;
}
.lp-mono { font-family: var(--lp-mono); }

.lp-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lp-ink-3);
  margin: 0;
}

/* ─── Layout shell ───────────────────────────────────────────── */
.lp-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}
@media (max-width: 640px) {
  .lp-wrap { padding-left: 18px; padding-right: 18px; }
}

.lp-rule { border: 0; border-top: 1px solid var(--lp-line); margin: 0; }

/* ─── Nav ────────────────────────────────────────────────────── */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--lp-line-soft);
}
.lp-brand {
  font-family: var(--lp-mono);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--lp-ink);
  text-decoration: none;
  text-transform: lowercase;
}
.lp-brand b { font-weight: 500; }
.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.lp-nav-link {
  font-size: 12.5px;
  color: var(--lp-ink-2);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 140ms ease;
}
.lp-nav-link:hover { color: var(--lp-ink); }
@media (max-width: 640px) {
  .lp-nav { padding: 14px 18px; }
  .lp-nav-links { gap: 14px; }
  .lp-nav-link.lp-hide-sm { display: none; }
}

/* ─── Buttons ────────────────────────────────────────────────── */
.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--lp-mono);
  font-size: 13px;
  letter-spacing: 0.01em;
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid var(--lp-ink);
  background: var(--lp-ink);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, color 140ms ease;
  white-space: nowrap;
}
.lp-btn:hover { background: #000; transform: translateY(-1px); }
.lp-btn-sm { padding: 8px 13px; font-size: 12.5px; }
.lp-btn-lg { padding: 14px 22px; font-size: 14px; border-radius: 7px; }

.lp-btn-ghost {
  background: transparent;
  color: var(--lp-ink);
  border-color: var(--lp-ink);
}
.lp-btn-ghost:hover { background: rgba(22, 22, 22, 0.06); color: var(--lp-ink); }

/* ─── Hero ───────────────────────────────────────────────────── */
.lp-hero {
  padding-top: 92px;
  padding-bottom: 84px;
}
.lp-hero-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.lp-hero-word {
  font-size: clamp(64px, 12.5vw, 188px);
  margin: 0;
}
.lp-hero-mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-top: 18px;
}
@media (max-width: 820px) {
  .lp-hero-mid { grid-template-columns: 1fr; gap: 22px; }
  .lp-hero-top { justify-content: flex-start; }
}
.lp-hero-sub {
  font-size: 15px;
  line-height: 1.55;
  color: var(--lp-ink);
  max-width: 380px;
  margin: 0;
}
.lp-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 820px) {
  .lp-hero-actions { justify-content: flex-start; }
}

/* ─── Logo / proof strip ─────────────────────────────────────── */
.lp-proof {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
  flex-wrap: wrap;
}
.lp-proof-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lp-ink-3); }
.lp-proof-logos {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
}
.lp-proof-logos span {
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--lp-ink-2);
  font-weight: 500;
}

/* ─── Big statement section ──────────────────────────────────── */
.lp-statement {
  padding: 110px 0;
  border-bottom: 1px solid var(--lp-line-soft);
}
.lp-statement-eyebrow { margin-bottom: 26px; }
.lp-statement-head {
  font-size: clamp(34px, 6vw, 78px);
  margin: 0;
  max-width: 18ch;
}
.lp-statement-body {
  margin-top: 28px;
  max-width: 460px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--lp-ink-2);
}
@media (max-width: 640px) {
  .lp-statement { padding: 72px 0; }
}

/* ─── Steps ──────────────────────────────────────────────────── */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--lp-card);
  backdrop-filter: blur(4px);
}
@media (max-width: 820px) {
  .lp-steps { grid-template-columns: 1fr; }
}
.lp-step {
  padding: 34px 30px 40px;
  border-right: 1px solid var(--lp-line);
}
.lp-step:last-child { border-right: none; }
@media (max-width: 820px) {
  .lp-step { border-right: none; border-bottom: 1px solid var(--lp-line); }
  .lp-step:last-child { border-bottom: none; }
}
.lp-step-num {
  font-family: var(--lp-mono);
  font-size: 12px;
  color: var(--lp-ink-3);
  letter-spacing: 0.08em;
}
.lp-step-title {
  font-size: 30px;
  margin: 20px 0 12px;
}
.lp-step-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--lp-ink-2);
  margin: 0;
}

/* ─── Section heading row ────────────────────────────────────── */
.lp-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}
.lp-section-title { font-size: clamp(28px, 4vw, 46px); margin: 0; }

/* ─── Product mock card ──────────────────────────────────────── */
.lp-demo {
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  background: var(--lp-card);
  backdrop-filter: blur(6px);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(22, 22, 22, 0.28);
}
.lp-demo-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--lp-line);
}
.lp-demo-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(22, 22, 22, 0.18);
}
.lp-demo-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lp-ink-2);
}
.lp-demo-live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #1f9d57;
  display: inline-block;
}
.lp-demo-body { padding: 30px 28px 34px; }
.lp-msg { margin-bottom: 20px; max-width: 78%; }
.lp-msg-who { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lp-ink-3); margin-bottom: 7px; }
.lp-msg-ai .lp-msg-text {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--lp-line);
  border-radius: 12px 12px 12px 3px;
  padding: 13px 16px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--lp-ink);
}
.lp-msg-user { margin-left: auto; }
.lp-msg-user .lp-msg-who { text-align: right; }
.lp-msg-user .lp-msg-text {
  background: var(--lp-ink);
  color: #fff;
  border-radius: 12px 12px 3px 12px;
  padding: 13px 16px;
  font-size: 14.5px;
  line-height: 1.5;
}
.lp-demo-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border-top: 1px solid var(--lp-line);
  flex-wrap: wrap;
}
.lp-chip {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--lp-line);
  color: var(--lp-ink-2);
  background: rgba(255, 255, 255, 0.5);
}
.lp-chip-weak { color: #b4341f; border-color: rgba(180, 52, 31, 0.4); }
.lp-chip-strong { color: #1f7d4a; border-color: rgba(31, 125, 74, 0.4); }

/* ─── Stats ──────────────────────────────────────────────────── */
.lp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
}
@media (max-width: 640px) { .lp-stats { grid-template-columns: 1fr; } }
.lp-stat {
  padding: 40px 24px;
  border-right: 1px solid var(--lp-line);
}
.lp-stat:last-child { border-right: none; }
@media (max-width: 640px) {
  .lp-stat { border-right: none; border-bottom: 1px solid var(--lp-line); }
  .lp-stat:last-child { border-bottom: none; }
}
.lp-stat-num { font-size: clamp(40px, 6vw, 64px); margin: 0; }
.lp-stat-label { font-size: 13px; color: var(--lp-ink-2); margin: 12px 0 0; line-height: 1.5; }

/* ─── Final CTA ──────────────────────────────────────────────── */
.lp-cta {
  padding: 130px 0 120px;
  text-align: center;
}
.lp-cta-head {
  font-size: clamp(44px, 9vw, 130px);
  margin: 0 0 36px;
}
.lp-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.lp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 40px;
  border-top: 1px solid var(--lp-line);
  flex-wrap: wrap;
}
.lp-footer-copy { font-size: 12px; color: var(--lp-ink-3); letter-spacing: 0.02em; }
.lp-footer-links { display: flex; gap: 22px; }
.lp-footer-link {
  font-size: 12px;
  color: var(--lp-ink-2);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 140ms ease;
}
.lp-footer-link:hover { color: var(--lp-ink); }

/* ════════════════════════════════════════════════════════════════
   Mobile refinements (phones). Tightens the vertical rhythm, gives
   CTAs full-width tap targets, widens chat bubbles, and stacks the
   proof strip. Layered after the base rules so it wins on phones.
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  /* Hero */
  .lp-hero { padding-top: 52px; padding-bottom: 56px; }
  .lp-hero-top { gap: 2px; }
  .lp-hero-word { font-size: clamp(58px, 17vw, 96px); line-height: 0.98; }
  .lp-hero-mid { margin-top: 26px; }
  .lp-hero-sub { max-width: none; }
  .lp-hero-actions { width: 100%; gap: 10px; }
  .lp-hero-actions .lp-btn { flex: 1 1 0; justify-content: center; }

  /* Proof strip — stack label over logos */
  .lp-proof {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 0;
  }
  .lp-proof-logos { gap: 8px 16px; }
  .lp-proof-logos span { font-size: 14px; }

  /* Statements — less air between sections on a small screen */
  .lp-statement { padding: 54px 0; }
  .lp-statement-eyebrow { margin-bottom: 16px; }
  .lp-statement-head { font-size: clamp(30px, 8.5vw, 46px); max-width: none; }
  .lp-statement-body { margin-top: 20px; max-width: none; }

  /* Section heading rows stack cleanly */
  .lp-section-head { margin-bottom: 24px; gap: 6px; }

  /* Steps */
  .lp-step { padding: 26px 22px 30px; }
  .lp-step-title { font-size: 26px; margin: 16px 0 10px; }

  /* Live-session demo — wider bubbles, tighter padding */
  .lp-demo-body { padding: 22px 18px 24px; }
  .lp-msg { max-width: 92%; margin-bottom: 16px; }
  .lp-demo-foot { gap: 8px; padding: 14px 18px; }
  .lp-chip { font-size: 11px; }

  /* Stats */
  .lp-stat { padding: 30px 22px; }
  .lp-stat-num { font-size: clamp(44px, 13vw, 60px); }

  /* Final CTA */
  .lp-cta { padding: 84px 0 78px; }
  .lp-cta-head { font-size: clamp(52px, 17vw, 96px); margin-bottom: 30px; }
  .lp-cta-actions { width: 100%; gap: 10px; }
  .lp-cta-actions .lp-btn { flex: 1 1 0; justify-content: center; min-width: 0; }

  /* Footer */
  .lp-footer { gap: 12px; padding: 22px 0 32px; }
}

/* Extra-narrow phones (≤380px): drop the side-by-side CTAs to a stack
   so button labels never get cramped. */
@media (max-width: 380px) {
  .lp-hero-actions,
  .lp-cta-actions { flex-direction: column; align-items: stretch; }
  .lp-hero-actions .lp-btn,
  .lp-cta-actions .lp-btn { width: 100%; }
}
