/* Kapatagan Solar - public landing page (signed-out "/"). Uses the colour tokens from style.css. */
body.lp { font-size: 16px; line-height: 1.6; }
.lp main { overflow-x: hidden; }
.lp-in { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.lp-narrow { max-width: 820px; }
.lp h1, .lp h2, .lp h3 { color: var(--text-primary); line-height: 1.15; margin: 0; }
.lp p { color: var(--text-secondary); margin: 0 0 12px; }
.lp .muted { color: var(--text-muted); }
.lp a { color: var(--text-primary); }

/* header */
.lp-nav { display: flex; gap: 4px; margin-left: 18px; }
.lp-nav a { text-decoration: none; color: var(--text-secondary); font-size: 14px; padding: 7px 12px; border-radius: 9px; }
.lp-nav a:hover { background: var(--surface-2); color: var(--text-primary); }

/* buttons */
.lp-btn { display: inline-block; text-decoration: none; font-weight: 650; font-size: 16px; padding: 13px 22px;
  border-radius: 12px; background: var(--series-pv); color: #fff !important; border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease; white-space: nowrap; }
.lp-btn:hover { background: #e8662f; transform: translateY(-1px); }
.lp-btn.ghost { background: transparent; color: var(--text-primary) !important; border-color: var(--line); }
.lp-btn.ghost:hover { background: var(--surface-2); }
.lp-btn.small { font-size: 14px; padding: 8px 14px; border-radius: 10px; }
.appbar .lp-btn.small + .lp-btn.small { margin-left: 4px; }
.lp-btn:focus-visible, .lp-q summary:focus-visible { outline: 2px solid var(--series-load); outline-offset: 3px; }

/* hero */
.lp-hero { position: relative; padding: 72px 0 0; text-align: center; }
.lp-hero::before { content: ""; position: absolute; inset: -120px 0 auto; height: 620px; pointer-events: none;
  background: radial-gradient(ellipse 55% 60% at 50% 30%, rgba(217,89,38,.22), transparent 70%),
              radial-gradient(ellipse 40% 45% at 75% 55%, rgba(57,135,229,.12), transparent 70%); }
.lp-hero .lp-in { position: relative; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .02em;
  padding: 6px 14px; border-radius: 99px; background: var(--surface-1); border: 1px solid var(--line); margin-bottom: 22px !important; }
.lp-live { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(12,163,12,.18); }
.lp-hero h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 750; letter-spacing: -.025em; margin-bottom: 18px; }
.lp-hero h1 .sun { color: var(--series-pv); }
.lp-lead { font-size: clamp(17px, 2.2vw, 20px); max-width: 640px; margin: 0 auto 28px !important; }
.lp-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lp-note { font-size: 14px; color: var(--text-muted) !important; margin-top: 16px !important; }
.lp-shot { position: relative; max-width: 1160px; margin: 52px auto 0; padding: 0 24px; }
.lp-shot img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.03), 0 -20px 80px -30px rgba(217,89,38,.35); }

/* sections */
.lp-sec { padding: 88px 0; }
.lp-sec.alt { background: var(--surface-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-sec h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.015em; margin-bottom: 12px; }
.lp-sub { font-size: 18px; margin-bottom: 40px !important; }
#features h2, #features .lp-sub, #how h2 { text-align: center; }

.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-feat { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.lp-feat h3 { font-size: 18px; margin: 14px 0 8px; }
.lp-feat p { font-size: 15px; margin: 0; }
.lp-dot { display: block; width: 34px; height: 4px; border-radius: 4px; background: var(--series-pv); }
.lp-feat:nth-child(even) .lp-dot { background: var(--series-load); }

.lp-steps { list-style: none; counter-reset: s; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-steps li { counter-increment: s; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.lp-steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(217,89,38,.15); color: #f2a36b; font-weight: 700; margin-bottom: 14px; }
.lp-steps b { display: block; font-size: 18px; color: var(--text-primary); margin-bottom: 6px; }
.lp-steps span { color: var(--text-secondary); font-size: 15px; }

.lp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.lp-two h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.lp-checks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.lp-checks li { position: relative; padding-left: 30px; color: var(--text-secondary); }
.lp-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--good); font-weight: 700; }
.lp b { color: var(--text-primary); }

.lp-soon { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center; }
.lp-tag { display: inline-block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  color: #9fc3f2 !important; background: rgba(57,135,229,.14); padding: 4px 10px; border-radius: 8px; }
.lp-free { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 6px; }
.lp-free b { font-size: 20px; }
.lp-free span { color: var(--text-secondary); }

/* FAQ */
.lp-faq { margin-top: 28px; border-top: 1px solid var(--line); }
.lp-q { border-bottom: 1px solid var(--line); }
.lp-q summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-size: 17px;
  font-weight: 600; color: var(--text-primary); }
.lp-q summary::-webkit-details-marker { display: none; }
.lp-q summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 24px; font-weight: 400; color: var(--text-muted); transition: transform .2s; }
.lp-q[open] summary::after { transform: rotate(45deg); color: var(--series-pv); }
.lp-q p { padding: 0 40px 20px 0; margin: 0; }
.lp-contact { margin-top: 40px; background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.lp-contact h3 { font-size: 19px; margin-bottom: 8px; }
.lp-warnline { font-size: 14px; color: #e8c27a !important; margin: 0 !important; }

.lp-final { padding: 96px 0; text-align: center;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(217,89,38,.18), transparent 70%); }
.lp-final h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.02em; margin-bottom: 26px; }

/* footer */
.lp-foot { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.lp-foot .lp-in { display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; align-items: start; }
.lp-foot p { font-size: 14px; margin: 8px 0 0; }
.lp-foot nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.lp-foot nav a { color: var(--text-secondary); text-decoration: none; }
.lp-foot nav a:hover { color: var(--text-primary); }
.lp-legal { grid-column: 1 / -1; color: var(--text-muted) !important; font-size: 13px !important; }
.lp-legal a { color: var(--text-muted) !important; }

@media (max-width: 960px) {
  .lp-grid, .lp-steps { grid-template-columns: 1fr 1fr; }
  .lp-two, .lp-soon { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .lp-nav, .hide-sm { display: none; }
  .lp-hero { padding-top: 48px; }
  .lp-grid, .lp-steps { grid-template-columns: 1fr; }
  .lp-sec { padding: 64px 0; }
  .lp-in, .lp-shot { padding: 0 18px; }
  .lp-shot { margin-top: 36px; }
  .lp-cta .lp-btn { flex: 1 1 100%; text-align: center; }
  .lp-foot .lp-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .lp-btn, .lp-q summary::after { transition: none; } }
