/* ============================================================
   Landing page styles (light red + white). Layers on app.css.
   ============================================================ */

body.landing { background:
  radial-gradient(1100px 560px at 82% -12%, var(--accent-soft), transparent 60%),
  linear-gradient(180deg,#ffffff 0%, var(--bg) 60%); }
.landing h1, .landing h2, .landing h3 { line-height: 1.15; color:var(--text); }
.landing code { background:#fbf5f5; border:1px solid var(--line); padding:2px 6px; border-radius:6px;
  font-family:ui-monospace,Consolas,monospace; font-size:.9em; color:#7a1420; }

/* ---------- Navbar ---------- */
.lp-nav { position:sticky; top:0; z-index:20; background:rgba(255,255,255,.82);
  backdrop-filter:saturate(160%) blur(10px); border-bottom:1px solid var(--line); }
.lp-nav-inner { max-width:1120px; margin:0 auto; padding:14px 24px;
  display:flex; align-items:center; gap:20px; }
.lp-logo { display:inline-flex; align-items:center; gap:8px; color:var(--text);
  font-weight:800; font-size:19px; }
.lp-logo:hover { text-decoration:none; }
.lp-logo-mark { color:var(--accent); font-size:22px; }
.lp-logo-img { max-height:38px; max-width:170px; display:block; }
.lp-links { display:flex; gap:22px; margin-left:14px; }
.lp-links a { color:var(--muted); font-size:14px; font-weight:500; }
.lp-links a:hover { color:var(--accent); text-decoration:none; }
.lp-cta { margin-left:auto; display:flex; gap:10px; align-items:center; }

/* Hamburger button — hidden on desktop */
.lp-burger { display:none; flex-direction:column; justify-content:center; gap:5px;
  width:42px; height:38px; background:#fff; border:1px solid #dcdfe7; border-radius:10px;
  cursor:pointer; padding:0 10px; }
.lp-burger span { display:block; height:2px; background:var(--text); border-radius:2px; transition:.2s; }

/* Mobile drawer + overlay (hidden by default) */
.lp-drawer-overlay { position:fixed; inset:0; background:rgba(16,24,40,.45); opacity:0;
  visibility:hidden; transition:opacity .2s; z-index:999; }
.lp-drawer-overlay.open { opacity:1; visibility:visible; }
.lp-drawer { position:fixed; top:0; left:0; bottom:0; height:100vh; height:100dvh; width:270px; max-width:82vw;
  background:#ffffff; background-image:none; border-right:1px solid var(--line);
  box-shadow:0 0 40px rgba(16,24,40,.25);
  transform:translateX(-100%); transition:transform .22s ease; z-index:1000;
  display:flex; flex-direction:column; padding:0; overflow-y:auto; -webkit-overflow-scrolling:touch; }
.lp-drawer.open { transform:translateX(0); }
.lp-drawer-head { display:flex; align-items:center; justify-content:space-between;
  padding:18px 20px; border-bottom:1px solid var(--line); background:#ffffff; }
.lp-drawer-title { font-weight:800; color:var(--text); font-size:17px; }
.lp-drawer-close { background:none; border:none; font-size:28px; line-height:1; color:var(--muted);
  cursor:pointer; padding:0 4px; }
.lp-drawer-links { display:flex; flex-direction:column; padding:10px 8px; flex:1; background:#ffffff; }
.lp-drawer-links a { padding:13px 16px; color:var(--text); font-weight:500; border-radius:10px; background:transparent; }
.lp-drawer-links a:hover { background:var(--accent-soft); color:var(--accent); text-decoration:none; }
.lp-drawer-cta { padding:16px 18px; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:10px; background:#ffffff; }
.lp-drawer-cta .btn { width:100%; text-align:center; }
body.lp-no-scroll { overflow:hidden; }

/* Mobile: hide desktop links + the signup button in the top bar, show hamburger */
@media(max-width:820px){
  .lp-links { display:none; }
  .lp-cta-signup { display:none; }      /* "Get started free" hidden in top bar */
  .lp-burger { display:flex; }
}
/* Desktop: never show drawer/hamburger */
@media(min-width:821px){
  .lp-drawer, .lp-drawer-overlay, .lp-burger { display:none !important; }
}

/* ---------- Hero ---------- */
.lp-hero { max-width:1120px; margin:0 auto; padding:64px 24px 44px; }
.lp-hero-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:44px; align-items:center; }
@media(max-width:900px){ .lp-hero-grid{ grid-template-columns:1fr; gap:36px; } }
.lp-pill { display:inline-block; background:var(--accent-soft); border:1px solid #f3cdd0;
  color:var(--accent-dark); padding:6px 14px; border-radius:20px; font-size:12.5px; letter-spacing:.02em; font-weight:600; }
.lp-hero h1 { font-size:48px; margin:18px 0 14px; letter-spacing:-.5px; }
.lp-hero h1 .hl { color:var(--accent); }
@media(max-width:900px){ .lp-hero h1{ font-size:34px; } }
.lp-sub { color:var(--muted); font-size:17px; max-width:560px; }
.lp-hero-actions { display:flex; gap:12px; margin:26px 0 18px; flex-wrap:wrap; }
.lp-hero-actions .btn { padding:13px 24px; font-size:15px; }
.lp-hero-meta { display:flex; gap:18px; flex-wrap:wrap; color:var(--accent-dark); font-size:13.5px; font-weight:600; }

/* ---------- Hero OMR art ---------- */
.lp-hero-art { position:relative; }
.omr-sheet { position:relative; background:#ffffff; color:#1a1f2e; border-radius:16px;
  padding:22px; box-shadow:var(--shadow-lg); border:1px solid var(--line);
  transform:rotate(-3deg); overflow:hidden; }
.omr-sheet-head { display:flex; justify-content:space-between; gap:14px; margin-bottom:14px;
  border-bottom:2px solid var(--accent); padding-bottom:12px; }
.omr-title { font-weight:800; font-size:15px; letter-spacing:.06em; color:var(--accent); }
.omr-roll-label { font-size:9px; font-weight:700; letter-spacing:.08em; color:#8a5a5e; }
.omr-roll-grid { display:flex; gap:5px; margin-top:5px; }
.omr-roll-col { display:flex; flex-direction:column; gap:3px; }
.omr-dot { width:9px; height:9px; border-radius:50%; border:1.4px solid #c9b3b5; }
.omr-dot.filled { background:var(--accent); border-color:var(--accent); }
.omr-questions { display:grid; grid-template-columns:1fr 1fr; gap:9px 22px; }
.omr-q { display:flex; align-items:center; gap:8px; }
.omr-q-num { width:16px; font-size:12px; font-weight:700; color:#8a5a5e; text-align:right; }
.omr-bubble { width:19px; height:19px; border-radius:50%; border:1.6px solid #d6b9bb;
  display:inline-flex; align-items:center; justify-content:center; font-size:10px; color:#b58f92; font-weight:700; }
.omr-bubble.filled { background:var(--accent); border-color:var(--accent); color:#fff; }
.omr-scan-line { position:absolute; left:0; right:0; height:40px;
  background:linear-gradient(180deg, rgba(225,29,46,.28), transparent);
  border-top:2px solid var(--accent); animation:omrscan 3.2s ease-in-out infinite; }
@keyframes omrscan { 0%{ top:0; opacity:.9; } 50%{ top:calc(100% - 40px); opacity:.9; } 100%{ top:0; opacity:.9; } }
.omr-result-chip { position:absolute; right:-8px; bottom:-14px; background:#fff;
  border:1px solid var(--line); color:var(--text); padding:10px 15px; border-radius:12px;
  font-size:13px; font-weight:700; box-shadow:var(--shadow-md); }
.omr-result-dot { display:inline-block; width:8px; height:8px; border-radius:50%;
  background:var(--success); margin-right:6px; }
@media(max-width:900px){ .omr-sheet{ transform:none; } }

/* ---------- Trust strip ---------- */
.lp-strip { border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  background:#fff; }
.lp-strip-inner { max-width:1120px; margin:0 auto; padding:24px 24px;
  display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; text-align:center; }
.lp-strip-inner div { display:flex; flex-direction:column; }
.lp-strip-inner b { font-size:20px; color:var(--accent); }
.lp-strip-inner span { color:var(--muted); font-size:12.5px; }

/* ---------- Sections ---------- */
.lp-section { max-width:1120px; margin:0 auto; padding:66px 24px; }
.lp-section-alt { background:#fff; max-width:none; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.lp-section-alt > .lp-section-head, .lp-section-alt > .grid { max-width:1120px; margin-left:auto; margin-right:auto; }
.lp-section-head { text-align:center; margin-bottom:36px; }
.lp-section-head h2 { font-size:32px; margin:0 0 8px; }
.lp-section-head p { max-width:620px; margin:0 auto; font-size:15.5px; color:var(--muted); }

/* ---------- Feature cards ---------- */
.lp-feature { transition:transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.lp-feature:hover { transform:translateY(-4px); border-color:#f3cdd0; box-shadow:var(--shadow-md); }
.lp-ico { font-size:28px; margin-bottom:8px; display:inline-flex; width:52px; height:52px; align-items:center;
  justify-content:center; background:var(--accent-soft); border-radius:14px; }
.lp-feature h3 { margin:4px 0 8px; font-size:18px; }
.lp-feature p { color:var(--muted); }

/* ---------- Steps ---------- */
.lp-step { display:flex; gap:16px; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); padding:22px; box-shadow:var(--shadow-sm); }
.lp-step-n { flex:none; width:40px; height:40px; border-radius:50%; background:var(--accent);
  color:#fff; font-weight:800; display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 10px rgba(225,29,46,.3); }
.lp-step h3 { margin:2px 0 6px; font-size:17px; }
.lp-step p { color:var(--muted); }

/* ---------- Pricing ---------- */
.lp-price { display:flex; flex-direction:column; position:relative; box-shadow:var(--shadow-sm); }
.lp-price.featured { border-color:var(--accent); box-shadow:0 0 0 2px var(--accent) inset, var(--shadow-lg); transform:translateY(-4px); }
.lp-badge { position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:var(--accent); color:#fff; font-size:12px; font-weight:700;
  padding:4px 14px; border-radius:20px; box-shadow:0 4px 10px rgba(225,29,46,.3); }
.lp-price-amt { font-size:36px; font-weight:800; margin:6px 0; color:var(--text); }
.lp-price-amt span { font-size:15px; font-weight:600; color:var(--muted); }
.lp-list { list-style:none; padding:0; margin:14px 0 20px; }
.lp-list li { padding:8px 0 8px 26px; position:relative; color:var(--muted); font-size:14.5px;
  border-bottom:1px solid var(--line); }
.lp-list li:before { content:"✓"; position:absolute; left:0; top:8px; color:#fff; font-weight:700; font-size:10px;
  background:var(--accent); width:16px; height:16px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.lp-price .btn { margin-top:auto; text-align:center; }

/* ---------- Final CTA ---------- */
.lp-final { text-align:center; padding:76px 24px; background:
  radial-gradient(700px 300px at 50% 0%, var(--accent-soft), transparent 65%); }
.lp-final-inner { max-width:640px; margin:0 auto; }
.lp-final h2 { font-size:32px; margin:0 0 8px; }
.lp-final p { color:var(--muted); }
.lp-final .btn { margin-top:20px; padding:15px 30px; font-size:16px; }

/* ---------- Footer ---------- */
.lp-footer { border-top:1px solid var(--line); background:#fff; }
.lp-footer-inner { max-width:1120px; margin:0 auto; padding:44px 24px 20px;
  display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.lp-footer-inner p { margin:10px 0 0; font-size:14px; max-width:280px; color:var(--muted); }
.lp-footer-links { display:flex; gap:20px; flex-wrap:wrap; align-content:flex-start; }
.lp-footer-links a { color:var(--muted); font-size:14px; }
.lp-footer-links a:hover { color:var(--accent); text-decoration:none; }
.lp-footer-bottom { max-width:1120px; margin:0 auto; padding:16px 24px 30px;
  border-top:1px solid var(--line); font-size:13px; color:var(--muted); }
