/* ListingPH public site (logged-out pages): home, pricing, about, support, auth.
   Tokens from the ListingPH design system: brand blue #0038a8, sun #fcd116,
   red #ce1126 (New / errors only), navy #082a6b, ink #0b1b33. */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #ffffff; font-family: 'DM Sans', -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; color: #0b1b33; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: #0038a8; }
a:hover { color: #002a80; }

.lp-page { width: 100%; min-height: 100vh; background: #ffffff; color: #0b1b33; display: flex; flex-direction: column; }

/* Nav */
.lp-header { background: #ffffff; border-bottom: 1px solid #dde3ec; height: 64px; display: flex; align-items: center; padding: 0 24px; }
.lp-nav { width: 100%; max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.lp-nav a { color: #4a5873; text-decoration: none; font-size: 15px; font-weight: 500; }
.lp-nav a:hover { color: #0b1b33; }
.lp-nav a.is-active { color: #0b1b33; font-weight: 600; }
.lp-nav a.lp-btn-primary { color: #ffffff; }

/* Wordmark */
.lp-nav a.wm, .wm { font-family: 'DM Sans', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; color: #0b1b33; text-decoration: none; display: inline-flex; align-items: baseline; }
.wm b { color: #0038a8; font-weight: 800; }
.wm i { display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: #fcd116; margin-left: 3px; }
.wm svg { margin-right: 6px; align-self: center; }

/* Buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 10px; font: 600 15px/1 'DM Sans', sans-serif; border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; }
.lp-btn-primary { background: #0038a8; color: #ffffff; }
.lp-btn-primary:hover { background: #002a80; color: #ffffff; }
.lp-btn-primary:disabled { background: #7f8ca3; cursor: not-allowed; }
.lp-btn-secondary { background: #ffffff; color: #0b1b33; border-color: #7f8ca3; }
.lp-btn-secondary:hover { background: #f2f5fa; color: #0b1b33; }
.lp-btn-inverse { background: #ffffff; color: #082a6b; }
.lp-btn-inverse:hover { background: #fcd116; color: #0b1b33; }
.lp-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lp-btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid #0038a8; outline-offset: 2px; }
.lp-btn-block { width: 100%; margin-top: 4px; }
.link-btn { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: #0038a8; text-decoration: underline; cursor: pointer; }

.badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px 0 7px; border-radius: 999px; font: 600 11px/1 'DM Sans', sans-serif; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: currentColor; }
.pro-pill { font-size: 11px; font-weight: 700; color: #0038a8; background: #e5edfb; padding: 2px 7px; border-radius: 999px; vertical-align: 2px; letter-spacing: 0.02em; text-transform: none; }

/* Type helpers */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #0038a8; }
.eyebrow-muted { color: #4a5873; }
.hand { font-family: 'Fuzzy Bubbles', 'Comic Sans MS', cursive; font-weight: 400; letter-spacing: 0; }
.hl { background: linear-gradient(transparent 62%, #fcd116 62%, #fcd116 92%, transparent 92%); }
.mono { font-family: 'IBM Plex Mono', Menlo, monospace; }
h1, h2, h3 { font-family: 'DM Sans', sans-serif; }
.h2 { margin: 0; font-weight: 700; font-size: 40px; line-height: 1.1; letter-spacing: -0.03em; }
.lead { margin: 0; font-size: 18px; color: #4a5873; }
.muted { color: #4a5873; }

/* Layout */
.feature-row { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.feature-row > * { flex: 1 1 440px; min-width: 0; }
.feature-row.rev { flex-direction: row-reverse; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero > * { flex: 1 1 440px; min-width: 0; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.card { background: #ffffff; border: 1px solid #dde3ec; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.icon-tile { width: 40px; height: 40px; border-radius: 10px; background: #e5edfb; display: flex; align-items: center; justify-content: center; flex: none; }
.num-dot { width: 32px; height: 32px; border-radius: 999px; background: #e5edfb; color: #0038a8; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* Sound familiar rows */
.pf-head, .pf-row { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); }
.pf-row { align-items: center; }
.pf-before { background: #e8edf5; border-radius: 18px 18px 18px 6px; padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.pf-after { background: #ffffff; border: 1px solid #dde3ec; border-radius: 16px; padding: 16px 20px; display: flex; gap: 12px; align-items: flex-start; }
.pf-arrow { display: flex; justify-content: center; }
.pf-title { font-size: 16px; font-weight: 600; color: #0b1b33; }
.pf-text { font-size: 14px; line-height: 1.5; color: #4a5873; }

/* Pricing compare table */
.pr-table { background: #ffffff; border: 1px solid #dde3ec; border-radius: 16px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); }
.pr-head { padding: 28px 16px 20px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.pr-head-label { padding: 28px 16px 20px; display: flex; align-items: flex-end; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #4a5873; }
.pr-head-pro { position: relative; background: #f5f8fe; border: 2px solid #0038a8; border-bottom: 0; border-radius: 14px 14px 0 0; margin-top: -1px; }
.pr-plan { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.pr-price { font-weight: 700; font-size: 40px; letter-spacing: -0.035em; }
.pr-sub { font-size: 13px; color: #4a5873; min-height: 20px; }
.pr-flag { position: absolute; top: -13px; background: #fcd116; color: #0b1b33; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.pr-row { display: contents; }
.pr-row > div { padding: 14px 16px; border-top: 1px solid #dde3ec; font-size: 15px; color: #0b1b33; text-align: center; display: flex; align-items: center; justify-content: center; overflow-wrap: anywhere; }
.pr-row > div:first-child { font-size: 14px; color: #4a5873; text-align: left; justify-content: flex-start; }
.pr-row > div:nth-child(3) { background: #f5f8fe; border-left: 2px solid #0038a8; border-right: 2px solid #0038a8; }
.pr-row:last-child > div:nth-child(3) { border-radius: 0 0 14px 14px; border-bottom: 2px solid #0038a8; }
.pr-no { color: #6b778c; }

/* FAQ */
.faq-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 56px; align-items: start; }
.faq details { background: #ffffff; border: 1px solid #dde3ec; border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-size: 16px; font-weight: 600; color: #0b1b33; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: #0038a8; font-weight: 700; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: #4a5873; }

/* Footer */
.lp-footer { background: #082a6b; border-top: 1px solid #1d3d7a; padding: 48px 24px 32px; }
.lp-footer a { color: #b9c6de; text-decoration: none; }
.lp-footer a:hover { color: #ffffff; }
.lp-footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.lp-footer-h { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #ffffff; }

/* Closing band */
.band { background: #082a6b; padding: 96px 24px; text-align: center; }
.band h2 { color: #ffffff; }
.band p { margin: 0; font-size: 18px; line-height: 1.5; color: #b9c6de; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #0b1b33; }
.field-hint { font-size: 13px; font-weight: 400; color: #4a5873; }
.input, .select, .textarea { height: 48px; border: 1px solid #7f8ca3; border-radius: 10px; padding: 0 14px; font: 400 16px/1 'DM Sans', sans-serif; color: #0b1b33; background: #ffffff; width: 100%; }
.textarea { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.select { appearance: auto; }
.input:focus, .select:focus, .textarea:focus, .input-group:focus-within { outline: 2px solid #0038a8; outline-offset: 1px; border-color: #0038a8; }
.input-group { display: flex; border: 1px solid #7f8ca3; border-radius: 10px; overflow: hidden; height: 48px; background: #ffffff; }
.input-group input { flex: 1; min-width: 0; border: 0; padding: 0 14px; font: 400 16px/1 'DM Sans', sans-serif; color: #0b1b33; outline: none; background: transparent; }
.input-addon { display: flex; align-items: center; padding: 0 12px; background: #f2f5fa; font-weight: 500; color: #4a5873; white-space: nowrap; }
.input-addon-l { border-right: 1px solid #dde3ec; }
.input-addon-r { border-left: 1px solid #dde3ec; }
.input-code { text-align: center; font: 500 24px/1 'IBM Plex Mono', monospace; letter-spacing: 0.3em; }
.alert { border-radius: 10px; padding: 12px 16px; font-size: 14px; line-height: 1.5; }
.alert-error { background: #fde7ea; color: #9b0d1d; }
.alert-error a { color: #9b0d1d; font-weight: 600; }
.alert-success { background: #e3f3ea; color: #1f5f3c; }
.alert-info { background: #f2f5fa; color: #4a5873; }
.strength { display: flex; gap: 3px; margin-top: 2px; }
.strength span { height: 3px; flex: 1; border-radius: 2px; background: #dde3ec; }

/* Split auth pages (sign up, log in, forgot password) */
.su-wrap { display: flex; flex-wrap: wrap; min-height: 100vh; }
.auth-left { flex: 1 1 480px; min-width: 0; background: #082a6b; color: #ffffff; padding: 40px 56px 48px; display: flex; flex-direction: column; gap: 40px; }
.auth-left .wm { color: #ffffff; }
.auth-left-body { display: flex; flex-direction: column; gap: 28px; max-width: 460px; margin: auto 0; }
.auth-left h1 { margin: 0; font-weight: 700; font-size: 44px; line-height: 1.08; letter-spacing: -0.035em; color: #ffffff; }
.auth-left h1 span { color: #fcd116; }
.auth-left p { margin: 0; font-size: 17px; line-height: 1.55; color: #b9c6de; }
.auth-left-foot { font-size: 14px; color: #b9c6de; }
.auth-left-foot a { color: #ffffff; font-weight: 600; }
.auth-card { background: #ffffff; border-radius: 14px; box-shadow: 0 24px 64px rgba(0,0,0,0.3); color: #0b1b33; }
.auth-main { flex: 1 1 480px; min-width: 0; background: #ffffff; padding: 40px 24px; display: flex; align-items: center; justify-content: center; }
.auth-form-wrap { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 24px; }
.auth-form-wrap h2 { margin: 0; font-weight: 700; font-size: 30px; letter-spacing: -0.03em; }
.auth-form-wrap form { display: flex; flex-direction: column; gap: 16px; }
.auth-sub { margin: 0; font-size: 15px; line-height: 1.5; color: #4a5873; }
.auth-foot { border-top: 1px solid #dde3ec; padding-top: 20px; font-size: 14px; color: #4a5873; text-align: center; }
.auth-mobile-logo { display: none !important; }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list div { display: flex; gap: 10px; font-size: 16px; line-height: 1.5; color: #ffffff; }
.check-list svg { flex: none; margin-top: 3px; }
.step-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #dde3ec; }
.step-row:first-child { border-top: 0; }
.step-dot { width: 28px; height: 28px; border-radius: 999px; background: #eceff4; color: #4a5873; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.step-row span:last-child { flex: 1; font-size: 14px; font-weight: 500; color: #4a5873; }
.step-row.is-done .step-dot { background: #e3f3ea; color: #1f7a4a; }
.step-row.is-active .step-dot { background: #0038a8; color: #ffffff; }
.step-row.is-active span:last-child { font-weight: 700; color: #0b1b33; }
.status-icon { width: 56px; height: 56px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }

/* Support */
.sup-grid { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.sup-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quick-card { display: flex; flex-direction: column; gap: 4px; background: #ffffff; border: 1px solid #dde3ec; border-radius: 14px; padding: 18px 20px; text-decoration: none; color: #0b1b33; }
.quick-card:hover { border-color: #7f8ca3; color: #0b1b33; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 760px) {
  .pf-row { grid-template-columns: minmax(0, 1fr) !important; gap: 8px !important; }
  .pf-arrow { transform: rotate(90deg); }
  .pf-head { display: none !important; }
  .pr-price { font-size: 28px !important; }
  .pr-table { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; column-gap: 0 !important; }
  .pr-table > .pr-head-label { display: none !important; }
  .pr-table > .pr-head { padding: 22px 12px 18px !important; }
  .pr-table > .pr-head-pro { border-bottom: 2px solid #0038a8 !important; border-radius: 14px !important; margin: -1px -1px 0 0 !important; }
  .pr-row > div { font-size: 14px !important; }
  .pr-row > div:first-child { grid-column: 1 / -1 !important; justify-content: center !important; text-align: center !important; padding: 14px 12px 2px !important; color: #0b1b33 !important; font-weight: 600 !important; }
  .pr-row > div:not(:first-child) { border-top: 0 !important; padding: 4px 12px 14px !important; }
  .pr-row > div:nth-child(3) { border-left: 0 !important; border-right: 0 !important; border-bottom: 0 !important; border-radius: 0 !important; }
  .lp-nav a.nl { display: none; }
  .lp-nav { gap: 16px !important; }
  .h1 { font-size: 42px !important; }
  h2, .h2 { font-size: 32px !important; }
  .hero-frame-note { top: -30px !important; right: 8px !important; font-size: 17px !important; }
  .cards-3, .cards-2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .feature-row { gap: 32px; }
  .hero { gap: 60px; }
  .sec { padding: 48px 16px !important; }
  .hero-sec { padding: 40px 16px 48px !important; }
  .hf-hide { display: none !important; }
  .note-grid, .faq-grid, .sup-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 32px !important; }
  .sup-two { grid-template-columns: minmax(0, 1fr) !important; }
  .band { padding: 64px 16px !important; }

  /* Auth: hide the navy panel on log in / forgot; move it below the form on sign up */
  .li-left { display: none !important; }
  .auth-mobile-logo { display: inline-flex !important; }
  .auth-main { align-items: flex-start !important; padding: 28px 20px 40px !important; order: 1; }
  .su-left { padding: 28px 20px 32px !important; gap: 24px !important; order: 2; }
  .su-left-logo { display: none !important; }
  .auth-left h1 { font-size: 34px !important; }
}
@media (max-width: 420px) {
  .lp-nav .lp-btn { padding: 0 12px !important; }
  .lp-header { padding: 0 16px; }
}
