/*
Theme Name: pro.perty.id
Theme URI: https://pro.perty.id/
Description: Branded child theme for pro.perty.id — the gear registry & community. Site-wide header/footer, homepage landing, neutral-gray palette with a red accent. The red "pro" marks pro membership.
Author: pro.perty.id
Author URI: https://pro.perty.id/
Template: twentytwentyfive
Version: 0.2.0
Requires at least: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: propertyid
*/

/* ---- Design tokens: neutral gray base, red accent ---- */
:root{
  --pid-ink:#17181a;
  --pid-muted:#6b7280;          /* neutral gray */
  --pid-line:#e4e4e7;
  --pid-accent:#dc2626;         /* red-600 */
  --pid-accent-ink:#b91c1c;     /* red-700 (hover) */
  --pid-accent-soft:#fee2e2;    /* red-100 tint */
  --pid-bg:#f4f4f5;             /* neutral zinc-100 */
  --pid-card:#ffffff;
  --pid-dark:#18181b;           /* neutral near-black */
  --pid-radius:16px;
  --pid-maxw:64rem;
}

/* The red "pro" — signifies pro membership (static for now; later gated on
   membership status via a body/user class). */
.pid-pro{color:var(--pid-accent);font-weight:800}

/* ---- Scoped reset for our branded markup ---- */
.pid-site *{box-sizing:border-box}
.pid-site{
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--pid-ink);
  line-height:1.6;
}
.pid-wrap{max-width:var(--pid-maxw);margin:0 auto;padding:0 1.25rem}

/* ---- Header ---- */
.pid-header{background:#fff;border-bottom:1px solid var(--pid-line)}
.pid-header .pid-wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:64px;flex-wrap:wrap}
.pid-logo{font-weight:800;letter-spacing:-.02em;font-size:1.15rem;color:var(--pid-ink);text-decoration:none;white-space:nowrap}
.pid-nav{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}
.pid-nav a{color:var(--pid-ink);text-decoration:none;font-size:.95rem;font-weight:500}
.pid-nav a:hover{color:var(--pid-accent)}

/* ---- Buttons ---- */
.pid-btn{display:inline-block;background:var(--pid-accent);color:#fff;text-decoration:none;font-weight:600;
  padding:.6rem 1.15rem;border-radius:10px;border:1px solid var(--pid-accent);cursor:pointer;font-size:1rem;line-height:1.2}
.pid-btn:hover{background:var(--pid-accent-ink);border-color:var(--pid-accent-ink);color:#fff}
.pid-btn--ghost{background:#fff;color:var(--pid-ink);border-color:var(--pid-line)}
.pid-btn--ghost:hover{background:#fff;border-color:var(--pid-accent);color:var(--pid-accent)}
.pid-btn--sm{padding:.45rem .8rem;font-size:.9rem}

/* ---- Hero (neutral gray) ---- */
.pid-hero{background:
   radial-gradient(1100px 400px at 50% -10%, #e9e9ec 0%, rgba(233,233,236,0) 70%),
   var(--pid-bg);
  padding:4.5rem 0 3.5rem;text-align:center}
.pid-eyebrow{display:inline-block;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;
  color:var(--pid-accent-ink);background:var(--pid-accent-soft);padding:.3rem .7rem;border-radius:999px;margin-bottom:1rem}
.pid-hero h1{font-size:clamp(2rem,5vw,3.25rem);line-height:1.1;letter-spacing:-.03em;margin:.25rem 0 1rem;font-weight:800}
.pid-hero p.lede{font-size:clamp(1.05rem,2.2vw,1.3rem);color:var(--pid-muted);max-width:40rem;margin:0 auto 1.75rem}
.pid-cta{display:flex;gap:.7rem;justify-content:center;flex-wrap:wrap;margin-bottom:2.25rem}

/* ---- Lookup box ---- */
.pid-lookup{max-width:30rem;margin:0 auto}
.pid-lookup label{display:block;font-size:.85rem;color:var(--pid-muted);margin-bottom:.4rem;font-weight:600}
.pid-lookup .pid-lookup-row{display:flex;gap:.5rem}
.pid-lookup input{flex:1;font:inherit;padding:.65rem .8rem;border:1px solid var(--pid-line);border-radius:10px;
  background:#fff;letter-spacing:.06em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.pid-lookup input:focus{outline:2px solid var(--pid-accent);outline-offset:1px;border-color:var(--pid-accent)}

/* ---- Sections ---- */
.pid-section{padding:3.5rem 0;background:var(--pid-bg)}
.pid-section--alt{background:#fff;border-top:1px solid var(--pid-line);border-bottom:1px solid var(--pid-line)}
.pid-section h2{font-size:clamp(1.5rem,3vw,2rem);letter-spacing:-.02em;text-align:center;margin:0 0 .5rem;font-weight:800}
.pid-section .pid-sub{text-align:center;color:var(--pid-muted);max-width:38rem;margin:0 auto 2.5rem;font-size:1.05rem}

/* ---- Steps ---- */
.pid-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
@media (max-width:760px){.pid-steps{grid-template-columns:1fr}}
.pid-step{background:var(--pid-card);border:1px solid var(--pid-line);border-radius:var(--pid-radius);padding:1.75rem}
.pid-step .pid-num{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:999px;
  background:var(--pid-accent-soft);color:var(--pid-accent);font-weight:800;margin-bottom:.9rem}
.pid-step h3{margin:.25rem 0 .5rem;font-size:1.15rem;font-weight:700}
.pid-step p{margin:0;color:var(--pid-muted)}

/* ---- Community teaser (neutral dark gray) ---- */
.pid-community{background:linear-gradient(135deg,#27272a,#18181b);color:#fff;border-radius:var(--pid-radius);
  padding:2.75rem 2rem;text-align:center}
.pid-community h2{color:#fff}
.pid-community p{color:#d4d4d8;max-width:40rem;margin:0 auto 1.5rem}
.pid-community .pid-btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}
.pid-community .pid-btn--ghost:hover{border-color:#fff;color:#fff}
.pid-boards{display:flex;gap:.6rem;justify-content:center;flex-wrap:wrap;margin-top:1.75rem}
.pid-boards span{font-size:.82rem;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.15);
  padding:.35rem .7rem;border-radius:999px;color:#e4e4e7}

/* ---- Footer ---- */
.pid-footer{background:#fff;border-top:1px solid var(--pid-line);padding:2rem 0}
.pid-footer .pid-wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.pid-footer .pid-muted{color:var(--pid-muted);font-size:.9rem}
.pid-footer nav{display:flex;gap:1.1rem;flex-wrap:wrap}
.pid-footer nav a{color:var(--pid-muted);text-decoration:none;font-size:.9rem}
.pid-footer nav a:hover{color:var(--pid-accent)}
