/* Styles for the landing page (index.html) and the legal pages (privacy.html, terms.html). */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: #f7f9fc;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
}
a { color: #2563eb; text-decoration: none; }
a:hover { color: #1d4ed8; }
img { max-width: 100%; }

.lp-container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
/* Offset anchor targets so they aren't hidden under the 68px sticky nav. */
#features, #integrations, #pricing, #support { scroll-margin-top: 84px; }
.lp-section { border-top: 1px solid #e8edf4; }
.lp-bg-white { background: #ffffff; }
.lp-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #2563eb; }
.lp-h2 { margin: 12px 0 0; font-size: 40px; line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; color: #0b1220; }

/* ---- Nav ---- */
.lp-nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    background: rgba(247, 249, 252, 0.85);
    border-bottom: 1px solid #e8edf4;
}
.lp-nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.lp-brand { display: flex; align-items: center; }
.lp-brand img { height: 38px; width: auto; display: block; }
.lp-nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 600; }
.lp-navlink { color: #475569; }
.lp-navlink:hover { color: #0f172a; }
.lp-btn-google {
    display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 16px;
    border-radius: 8px; background: #ffffff; border: 1px solid #d8e0ec; color: #33415c; font-weight: 700;
}
.lp-btn-google:hover { border-color: #b6c4d9; color: #0f172a; }
.lp-login-short { display: none; } /* shown only on mobile (see media query) */
.lp-btn-nav-primary {
    display: inline-flex; align-items: center; height: 38px; padding: 0 18px;
    border-radius: 8px; background: #2563eb; color: #ffffff; font-weight: 700;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.35);
}
.lp-btn-nav-primary:hover { background: #1d4ed8; color: #ffffff; }

/* ---- Buttons (large) ---- */
.lp-btn-primary-lg, .lp-btn-secondary-lg {
    display: inline-flex; align-items: center; justify-content: center;
    height: 50px; padding: 0 30px; border-radius: 10px; font-size: 16px; font-weight: 700;
}
.lp-btn-primary-lg {
    background: linear-gradient(135deg, #4f46e5, #2563eb); color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3); border: none; cursor: pointer;
}
.lp-btn-primary-lg:hover { box-shadow: 0 10px 26px rgba(37, 99, 235, 0.42); color: #ffffff; }
.lp-btn-secondary-lg { background: #ffffff; border: 1px solid #d8e0ec; color: #1e293b; }
.lp-btn-secondary-lg:hover { border-color: #b6c4d9; color: #0f172a; }

/* ---- Hero ---- */
.lp-hero { position: relative; overflow: hidden; }
.lp-hero-inner { position: relative; max-width: 1120px; margin: 0 auto; padding: 88px 32px 0; text-align: center; }
.lp-blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.lp-blob { position: absolute; border-radius: 50%; }
.lp-blob-1 { top: -180px; left: 8%; width: 560px; height: 560px; background: radial-gradient(circle, rgba(79, 70, 229, 0.14), transparent 65%); animation: lpBlob 14s ease-in-out infinite; }
.lp-blob-2 { top: -100px; right: 4%; width: 640px; height: 640px; background: radial-gradient(circle, rgba(37, 99, 235, 0.13), transparent 65%); animation: lpBlob2 18s ease-in-out infinite; }
.lp-blob-3 { top: 260px; left: 42%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(56, 189, 248, 0.10), transparent 65%); animation: lpBlob 22s ease-in-out infinite; }
@keyframes lpBlob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.12); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes lpBlob2 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-50px, 24px) scale(0.92); } 100% { transform: translate(0, 0) scale(1); } }

.lp-h1 {
    margin: 8px auto 0; max-width: 820px; font-size: 62px; line-height: 1.06; font-weight: 800;
    letter-spacing: -0.035em; color: #0b1220; text-wrap: balance;
}
.lp-sub { margin: 22px auto 0; max-width: 620px; font-size: 19px; line-height: 1.6; color: #55637a; text-wrap: pretty; }
.lp-cta-row { margin-top: 34px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.lp-shot { position: relative; margin: 72px auto -2px; max-width: 1020px; }
.lp-shot-frame {
    border-radius: 14px 14px 0 0; border: 1px solid #dde5f0; border-bottom: none; background: #ffffff;
    box-shadow: 0 24px 60px -18px rgba(30, 58, 138, 0.25); overflow: hidden;
}
.lp-shot-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; background: #f1f5fb; border-bottom: 1px solid #e5ebf4; }
.lp-tl { width: 11px; height: 11px; border-radius: 50%; }
.lp-url {
    margin: 0 auto; padding: 3px 40px; border-radius: 6px; background: #ffffff; border: 1px solid #e5ebf4;
    font-size: 11.5px; color: #94a3b8; font-family: ui-monospace, Menlo, monospace;
}
.lp-shot-frame img { display: block; width: 100%; }

/* ---- Features ---- */
.lp-feature-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-card {
    background: #ffffff; border: 1px solid #e5ebf4; border-radius: 14px; padding: 26px 26px 28px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); transition: box-shadow .15s ease, border-color .15s ease;
}
.lp-card:hover { box-shadow: 0 8px 24px -8px rgba(30, 58, 138, 0.16); border-color: #d3ddec; }
.lp-tile { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; color: #ffffff; }
.lp-card-title { margin: 18px 0 0; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: #101828; }
.lp-card-body { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: #5b6980; }

/* ---- Split (image + text) ---- */
.lp-split { display: grid; gap: 64px; align-items: center; }
.lp-split-portal { grid-template-columns: 1.1fr 1fr; }
.lp-split-int { grid-template-columns: 1fr 1.1fr; }
.lp-media { border-radius: 14px; border: 1px solid #dde5f0; overflow: hidden; box-shadow: 0 20px 48px -16px rgba(30, 58, 138, 0.22); background: #ffffff; }
.lp-media img { display: block; width: 100%; }
.lp-body { margin: 18px 0 0; font-size: 16.5px; line-height: 1.65; color: #55637a; text-wrap: pretty; }
.lp-checks { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.lp-check { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: #33415c; }
.lp-check-icon { width: 20px; height: 20px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* ---- Integrations ---- */
.lp-pill-row { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.lp-int-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #ffffff; border: 1px solid #e0e7f1; font-size: 14px; font-weight: 700; color: #33415c; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); }
.lp-int-dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.lp-catalog { margin-top: 72px; border-top: 1px solid #e8edf4; padding-top: 44px; }
.lp-catalog-caption { margin: 0 0 22px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #8494ab; text-align: center; }
.lp-chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.lp-chip { padding: 10px 20px; border-radius: 10px; background: #ffffff; border: 1px solid #e5ebf4; font-size: 14.5px; font-weight: 600; color: #47536b; }
.lp-chip-custom { padding: 10px 20px; border-radius: 10px; background: #eef3fd; border: 1px dashed #b9ccf2; font-size: 14.5px; font-weight: 700; color: #2563eb; }

/* ---- Pricing ---- */
.lp-plan {
    margin: 44px auto 0; max-width: 460px; border-radius: 18px; border: 1px solid #dbe4f0;
    background: linear-gradient(180deg, #fbfcfe, #f3f7fd); box-shadow: 0 20px 50px -20px rgba(30, 58, 138, 0.25);
    padding: 40px 40px 44px; text-align: center;
}
.lp-badge { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: linear-gradient(135deg, #4f46e5, #2563eb); color: #ffffff; font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.lp-price { margin-top: 22px; display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.lp-price-amt { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; color: #0b1220; }
.lp-price-per { font-size: 16px; font-weight: 600; color: #77839a; }
.lp-plan-list { margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.lp-fineprint { margin: 14px 0 0; font-size: 13px; color: #8494ab; }

/* ---- Request access ---- */
.lp-request-grid { display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: center; }
.lp-form-card { background: #ffffff; border: 1px solid #dbe4f0; border-radius: 18px; box-shadow: 0 20px 50px -20px rgba(30, 58, 138, 0.25); padding: 34px 34px 36px; display: flex; flex-direction: column; gap: 18px; }
.lp-field { display: flex; flex-direction: column; gap: 7px; }
.lp-label { font-size: 13.5px; font-weight: 700; color: #33415c; }
.lp-input { height: 46px; padding: 0 14px; border-radius: 9px; border: 1px solid #d8e0ec; background: #fbfcfe; font-size: 15px; font-family: inherit; color: #0f172a; outline: none; transition: border-color .12s ease, background .12s ease; }
.lp-input:focus { border-color: #2563eb; background: #ffffff; }
.lp-textarea { height: auto; padding: 11px 14px; line-height: 1.5; resize: vertical; min-height: 84px; }
.lp-form-note { margin: 0; font-size: 12.5px; line-height: 1.5; color: #8494ab; text-align: center; }
.lp-msg { margin: 0; font-size: 13.5px; font-weight: 600; text-align: center; min-height: 18px; }
.lp-msg.ok { color: #16a34a; }
.lp-msg.err { color: #e5484d; }
.lp-request-grid altcha-widget { --altcha-max-width: 100%; }

/* ---- Footer ---- */
.lp-footer { border-top: 1px solid #e8edf4; background: #f7f9fc; }
.lp-footer-inner { padding: 40px 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.lp-footer-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lp-footer-brand img { height: 24px; width: auto; }
.lp-footer-copy { font-size: 13px; color: #94a3b8; }
.lp-footer-links { display: flex; gap: 24px; font-size: 13.5px; font-weight: 600; flex-wrap: wrap; }
.lp-footer-links a { color: #64748b; }
.lp-footer-links a:hover { color: #0f172a; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .lp-nav-links { gap: 16px; font-size: 13.5px; }
    .lp-nav-links .lp-navlink { display: none; }
    .lp-hero-inner { padding-top: 56px; }
    .lp-h1 { font-size: 38px; }
    .lp-h2 { font-size: 30px; }
    .lp-feature-grid { grid-template-columns: 1fr 1fr; }
    .lp-split, .lp-split-portal, .lp-split-int, .lp-request-grid { grid-template-columns: 1fr; gap: 36px; }
    .lp-split-portal .lp-media, .lp-request-grid .lp-form-card { order: 2; }
    .lp-request-grid .lp-form-card { max-width: 100%; }
}
@media (max-width: 560px) {
    .lp-container, .lp-hero-inner { padding-left: 20px; padding-right: 20px; }
    .lp-feature-grid { grid-template-columns: 1fr; }
    .lp-h1 { font-size: 32px; }
    .lp-price-amt { font-size: 52px; }
    /* Compact nav so the top bar fits on phones. */
    .lp-btn-nav-primary { display: none; }
    .lp-login-full { display: none; }
    .lp-login-short { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lp-blob { animation: none !important; }
}

/* ---- Legal pages (privacy.html, terms.html) ---- */
.lp-legal { background: #ffffff; border-top: 1px solid #e8edf4; }
.lp-legal-body { max-width: 844px; padding-top: 80px; padding-bottom: 104px; font-size: 16px; line-height: 1.7; color: #33415c; }
.lp-legal-body h1 { margin: 12px 0 0; font-size: 40px; line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; color: #0b1220; }
.lp-legal-body h2 { margin: 2.2em 0 0; font-size: 22px; line-height: 1.3; font-weight: 800; letter-spacing: -0.02em; color: #0b1220; }
.lp-legal-body h3 { margin: 1.8em 0 0; font-size: 17px; line-height: 1.4; font-weight: 700; color: #101828; }
.lp-legal-body p { margin: 1em 0 0; }
.lp-legal-body ul { margin: 1em 0 0; padding-left: 1.5em; }
.lp-legal-body li { margin-top: 0.5em; }
.lp-legal-body strong { color: #0f172a; }
.lp-legal-body a { text-decoration: underline; text-underline-offset: 2px; }
.lp-legal-body .lp-legal-updated { margin-top: 12px; font-size: 14px; color: #8494ab; }
@media (max-width: 560px) {
    .lp-legal-body { padding-top: 48px; padding-bottom: 72px; }
    .lp-legal-body h1 { font-size: 30px; }
}
