/* Public home page */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.returning #landing { display: none; }

.lp { background: #fff; color: var(--text); }
.lp-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lp-narrow { max-width: 820px; }
.lp h1, .lp h2, .lp h3 { font-family: var(--display); letter-spacing: -0.01em; }
.lp a { text-decoration: none; }

/* ---------- buttons ---------- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; padding: 10px 20px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background 0.15s, border-color 0.15s, transform 0.15s; }
.lp-btn-accent { background: var(--accent); color: #2a1c00; }
.lp-btn-accent:hover { background: var(--accent-d); }
.lp-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.lp-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.lp-btn-lg { padding: 14px 26px; font-size: 16px; }
.lp-link { color: var(--brand); font-weight: 600; padding: 8px 10px; white-space: nowrap; }
.lp-link:hover { text-decoration: underline; }

/* ---------- header ---------- */
.lp-top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.lp-top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.lp-brand { white-space: nowrap; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 19px; font-weight: 600; color: var(--side); }
.lp-nav { display: flex; align-items: center; gap: 18px; font-weight: 500; font-size: 15px; white-space: nowrap; }
.lp-nav > a { color: #3b3e63; padding: 6px 0; }
.lp-nav > a:hover { color: var(--brand); }
.lp-nav-cta { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; }
.lp-nav-cta .lp-btn { padding: 9px 16px; font-size: 14.5px; }
.lp-menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 42px; height: 42px; place-items: center; color: var(--text); cursor: pointer; }

/* ---------- hero ---------- */
.lp-hero { background: var(--side); color: #fff; overflow: hidden; }
.lp-hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 84px; }
.lp-pill { display: inline-block; margin: 0 0 18px; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #e4e5fb; font-size: 13.5px; font-weight: 500; }
.lp-hero h1 { font-size: 50px; line-height: 1.08; margin: 0 0 18px; color: #fff; }
.lp-lead { font-size: 18px; line-height: 1.6; color: #d5d7f5; max-width: 560px; margin: 0 0 30px; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-checks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #d5d7f5; font-size: 14.5px; }
.lp-checks li::before { content: '✓'; color: var(--accent); font-weight: 700; margin-right: 8px; }

/* product mock (pure CSS, decorative) */
.mock { background: #fff; color: var(--text); border-radius: 14px; box-shadow: 0 30px 70px rgba(10, 11, 40, 0.5); overflow: hidden; transform: rotate(-1.2deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef0fa; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9cdea; }
.mock-bar span { margin-left: 8px; }
.mock-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); border-top: 3px solid var(--brand); }
.mock-strip div { padding: 12px 12px 10px; border-right: 1px solid var(--line); min-width: 0; }
.mock-strip div:last-child { border-right: 0; }
.mock-strip small { display: block; font-size: 10.5px; color: var(--muted); }
.mock-strip b { font-family: var(--display); font-size: 17px; }
.mock-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; padding: 14px; background: #f6f7fc; }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.mock-card h6 { margin: 0 0 10px; font-size: 12px; font-weight: 600; }
.mock-bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.mock-bars i { flex: 1; background: var(--brand); border-radius: 3px 3px 0 0; }
.mock-bars i:nth-child(odd) { background: #6b6fcb; }
.mock-age { display: flex; height: 12px; border-radius: 3px; overflow: hidden; gap: 2px; background: #eceef7; margin-bottom: 12px; }
.mock-age.big { height: 18px; margin: 4px 0 16px; }
.mock-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 10.5px; color: var(--muted); }
.mock-legend em, .mi-tot em { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; }

/* ---------- documents strip ---------- */
.lp-strip { background: #fff; border-bottom: 1px solid var(--line); }
.lp-strip .lp-wrap { display: flex; align-items: center; gap: 18px; padding-top: 18px; padding-bottom: 18px; }
.lp-strip .lp-wrap > span { font-weight: 600; color: var(--side); flex: none; }
.lp-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-strip li { padding: 4px 12px; background: var(--brand-soft); color: var(--brand); border-radius: 6px; font-size: 13.5px; font-weight: 500; }

/* ---------- sections ---------- */
.lp-sec { padding: 84px 0; }
.lp-alt { background: #f4f5fa; }
.lp-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.lp-head h2 { font-size: 36px; line-height: 1.15; margin: 0 0 12px; color: var(--side); }
.lp-head p { margin: 0; font-size: 17px; color: var(--muted); line-height: 1.6; }
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; transition: border-color 0.15s, box-shadow 0.15s; }
.lp-card:hover { border-color: #b9bdf0; box-shadow: 0 10px 28px rgba(37, 40, 102, 0.08); }
.lp-card h3 { font-size: 19px; margin: 14px 0 6px; color: var(--side); }
.lp-card p { margin: 0; color: #4b4e70; line-height: 1.6; font-size: 15px; }
.lp-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }

/* spotlights */
.lp-spot { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 40px 0; }
.lp-spot + .lp-spot { border-top: 1px solid var(--line); }
.lp-spot.lp-rev .lp-spot-copy { order: 2; }
.lp-spot-copy h2 { font-size: 32px; line-height: 1.15; margin: 0 0 18px; color: var(--side); }
.lp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-list li { position: relative; padding-left: 30px; line-height: 1.55; color: #3b3e63; }
.lp-list li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.lp-list.two { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.mock-inv { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; box-shadow: 0 18px 44px rgba(37, 40, 102, 0.12); }
.mi-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--brand); }
.mi-head b { font-family: var(--display); font-size: 17px; color: var(--side); }
.mi-head span { font-size: 12.5px; color: var(--muted); }
.mi-head .mi-btn { background: var(--brand); color: #fff; padding: 5px 12px; border-radius: 6px; font-weight: 500; }
.mock-inv table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 10px; }
.mock-inv th { text-align: left; font-size: 11.5px; color: var(--muted); font-weight: 600; padding: 6px 4px; background: #f6f7fc; }
.mock-inv td { padding: 7px 4px; border-bottom: 1px solid #eceef7; }
.mock-inv th:last-child, .mock-inv td:last-child { text-align: right; }
.mi-tot { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: #3b3e63; }
.mi-grand { border-top: 2px solid var(--text); margin-top: 6px; padding-top: 10px; font-size: 18px; color: var(--text); font-family: var(--display); font-weight: 600; }
.mock-inv small { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; }
.mock-sheets { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
.mock-sheets span { padding: 6px 11px; border-radius: 6px; font-size: 12.5px; background: #fbeaea; border: 1px solid #ebc4c4; color: #5a2a2a; font-family: 'IBM Plex Sans', sans-serif; }
.mock-sheets span:first-child { background: #0070c0; border-color: #0070c0; color: #fff; }

/* why */
.lp-why { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.lp-why h3 { font-size: 18px; margin: 0 0 8px; color: var(--side); padding-top: 14px; border-top: 3px solid var(--accent); }
.lp-why p { margin: 0; color: #4b4e70; line-height: 1.6; font-size: 14.5px; }

/* steps */
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.lp-steps li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.lp-steps li > span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--side); color: var(--accent); font-family: var(--display); font-size: 20px; font-weight: 600; }
.lp-steps h3 { font-size: 20px; margin: 16px 0 8px; color: var(--side); }
.lp-steps p { margin: 0; color: #4b4e70; line-height: 1.6; }

/* pricing */
.lp-price { max-width: 820px; margin: 0 auto; background: #fff; border: 2px solid var(--brand); border-radius: 16px; padding: 32px; box-shadow: 0 18px 44px rgba(37, 40, 102, 0.1); }
.lp-price-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.lp-price-top h3 { font-size: 24px; margin: 0 0 4px; color: var(--side); }
.lp-price-top p { margin: 0; color: var(--muted); }
.lp-amt { font-family: var(--display); font-size: 56px; font-weight: 600; color: var(--brand); line-height: 1; white-space: nowrap; }
.lp-amt small { font-family: var(--body); font-size: 16px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.lp-price-foot { display: flex; align-items: center; gap: 22px; margin-top: 28px; flex-wrap: wrap; }
.lp-price-foot p { margin: 0; flex: 1; min-width: 240px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.lp-price-foot p a { color: var(--brand); text-decoration: underline; }

/* faq */
.lp-faq { display: grid; gap: 10px; }
.lp-faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 20px; }
.lp-faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--side); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; font-size: 22px; color: var(--brand); line-height: 1; }
.lp-faq details[open] summary::after { content: '−'; }
.lp-faq details p { margin: 0 0 16px; color: #4b4e70; line-height: 1.65; }

/* final call to action + footer */
.lp-final { background: var(--side); color: #fff; text-align: center; padding: 76px 0; }
.lp-final h2 { font-size: 36px; margin: 0 0 10px; color: #fff; }
.lp-final p { margin: 0 0 26px; font-size: 18px; color: #d5d7f5; }
.lp-final .lp-final-alt { margin: 18px 0 0; font-size: 15px; }
.lp-final .lp-final-alt a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.lp-foot { background: #1a1c4d; color: #b5b8e6; }
.lp-foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-top: 52px; padding-bottom: 36px; }
.lp-foot .lp-brand { color: #fff; }
.lp-foot p { margin: 12px 0 0; font-size: 14px; line-height: 1.6; max-width: 320px; }
.lp-foot h4 { color: #fff; font-size: 14px; margin: 0 0 12px; }
.lp-foot-in > div > a, .lp-foot-in > div > span { display: block; margin: 0 0 8px; font-size: 14px; color: #b5b8e6; }
.lp-foot-in > div > a:hover { color: #fff; text-decoration: underline; }
.lp-contact a { color: #fff; }
.lp-copy { border-top: 1px solid rgba(255, 255, 255, 0.12); text-align: center; padding: 18px 24px; font-size: 13px; }

/* ---------- sign-in screen additions ---------- */
.auth-back { display: inline-block; margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.auth-back:hover { color: var(--brand); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .lp-hero-in { grid-template-columns: 1fr; gap: 44px; padding-top: 52px; padding-bottom: 56px; }
  .lp-hero h1 { font-size: 40px; }
  .mock { transform: none; max-width: 560px; }
  .lp-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-spot { grid-template-columns: 1fr; gap: 28px; padding: 28px 0; }
  .lp-spot.lp-rev .lp-spot-copy { order: 0; }
  .lp-why { grid-template-columns: repeat(2, 1fr); }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .lp-menu-btn { display: grid; }
  .lp-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px; box-shadow: 0 16px 30px rgba(37, 40, 102, 0.12); }
  .lp-nav.open { display: flex; }
  .lp-nav > a { padding: 12px 0; border-bottom: 1px solid #eef0f6; }
  .lp-nav-cta { margin: 14px 0 0; gap: 12px; }
  .lp-nav-cta .lp-btn { flex: 1; }
}
@media (max-width: 640px) {
  .lp-wrap { padding: 0 18px; }
  .lp-sec { padding: 56px 0; }
  .lp-head h2, .lp-final h2 { font-size: 28px; }
  .lp-spot-copy h2 { font-size: 26px; }
  .lp-hero h1 { font-size: 33px; }
  .lp-lead { font-size: 16.5px; }
  .lp-btn-lg { width: 100%; }
  .lp-grid, .lp-why { grid-template-columns: 1fr; }
  .lp-list.two { grid-template-columns: 1fr; }
  .lp-price { padding: 22px; }
  .lp-price-top { flex-direction: column; align-items: flex-start; }
  .lp-amt { font-size: 46px; }
  .lp-strip .lp-wrap { flex-direction: column; align-items: flex-start; }
  .mock-strip { grid-template-columns: repeat(2, 1fr); }
  .mock-strip div:nth-child(2) { border-right: 0; }
  .mock-strip div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .mock-body { grid-template-columns: 1fr; }
  .lp-foot-in { grid-template-columns: 1fr; }
}
