/* Public landing page + sign-in page (guest pages only). */
.guest-page *, .guest-page *::before, .guest-page *::after { box-sizing: border-box; }
.guest-page h1, .guest-page h2, .guest-page h3, .guest-page p { margin-top: 0; }
:root {
  --lp-green: #14904f; --lp-green-dark: #0d6b3a; --lp-green-soft: #e8f6ee;
  --lp-ink: #16201b; --lp-muted: #5f6d66; --lp-border: #e3e8e5; --lp-bg: #f6f8f7; --lp-card: #fff;
  --lp-navy: #16324f;
}
body.guest-page { margin: 0; background: var(--lp-bg); color: var(--lp-ink); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
.guest-page a { text-decoration: none; }

/* ---------- top bar ---------- */
.lp-nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--lp-border); }
.lp-nav-in { max-width: 1160px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 16px; }
.lp-nav img { height: 38px; }
.lp-nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 600; }
.lp-nav-links a { color: var(--lp-muted); }
.lp-nav-links a:hover { color: var(--lp-green-dark); }
.lp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 11px; font-weight: 700; font-size: 14.5px; border: 1px solid transparent; transition: background .15s, transform .15s; }
.lp-btn-primary { background: var(--lp-green); color: #fff; }
.lp-btn-primary:hover { background: var(--lp-green-dark); color: #fff; transform: translateY(-1px); }
.lp-btn-ghost { background: #fff; color: var(--lp-ink); border-color: var(--lp-border); }
.lp-btn-ghost:hover { border-color: var(--lp-green); color: var(--lp-green-dark); }

/* ---------- hero ---------- */
.lp-hero { position: relative; overflow: hidden; background:
  radial-gradient(700px 360px at 90% 10%, rgba(20,144,79,.14), transparent 70%),
  radial-gradient(600px 300px at 0% 100%, rgba(22,50,79,.08), transparent 70%), #fff; border-bottom: 1px solid var(--lp-border); }
.lp-hero-in { max-width: 1160px; margin: 0 auto; padding: 64px 20px 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-green-dark); background: var(--lp-green-soft); padding: 6px 12px; border-radius: 999px; }
.lp-hero h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -.025em; font-weight: 800; margin: 18px 0 14px; color: var(--lp-ink); }
.lp-hero h1 span { color: var(--lp-green); }
.lp-hero p.lead { font-size: 17px; line-height: 1.6; color: var(--lp-muted); max-width: 56ch; margin: 0 0 26px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-note { margin-top: 16px; font-size: 13.5px; color: var(--lp-muted); display: flex; gap: 8px; align-items: center; }

/* hero mock: a compact inspection card */
.lp-mock { background: #fff; border: 1px solid var(--lp-border); border-radius: 18px; box-shadow: 0 24px 60px rgba(16,40,28,.12); padding: 18px; }
.lp-mock-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.lp-mock-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--lp-green-soft); color: var(--lp-green-dark); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.lp-mock-title { font-weight: 700; font-size: 15px; }
.lp-mock-sub { font-size: 12.5px; color: var(--lp-muted); }
.lp-pill { margin-left: auto; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #fdf3dc; color: #9a6505; }
.lp-mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.lp-mock-stat { border: 1px solid var(--lp-border); border-radius: 12px; padding: 9px 10px; }
.lp-mock-stat b { display: block; font-size: 19px; }
.lp-mock-stat span { font-size: 11.5px; color: var(--lp-muted); }
.lp-mock-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--lp-border); font-size: 13.5px; }
.lp-mock-row i { font-size: 15px; }
.lp-ok { color: var(--lp-green); } .lp-bad { color: #c0261d; }
.lp-mock-row .lp-tag { margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #fdecec; color: #c0261d; }
.lp-mock-row .lp-tag.ok { background: var(--lp-green-soft); color: var(--lp-green-dark); }

/* ---------- sections ---------- */
.lp-section { max-width: 1160px; margin: 0 auto; padding: 64px 20px; }
.lp-section-head { max-width: 640px; margin-bottom: 30px; }
.lp-section-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; margin: 10px 0 8px; }
.lp-section-head p { color: var(--lp-muted); font-size: 16px; line-height: 1.6; margin: 0; }
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lp-card { background: var(--lp-card); border: 1px solid var(--lp-border); border-radius: 16px; padding: 20px; transition: border-color .15s, transform .15s; }
.lp-card:hover { border-color: #b9dcc8; transform: translateY(-2px); }
.lp-card-icon { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 19px; background: var(--lp-green-soft); color: var(--lp-green-dark); margin-bottom: 12px; }
.lp-card h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 6px; }
.lp-card p { font-size: 14px; line-height: 1.55; color: var(--lp-muted); margin: 0; }

.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.lp-step { background: #fff; border: 1px solid var(--lp-border); border-radius: 16px; padding: 20px; }
.lp-step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--lp-green); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; font-size: 14px; }
.lp-step h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.lp-step p { font-size: 14px; color: var(--lp-muted); line-height: 1.55; margin: 0; }

.lp-band { background: var(--lp-navy); color: #fff; }
.lp-band .lp-section { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; justify-content: space-between; padding-top: 44px; padding-bottom: 44px; }
.lp-band h2 { font-size: 26px; font-weight: 800; margin: 0 0 6px; letter-spacing: -.015em; }
.lp-band p { margin: 0; color: rgba(255,255,255,.8); font-size: 15.5px; }
.lp-band .lp-btn-primary { background: #fff; color: var(--lp-navy); }
.lp-band .lp-btn-primary:hover { background: var(--lp-green-soft); color: var(--lp-navy); }

.lp-footer { border-top: 1px solid var(--lp-border); background: #fff; }
.lp-footer-in { max-width: 1160px; margin: 0 auto; padding: 26px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between; font-size: 13.5px; color: var(--lp-muted); }
.lp-footer img.cert { height: 46px; }

@media (max-width: 900px) {
  .lp-hero-in { grid-template-columns: 1fr; padding: 40px 16px 36px; gap: 30px; }
  .lp-grid, .lp-steps { grid-template-columns: 1fr 1fr; }
  .lp-nav-links { display: none; }
  .lp-nav-in { justify-content: space-between; }
  .lp-section { padding: 44px 16px; }
}
@media (max-width: 560px) {
  .lp-grid, .lp-steps { grid-template-columns: 1fr; }
  .lp-cta .lp-btn { flex: 1 1 100%; justify-content: center; }
  .lp-nav img { height: 32px; }
  .lp-nav .lp-btn { padding: 8px 14px; }
}

/* ---------- sign-in page ---------- */
.auth-split { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside { position: relative; overflow: hidden; background:
  radial-gradient(520px 320px at 100% 0%, rgba(255,255,255,.12), transparent 70%),
  linear-gradient(160deg, #0f7a44 0%, #0d5e36 55%, #16324f 100%); color: #fff; padding: 48px; display: flex; flex-direction: column; }
.auth-aside .brand-chip { display: inline-flex; background: #fff; border-radius: 14px; padding: 8px 12px; align-self: flex-start; }
.auth-aside .brand-chip img { height: 40px; }
.auth-aside h2 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: auto 0 12px; }
.auth-aside p { color: rgba(255,255,255,.82); font-size: 15.5px; line-height: 1.6; max-width: 44ch; margin: 0 0 22px; }
.auth-points { list-style: none; padding: 0; margin: 0 0 auto; display: grid; gap: 10px; }
.auth-points li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.auth-points i { width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; }
.auth-aside .aside-foot { margin-top: 32px; font-size: 13px; color: rgba(255,255,255,.7); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 32px 20px; background: #fff; }
.auth-box { width: 100%; max-width: 380px; }
.auth-box .mobile-logo { display: none; height: 40px; margin-bottom: 18px; }
.auth-box h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 4px; }
.auth-box .sub { color: var(--lp-muted); font-size: 14.5px; margin: 0 0 22px; }
.auth-box label { font-size: 13px; font-weight: 600; color: var(--lp-ink); margin-bottom: 6px; display: block; text-transform: none; letter-spacing: 0; }
.auth-field { position: relative; margin-bottom: 14px; }
.auth-field > i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #8a968f; }
.auth-field input { width: 100%; height: 46px; border: 1px solid var(--lp-border); border-radius: 11px; padding: 0 44px 0 40px; font-size: 15.5px; background: #fbfcfb; transition: border-color .15s, box-shadow .15s; }
.auth-field input:focus { outline: 0; border-color: var(--lp-green); box-shadow: 0 0 0 3px rgba(20,144,79,.15); background: #fff; }
.auth-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: #8a968f; width: 36px; height: 36px; border-radius: 8px; }
.auth-eye:hover { color: var(--lp-ink); background: var(--lp-bg); }
.auth-submit { width: 100%; height: 46px; border: 0; border-radius: 11px; background: var(--lp-green); color: #fff; font-weight: 700; font-size: 15.5px; margin-top: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.auth-submit:hover { background: var(--lp-green-dark); }
.auth-help { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--lp-bg); font-size: 13.5px; color: var(--lp-muted); display: flex; gap: 10px; }
.auth-help i { color: var(--lp-green-dark); font-size: 16px; }
.auth-alert { border-radius: 11px; padding: 10px 12px; font-size: 14px; margin-bottom: 14px; display: flex; gap: 8px; }
.auth-alert.err { background: #fdecec; color: #9b1c15; }
.auth-alert.info { background: var(--lp-green-soft); color: var(--lp-green-dark); }
.auth-back { display: inline-flex; gap: 6px; align-items: center; font-size: 13.5px; color: var(--lp-muted); margin-top: 18px; }
.auth-back:hover { color: var(--lp-green-dark); }
@media (max-width: 900px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-box .mobile-logo { display: block; }
  .auth-main { align-items: flex-start; padding-top: 48px; }
}

/* Default 90% zoom on laptops and desktops (see style.css for the reason). */
@media (min-width: 992px) {
  html { zoom: .9; }
  .auth-split { min-height: calc(100vh / .9); }
}
