/* ── AILO E-Sign landing page (cloud white theme) ───────────────────────── */
:root {
  --navy: #1a3a6b;
  --navy-600: #152f58;
  --navy-700: #0f2340;
  --navy-50: #eef2f8;
  --accent: #f59e0b;
  --accent-600: #d97706;
  --cloud: #F7F8FA;
  --white: #ffffff;
  --ink: #111827;
  --body: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --green: #16a34a;
  --green-50: #f0fdf4;
  --amber-50: #fffbeb;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .05);
  --shadow: 0 10px 30px -12px rgba(15, 35, 64, .18), 0 2px 6px rgba(15, 35, 64, .05);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body.lp {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: var(--cloud);
  color: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -.02em; }

.lp-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lp-mono { font-family: 'DM Mono', monospace; }

/* ── Buttons ── */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: .9rem;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.lp-btn-lg { padding: 13px 24px; font-size: .95rem; }
.lp-btn-primary { background: var(--navy); color: #fff; }
.lp-btn-primary:hover { background: var(--navy-600); }
.lp-btn-accent { background: var(--navy); color: #fff; box-shadow: 0 6px 18px -6px rgba(26, 58, 107, .55); }
.lp-btn-accent:hover { background: var(--navy-600); transform: translateY(-1px); }
.lp-btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.lp-btn-ghost:hover { border-color: #cbd5e1; background: #fff; }

/* ── Maintenance banner ── */
.lp-maint { background: #fffbeb; border-bottom: 1px solid #fde68a; color: #92400e; font-size: .86rem; padding: 10px 0; text-align: center; }
.lp-maint strong { color: #78350f; margin-right: 4px; }

/* ── Nav ── */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 250, .82);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.lp-nav-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .9); }
.lp-nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.lp-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.05rem; }
.lp-brand strong { color: var(--navy); font-weight: 700; }
.lp-links { display: flex; gap: 28px; flex: 1; }
.lp-links a { font-size: .9rem; font-weight: 500; color: var(--body); transition: color .15s; }
.lp-links a:hover { color: var(--navy); }
.lp-nav-cta { display: flex; gap: 10px; }
.lp-menu { display: none; background: none; border: 0; color: var(--ink); padding: 6px; cursor: pointer; margin-left: auto; }

/* ── Hero ── */
.lp-hero { padding: 72px 0 88px; position: relative; overflow: hidden; }
.lp-hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(26, 58, 107, .08), transparent 70%);
  pointer-events: none;
}
.lp-hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-size: .8rem; font-weight: 500; color: var(--navy); box-shadow: var(--shadow-sm);
}
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); }
.lp-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); font-weight: 700; margin: 20px 0 18px; }
.lp-accent { color: var(--navy); position: relative; white-space: nowrap; }
.lp-accent::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .28em;
  background: rgba(245, 158, 11, .35); border-radius: 4px; z-index: -1;
}
.lp-lead { font-size: 1.08rem; color: var(--body); max-width: 560px; }
.lp-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lp-hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.lp-hero-points li { display: flex; align-items: center; gap: 7px; font-size: .86rem; color: var(--muted); }
.lp-hero-points svg { color: var(--green); }

/* Hero illustration */
.lp-hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0 40px; }
.lp-doc {
  width: min(420px, 100%); aspect-ratio: 1 / 1.3; background: var(--white);
  border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 34px 32px; position: relative; transform: rotate(-1.5deg);
}
.lp-doc-head { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 26px; }
.lp-doc-title { width: 62%; height: 12px; border-radius: 4px; background: #cbd5e1; }
.lp-doc-sub { width: 38%; height: 7px; border-radius: 4px; background: #e2e8f0; }
.lp-doc-lines { display: flex; flex-direction: column; gap: 10px; }
.lp-doc-lines span { display: block; height: 7px; border-radius: 4px; background: #eef1f5; }
.lp-stamp {
  position: absolute; right: 30px; bottom: 54px; width: 128px;
  border: 2px dashed var(--navy); border-radius: 6px; background: rgba(255, 255, 255, .96);
  padding: 6px 8px 7px; display: flex; flex-direction: column; align-items: center;
}
.lp-stamp-date { font-size: .55rem; color: #374151; margin-bottom: 4px; }
.lp-qr { width: 78px; height: 78px; fill: var(--navy-700); }
.lp-stamp-sep { width: 92%; border-top: 1px solid #111; margin: 5px 0 3px; }
.lp-stamp-name { font-size: .62rem; font-weight: 700; color: #111; }
.lp-stamp-role { font-size: .52rem; color: #4b5563; }
.lp-doc-foot { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: .5rem; color: #9ca3af; padding: 0 16px; }

.lp-float {
  position: absolute; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 12px 14px;
}
.lp-float-valid { left: -6px; bottom: 26px; display: flex; align-items: center; gap: 10px; animation: lpFloat 5s ease-in-out infinite; }
.lp-float-valid strong { display: block; font-size: .85rem; color: var(--ink); }
.lp-float-valid small { display: block; font-size: .72rem; color: var(--muted); }
.lp-float-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lp-ok { background: var(--green-50); color: var(--green); }
.lp-float-flow { right: -10px; top: 6px; width: 220px; display: flex; flex-direction: column; gap: 9px; animation: lpFloat 6s ease-in-out infinite reverse; }
.lp-flow-row { display: flex; align-items: center; gap: 8px; }
.lp-av { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .62rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.lp-av-2 { background: #0f766e; }
.lp-av-3 { background: var(--accent); }
.lp-flow-name { flex: 1; white-space: nowrap; font-size: .78rem; color: var(--ink); font-weight: 500; }
.lp-pill { font-size: .66rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.lp-pill-ok { background: var(--green-50); color: var(--green); }
.lp-pill-wait { background: var(--amber-50); color: var(--accent-600); }
@keyframes lpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ── Trust strip ── */
.lp-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.lp-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.lp-strip-inner > div { padding: 24px 20px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.lp-strip-inner > div:first-child { border-left: 0; padding-left: 0; }
.lp-strip strong { color: var(--navy); font-size: .98rem; }
.lp-strip span { font-size: .82rem; color: var(--muted); }

/* ── Sections ── */
.lp-section { padding: 96px 0; }
.lp-section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.lp-kicker { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-600); margin-bottom: 10px; }
.lp-section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
.lp-section-head p { margin-top: 14px; font-size: 1rem; }

.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.lp-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #dbe2ea; }
.lp-ficon { width: 44px; height: 44px; border-radius: 11px; background: var(--navy-50); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.lp-feature h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.lp-feature p { font-size: .9rem; }

.lp-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; position: relative; }
.lp-steps::before { content: ''; position: absolute; top: 22px; left: 12%; right: 12%; border-top: 2px dashed #d5dbe4; z-index: 0; }
.lp-steps li { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.lp-step-num {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 2px solid var(--navy); color: var(--navy); font-weight: 700;
  box-shadow: 0 0 0 6px var(--white);
}
.lp-steps h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.lp-steps p { font-size: .88rem; }

.lp-security { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.lp-security-copy p { margin: 14px 0 22px; }
.lp-checks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.lp-checks li { position: relative; padding-left: 32px; font-size: .92rem; }
.lp-checks li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.lp-checks strong { color: var(--ink); font-weight: 600; }
.lp-security-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.lp-sc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.lp-sc-head strong { display: block; color: var(--green); }
.lp-sc-head small { color: var(--muted); font-size: .78rem; }
.lp-sc-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .88rem; }
.lp-sc-rows > div:last-child { border-bottom: 0; }
.lp-sc-rows dt { color: var(--muted); }
.lp-sc-rows dd { color: var(--ink); font-weight: 500; text-align: right; }

/* ── Verify ── */
.lp-verify { padding: 0 0 96px; }
.lp-verify-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  padding: 44px 48px; position: relative; overflow: hidden;
}
.lp-verify-inner::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--navy); }
.lp-verify h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 700; margin-bottom: 10px; }
.lp-verify p { font-size: .95rem; }
.lp-verify-form { display: flex; gap: 10px; }
.lp-verify-form input {
  flex: 1; min-width: 0; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--cloud); font-family: 'DM Mono', monospace; font-size: .92rem; color: var(--ink);
  letter-spacing: .04em; text-transform: uppercase; transition: border-color .15s, box-shadow .15s, background .15s;
}
.lp-verify-form input::placeholder { text-transform: none; letter-spacing: 0; color: #9ca3af; font-family: 'Poppins', sans-serif; }
.lp-verify-form input:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(26, 58, 107, .12); }

/* ── CTA + footer ── */
.lp-cta { padding-top: 0; }
.lp-cta-inner { text-align: center; }
.lp-cta p { margin-top: 10px; font-size: 1rem; }
.lp-center { justify-content: center; }
.lp-footer { border-top: 1px solid var(--line); background: var(--white); padding: 28px 0; }
.lp-footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.lp-footer nav { display: flex; gap: 22px; flex: 1; }
.lp-footer nav a { font-size: .86rem; color: var(--muted); }
.lp-footer nav a:hover { color: var(--navy); }
.lp-footer small { font-size: .8rem; color: var(--muted); }

/* ── Responsive ── */
@media (max-width: 980px) {
  .lp-hero-inner, .lp-security, .lp-verify-inner { grid-template-columns: 1fr; }
  .lp-hero { padding: 48px 0 64px; }
  .lp-hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .lp-features { grid-template-columns: repeat(2, 1fr); }
  .lp-steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .lp-steps::before { display: none; }
  .lp-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .lp-strip-inner > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .lp-strip-inner > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .lp-links, .lp-nav-cta { display: none; }
  .lp-menu { display: block; }
  .lp-nav-open { background: #fff; border-bottom-color: var(--line); box-shadow: 0 12px 24px -12px rgba(15, 35, 64, .18); }
  .lp-nav-open .lp-nav-inner { flex-wrap: wrap; height: auto; min-height: 68px; row-gap: 0; padding-bottom: 16px; }
  .lp-nav-open .lp-brand { height: 68px; }
  .lp-nav-open .lp-links { display: flex; flex-direction: column; flex-basis: 100%; gap: 0; order: 3; }
  .lp-nav-open .lp-links a { padding: 12px 0; border-top: 1px solid var(--line); }
  .lp-nav-open .lp-nav-cta { display: flex; flex-basis: 100%; gap: 10px; order: 4; padding-top: 14px; border-top: 1px solid var(--line); }
  .lp-nav-open .lp-nav-cta .lp-btn { flex: 1; }
}
@media (max-width: 600px) {
  .lp-container { padding: 0 16px; }
  .lp-section { padding: 64px 0; }
  .lp-features, .lp-steps, .lp-strip-inner { grid-template-columns: 1fr; }
  .lp-strip-inner > div { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); }
  .lp-strip-inner > div:first-child { border-top: 0; }
  .lp-float-flow { right: 0; width: 176px; }
  .lp-float-valid { left: 0; }
  .lp-verify-inner { padding: 30px 22px; }
  .lp-verify-form { flex-direction: column; }
  .lp-hero-cta .lp-btn { flex: 1; }
  .lp-footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-float-valid, .lp-float-flow { animation: none; }
}
