/* ==========================================================================
   Pagebaan Landing Page Styles (RTL, Mobile-First, Light & Dark Mode)
   Depends on tokens from /static/ui.css
   ========================================================================== */

:root {
  --lp-ink: #0f1e1c;
  --lp-ink-2: #162925;
  --lp-ink-3: #1f3934;
  --lp-mist: #c7d8d3;
  --lp-mist-2: #8fa8a1;
  --lp-teal: #0b6b5c;
  --lp-teal-2: #08493f;
  --lp-teal-soft: #e3f1ec;
  --lp-teal-bright: #3fbfa8;
  --lp-saffron: #f2a93b;
  --lp-saffron-soft: #fef3dc;
  --lp-saffron-ink: #7a4b00;
  --lp-warn: #b83b0a;
  --lp-warn-soft: #fde7df;
  --lp-ok: #0b6b5c;
  --lp-ok-soft: #ddf3ea;
}

@media (prefers-color-scheme: dark) {
  :root {
    --lp-teal-soft: #163a35;
    --lp-saffron-soft: #36280d;
    --lp-saffron-ink: #ffd084;
    --lp-warn: #ff9c7a;
    --lp-warn-soft: #3c1e15;
    --lp-ok: #5cd9c2;
    --lp-ok-soft: #123830;
  }
}

body.lp-body {
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.85;
  overflow-x: clip;
}

.lp-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: max(18px, env(safe-area-inset-left, 0px));
  width: 100%;
}

/* ---------- Header & Navigation ---------- */
.lp-top {
  background: radial-gradient(circle at 18% 15%, rgba(11, 107, 92, 0.34), transparent 52%),
              radial-gradient(circle at 85% 75%, rgba(242, 169, 59, 0.12), transparent 46%),
              var(--lp-ink);
  color: #edf4f1;
  position: relative;
}

.lp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  position: relative;
}

.lp-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  text-decoration: none;
  flex-shrink: 0;
}
.lp-logo:hover {
  color: #ffffff;
  text-decoration: none;
}

.lp-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14.5px;
  font-weight: 600;
}

.lp-links a {
  color: var(--lp-mist);
  text-decoration: none;
  transition: color 0.16s ease;
  white-space: nowrap;
}
.lp-links a:hover {
  color: #ffffff;
  text-decoration: none;
}

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lp-nav-login {
  color: #edf4f1;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
}
.lp-nav-login:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.lp-nav-mob {
  display: none;
  background: transparent;
  border: 1.5px solid #3b5550;
  color: #edf4f1;
  border-radius: 10px;
  padding: 7px 11px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.3;
  border-radius: 12px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, filter 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.lp-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.lp-btn-sm {
  padding: 8px 14px;
  font-size: 13.5px;
}

.lp-btn-saffron {
  background: var(--lp-saffron);
  color: var(--lp-ink);
}
.lp-btn-saffron:hover {
  background: #f5b654;
  color: var(--lp-ink);
}

.lp-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: #42615b;
  color: #edf4f1;
}
.lp-btn-ghost:hover {
  border-color: var(--lp-mist);
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.lp-btn-teal-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.lp-btn-teal-outline:hover {
  background: var(--primary-subtle);
  color: var(--primary-text);
}

.lp-btn-ink {
  background: var(--lp-ink);
  color: #ffffff;
}
.lp-btn-ink:hover {
  background: var(--lp-ink-2);
  color: #ffffff;
}

:focus-visible {
  outline: 3px solid var(--lp-saffron);
  outline-offset: 2px;
}

/* ---------- Hero & Animated Phone ---------- */
.lp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 44px;
  align-items: center;
  padding-block: 36px 72px;
}

.lp-hero-txt {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.lp-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242, 169, 59, 0.16);
  border: 1px solid rgba(242, 169, 59, 0.35);
  color: #ffd084;
  font-size: 13.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}

.lp-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lp-saffron);
  animation: lp-pulse 2.2s ease-in-out infinite;
}

.lp-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4.3vw, 48px);
  line-height: 1.32;
  font-weight: 900;
  letter-spacing: -0.4px;
  color: #ffffff;
  text-wrap: balance;
}

.lp-lead {
  margin: 0;
  font-size: 17.5px;
  color: var(--lp-mist);
  max-width: 560px;
}

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.lp-ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 13.5px;
  color: var(--lp-mist-2);
  margin-top: 4px;
}

/* Phone Mockup */
.lp-phone-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.lp-phone {
  width: min(350px, 100%);
  background: #f9fbfa;
  color: #0f1e1c;
  border-radius: 34px;
  padding: 12px;
  border: 7px solid #1e332f;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  position: relative;
}

.lp-ph-notch {
  width: 90px;
  height: 6px;
  border-radius: 999px;
  background: #d5dfdc;
  margin: 2px auto 10px;
}

.lp-ph-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 8px 12px;
  border-bottom: 1px solid #e2ebe8;
}

.lp-ph-user {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.lp-ph-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f2a93b, #0b6b5c);
  color: #ffffff;
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-ph-title {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  min-width: 0;
}

.lp-ph-title b {
  font-size: 13.5px;
  color: #0f1e1c;
}
.lp-ph-title small {
  font-size: 11.5px;
  color: #546a64;
}

.lp-sample-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: #fef3dc;
  color: #7a4b00;
  border: 1px solid #f4cf87;
  white-space: nowrap;
}

.lp-ph-msgs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 4px 10px;
  min-height: 332px;
  font-size: 12.8px;
  line-height: 1.65;
}

.lp-msg {
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition: opacity 0.36s ease, transform 0.36s ease;
  display: none;
}

.lp-msg.is-shown {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lp-msg-in {
  align-self: flex-start;
  background: #e9efed;
  color: #0f1e1c;
  padding: 8px 12px;
  border-radius: 15px 15px 15px 4px;
  max-width: 85%;
}

.lp-msg-out {
  align-self: flex-end;
  background: #0b6b5c;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 15px 15px 4px 15px;
  max-width: 88%;
}

.lp-typing {
  align-self: flex-end;
  background: #e3f1ec;
  color: #08493f;
  padding: 8px 14px;
  border-radius: 15px 15px 4px 15px;
  display: none;
  align-items: center;
  gap: 5px;
}
.lp-typing.is-shown {
  display: inline-flex;
  opacity: 1;
  transform: none;
}

.lp-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0b6b5c;
  animation: lp-bounce 1s infinite ease-in-out;
}
.lp-typing-dot:nth-child(2) { animation-delay: 0.16s; }
.lp-typing-dot:nth-child(3) { animation-delay: 0.32s; }

.lp-order-card {
  align-self: flex-end;
  width: 92%;
  background: #ffffff;
  border: 1.5px solid #0b6b5c;
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 6px 18px rgba(11, 107, 92, 0.12);
}

.lp-order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #08493f;
  margin-bottom: 4px;
}

.lp-order-meta {
  font-size: 11.5px;
  color: #465a55;
  margin-bottom: 7px;
}

.lp-order-cta {
  display: block;
  text-align: center;
  background: #f2a93b;
  color: #0f1e1c;
  font-weight: 800;
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 8px;
}

.lp-ph-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #e2ebe8;
  padding: 8px 6px 2px;
  font-size: 11.5px;
  color: #546a64;
}

.lp-ph-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}

.lp-ph-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #cbd8d4;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.lp-ph-dot.is-active {
  width: 18px;
  background: #0b6b5c;
}

.lp-ph-replay {
  background: transparent;
  border: 1px solid #cbd8d4;
  border-radius: 8px;
  color: #0f1e1c;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  cursor: pointer;
}
.lp-ph-replay:hover {
  background: #e3f1ec;
  border-color: #0b6b5c;
}

/* ---------- Common Section Rhythm ---------- */
.lp-sec {
  padding-block: 64px;
}

.lp-sec-alt {
  background: var(--bg-surface);
  border-block: 1px solid var(--border-subtle);
}

.lp-sec-dark {
  background: radial-gradient(circle at 80% 20%, rgba(11, 107, 92, 0.28), transparent 50%),
              var(--lp-ink);
  color: #edf4f1;
}

.lp-sec-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.lp-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--lp-teal-soft);
  color: var(--primary-text);
  margin-bottom: 10px;
}

.lp-sec-dark .lp-eyebrow {
  background: rgba(242, 169, 59, 0.16);
  color: #ffd084;
}

.lp-sec h2 {
  margin: 0 0 10px;
  font-size: clamp(23px, 3.2vw, 34px);
  line-height: 1.35;
  font-weight: 900;
  text-wrap: balance;
}

.lp-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 16.5px;
}

.lp-sec-dark .lp-sub {
  color: var(--lp-mist);
}

/* Reveal Animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Section 2: Comment-to-Order Flow (#flow) ---------- */
.lp-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  position: relative;
}

.lp-flow-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.lp-flow-card.is-step-active {
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(11, 107, 92, 0.14);
  transform: translateY(-3px);
}

.lp-flow-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lp-step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lp-saffron);
  color: var(--lp-ink);
  font-weight: 900;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-flow-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.lp-flow-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
}

.lp-mini-scene {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  margin-top: auto;
}

.lp-mini-bubble {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--text-main);
}

.lp-mini-bubble-teal {
  background: var(--lp-teal);
  border-color: var(--lp-teal);
  color: #ffffff;
}

.lp-badge-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: var(--lp-ok-soft);
  color: var(--lp-ok);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 800;
}

/* ---------- Section 3: Replay Showcase (#replay) ---------- */
.lp-replay-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
}

.lp-replay-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.lp-replay-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--lp-mist);
}

.lp-replay-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.lp-replay-check {
  color: var(--lp-saffron);
  font-weight: 900;
}

.lp-replay-screen {
  background: var(--bg-surface);
  color: var(--text-main);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  min-width: 0;
}

.lp-replay-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.lp-replay-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-replay-row {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  font-size: 12.8px;
}

.lp-replay-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.lp-replay-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
}

.lp-replay-bot {
  background: var(--lp-teal-soft);
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--text-main);
}

.lp-status-pill {
  display: inline-block;
  align-self: flex-start;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--lp-ok-soft);
  color: var(--lp-ok);
}

.lp-status-pill-warn {
  background: var(--lp-saffron-soft);
  color: var(--lp-saffron-ink);
}

/* ---------- Section 4: Features Grid (#features) ---------- */
.lp-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.lp-feat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 24px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.lp-feat-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.lp-ic {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--lp-teal-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.lp-feat-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
}

.lp-feat-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
}

.lp-mini-dash {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.lp-mini-dash span {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 7px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lp-mini-dash small {
  font-size: 10.5px;
  color: var(--text-muted);
}

.lp-mini-dash b {
  font-size: 12px;
  color: var(--primary);
}

/* ---------- Section 5: Comparison Table (#compare) ---------- */
.lp-cmp-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.lp-cmp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 14.5px;
}

.lp-cmp-table th,
.lp-cmp-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.lp-cmp-table thead th {
  background: var(--bg-surface-subtle);
  font-weight: 900;
  font-size: 15px;
  color: var(--text-main);
}

.lp-cmp-table tbody tr:last-child td,
.lp-cmp-table tbody tr:last-child th {
  border-bottom: 0;
}

.lp-cmp-table tbody th {
  font-weight: 800;
  color: var(--text-main);
  width: 22%;
}

.lp-col-pb {
  background: var(--lp-teal-soft);
  color: var(--text-main);
  font-weight: 700;
}

thead th.lp-col-pb {
  background: var(--lp-teal);
  color: #ffffff;
}

.lp-mark-no {
  color: var(--lp-warn);
  font-weight: 800;
}

.lp-mark-ok {
  color: var(--lp-ok);
  font-weight: 900;
}

/* ---------- Section 6: Pricing (#pricing) ---------- */
.lp-price-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.lp-price-amt {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
}

.lp-plist {
  list-style: none;
  margin: 6px 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.lp-plist li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.lp-price-card .lp-btn {
  margin-top: auto;
  width: 100%;
}

.lp-price-featured {
  background: var(--lp-ink);
  color: #edf4f1;
  border-color: var(--lp-ink);
  box-shadow: 0 20px 50px rgba(15, 30, 28, 0.3);
}

.lp-price-featured .lp-price-amt {
  color: #ffffff;
}

.lp-price-featured .lp-plist,
.lp-price-featured .lp-price-sub {
  color: var(--lp-mist);
}

.lp-badge-top {
  position: absolute;
  top: -13px;
  right: 22px;
  background: var(--lp-saffron);
  color: var(--lp-ink);
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}

.lp-pricing-extra {
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  color: var(--text-main);
  text-align: center;
}

.lp-pricing-extra p {
  margin: 0;
}

/* ---------- Section 7: FAQ (#faq) ---------- */
.lp-faq {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-faq details {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px 20px;
  transition: border-color 0.2s ease;
}

.lp-faq details[open] {
  border-color: var(--primary);
}

.lp-faq summary {
  font-weight: 800;
  font-size: 16.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.lp-faq summary::-webkit-details-marker {
  display: none;
}

.lp-faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.lp-faq details[open] summary::after {
  content: "−";
}

.lp-faq details p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- Section 8: Demo Request Form (#demo-request) ---------- */
.lp-demo-box {
  max-width: 840px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.lp-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lp-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}

.lp-form input,
.lp-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-main);
  width: 100%;
}

.lp-form .lp-full {
  grid-column: 1 / -1;
}

.lp-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.lp-ok-banner {
  background: var(--lp-ok-soft);
  color: var(--lp-ok);
  border: 1px solid var(--primary);
  border-radius: 14px;
  padding: 14px 18px;
  margin-top: 14px;
  font-weight: 800;
}

.lp-err-banner {
  background: var(--lp-warn-soft);
  color: var(--lp-warn);
  border: 1px solid var(--lp-warn);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 14px;
}

/* ---------- Final CTA & Footer ---------- */
.lp-cta-band {
  background: var(--lp-saffron);
  color: var(--lp-ink);
}

.lp-cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding-block: 44px;
}

.lp-cta-inner h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
}

.lp-cta-inner p {
  margin: 6px 0 0;
  font-size: 15.5px;
}

.lp-footer {
  background: var(--lp-ink);
  color: var(--lp-mist-2);
  font-size: 14px;
}

.lp-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: space-between;
  align-items: center;
  padding-block: 26px;
}

.lp-footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.lp-footer-links a {
  color: var(--lp-mist);
}

/* ---------- Keyframes ---------- */
@keyframes lp-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-4px); opacity: 1; }
}

@keyframes lp-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.25); opacity: 1; }
}

/* ---------- Responsive (Mobile-First Breakpoints <= 920px & <= 680px) ---------- */
@media (max-width: 920px) {
  .lp-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--lp-ink-2);
    border-bottom: 1px solid #2b4741;
    padding: 14px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    z-index: 60;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
  }
  .lp-links.open {
    display: flex;
  }
  .lp-nav-mob {
    display: inline-flex;
  }
  .lp-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-block: 24px 52px;
  }
  .lp-flow-grid,
  .lp-replay-grid,
  .lp-grid3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .lp-replay-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .lp-sec {
    padding-block: 48px;
  }
  .lp-form {
    grid-template-columns: minmax(0, 1fr);
  }
  .lp-demo-box {
    padding: 20px;
  }
  .lp-nav-actions .lp-btn-sm {
    padding: 7px 11px;
    font-size: 12.5px;
  }

  /* Responsive comparison table: stack rows cleanly inside 360px with zero horizontal scroll */
  .lp-cmp-table,
  .lp-cmp-table tbody {
    display: block;
    width: 100%;
  }
  .lp-cmp-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .lp-cmp-table tbody tr {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 14px;
    gap: 8px;
  }
  .lp-cmp-table tbody tr:last-child {
    border-bottom: 0;
  }
  .lp-cmp-table tbody th,
  .lp-cmp-table tbody td {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border-bottom: 0;
    border-radius: 10px;
  }
  .lp-cmp-table tbody th {
    padding: 0 2px 4px;
    font-size: 15px;
  }
  .lp-cmp-table tbody td {
    background: var(--bg-surface-subtle);
  }
  .lp-cmp-table tbody td.lp-col-pb {
    background: var(--lp-teal-soft);
    border: 1px solid var(--primary);
  }
  .lp-cmp-table tbody td::before {
    content: attr(data-col);
    display: block;
    font-size: 11.5px;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 2px;
  }
  .lp-cmp-table tbody td.lp-col-pb::before {
    color: var(--primary-text);
  }
}

/* ---------- Reduced Motion: final state visible immediately, no motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .lp-msg {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .lp-typing {
    display: none !important;
  }
}
