/* HAZOP Manager — home page */
.lp { background: var(--surface); color: var(--text); }
.lp-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--sp-6); }
.lp-top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--border); }
.lp-top__in { display: flex; align-items: center; gap: var(--sp-6); height: 64px; }
.lp-nav { display: flex; gap: var(--sp-5); margin-left: auto; }
.lp-nav a { color: var(--text-2); font-weight: 500; }
.lp-nav a:hover { color: var(--text); text-decoration: none; }
.lp-btn { height: 44px; padding: 0 20px; font-size: var(--fs-lg); }

.lp-hero { background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%); padding: 72px 0 56px; }
.lp-hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.lp-eyebrow { font-size: var(--fs-sm); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-bottom: var(--sp-3); }
.lp-hero h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
.lp-lead { font-size: 18px; line-height: 1.55; color: var(--text-2); margin-top: var(--sp-5); max-width: 46ch; }
.lp-cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-8); }
.lp-points { list-style: none; padding: 0; margin-top: var(--sp-6); display: grid; gap: var(--sp-2); color: var(--text-2); }
.lp-points li, .lp-feature__text li { position: relative; padding-left: 26px; }
.lp-points li::before, .lp-feature__text li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; background: var(--primary-soft-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4e8c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7 10 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }

.lp-shot { margin: 0; border: 1px solid var(--border-strong); border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: 0 24px 60px rgba(16, 24, 40, .16), 0 2px 6px rgba(16, 24, 40, .06); }
.lp-shot img { display: block; width: 100%; height: auto; }
.lp-top__cta { display: none; }
.lp-form .field__help, .lp-form .textarea::placeholder, .lp-form .input::placeholder { color: var(--text-2); }
.lp-form .checkbox { align-items: flex-start; }
.lp-form .checkbox input { flex-shrink: 0; margin-top: 2px; }

.lp-section { padding: 80px 0; }
.lp-section--alt { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; font-weight: 700; line-height: 1.2; }
.lp-sub { font-size: var(--fs-lg); color: var(--text-2); margin-top: var(--sp-3); max-width: 60ch; }
.lp-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; margin-top: 72px; }
.lp-feature--rev .lp-feature__text { order: 2; }
.lp-feature--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.lp-feature__text h3 { font-size: 22px; letter-spacing: -.01em; font-weight: 700; }
.lp-feature__text p { color: var(--text-2); font-size: var(--fs-lg); line-height: 1.6; margin-top: var(--sp-3); }
.lp-feature__text ul { list-style: none; padding: 0; margin-top: var(--sp-5); display: grid; gap: var(--sp-3); }
.lp-docs { margin: 0; position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: var(--sp-4); align-items: end; }
.lp-doc { display: block; width: 100%; height: auto; border: 1px solid var(--border-strong); border-radius: 6px; background: #fff; box-shadow: 0 16px 40px rgba(16, 24, 40, .14); }

.lp-steps { list-style: none; padding: 0; margin-top: var(--sp-10); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-6); counter-reset: none; }
.lp-steps li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: var(--sp-6) var(--sp-5); }
.lp-step__n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; margin-bottom: var(--sp-4); }
.lp-steps h3 { font-size: var(--fs-lg); }
.lp-steps p { color: var(--text-2); margin-top: var(--sp-2); }

.lp-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.lp-contact__text .muted { margin-top: var(--sp-5); }
.lp-form-card { box-shadow: var(--shadow-md); }
.lp-form-card .card__body { padding: var(--sp-6); }
.lp-form { display: flex; flex-direction: column; gap: var(--sp-4); }
.lp-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.lp-form .input { height: 42px; }
.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lp-done { text-align: center; padding: var(--sp-8) var(--sp-4); display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); }
.lp-done__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; margin-bottom: var(--sp-2); }
.lp-done__icon svg { width: 24px; height: 24px; }
.lp-done h3 { font-size: var(--fs-xl); }

.lp-foot { border-top: 1px solid var(--border); padding: var(--sp-6) 0; background: var(--bg); font-size: var(--fs-sm); }
.lp-foot__in { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; }
.lp-foot__in a { margin-left: auto; }
.lp :target { scroll-margin-top: 80px; }
.lp section[id] { scroll-margin-top: 64px; }

@media (max-width: 960px) {
  .lp-hero { padding: 48px 0 40px; }
  .lp-hero__in, .lp-feature, .lp-feature--rev, .lp-contact { grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); }
  .lp-feature--rev .lp-feature__text { order: 0; }
  .lp-feature { margin-top: 56px; }
  .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-section { padding: 56px 0; }
}
@media (max-width: 640px) {
  .lp-wrap { padding: 0 var(--sp-4); }
  .lp-nav { display: none; }
  .lp-top__in { justify-content: space-between; gap: var(--sp-2); }
  .lp-top__cta { display: inline-flex; margin-left: auto; height: 36px; padding: 0 12px; font-size: var(--fs-sm); }
  .lp-top__login { border-color: transparent; padding: 0 8px; }
  .lp-top .brand > span:not(.brand__mark) { display: none; }
  .lp-form .input, .lp-form .textarea { font-size: 16px; }
  .lp-form .input { height: 44px; }
  .lp-steps, .lp-form__row { grid-template-columns: minmax(0, 1fr); }
  .lp-cta .lp-btn { flex: 1 1 100%; }
  .lp-lead { font-size: var(--fs-lg); }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
