/*
Theme Name: SP SiteBuild (Full Site)
Theme URI: https://mainaccount.site/sp-sitebuild/
Author: ChatGPT
Description: Full-site WordPress theme modeled on the SP SiteBuild sales page cadence (repeated CTAs, repeated 3-step plan, pricing recap, cost comparison, mobile-only sticky CTA). Includes PayPal A/B pricing + split-pay support and scalable color presets + controls.
Version: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sp-sitebuild
*/

/* Customizer palette overrides are injected via inline CSS in functions.php */
:root{
  --bg:#0b1020;
  --text:#f1f5f9;
  --muted:#a8b0c2;
  --line: rgba(255,255,255,.12);
  --card: rgba(255,255,255,.06);
  --card2: rgba(0,0,0,.22);
  --brand:#94a3b8;   /* neutral primary */
  --brand2:#22c55e;  /* success */
  --warn:#f59e0b;
  --shadow: 0 18px 70px rgba(0,0,0,.45);
  --radius: 18px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:
    radial-gradient(1200px 700px at 12% 10%, rgba(148,163,184,.12), transparent 60%),
    radial-gradient(1000px 700px at 88% 20%, rgba(34,197,94,.12), transparent 60%),
    linear-gradient(180deg, var(--bg), #070a16 70%);
  color: var(--text);
  line-height: 1.48;
}

a{color:inherit}
a:hover{opacity:.98}
img{max-width:100%; height:auto}
p{margin:0 0 1rem}
h1,h2,h3{margin:0 0 .75rem; letter-spacing:-.02em}
h1{font-size: clamp(2.1rem, 3.3vw, 3.2rem); line-height:1.05;}
h2{font-size: clamp(1.6rem, 2.3vw, 2.2rem); line-height:1.12;}
h3{font-size: 1.18rem; line-height:1.25;}

.sp-wrap{max-width:var(--max); margin:0 auto; padding:0 16px;}
.sp-section{padding: 34px 0; border-top: 1px solid var(--line);}
.sp-hero{padding: 14px 0 22px;}
.sp-grid{display:grid; grid-template-columns: 1.1fr .9fr; gap:18px; align-items:start;}
@media(max-width:980px){ .sp-grid{grid-template-columns:1fr;} }

.sp-topbar{
  position: sticky; top:0; z-index:60;
  background: rgba(6,10,22,.84);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.sp-topbar .row{display:flex; align-items:center; justify-content:space-between; gap:12px; padding: 12px 0;}
.sp-pill{
  display:inline-flex; align-items:center; gap:10px;
  padding: 7px 12px;
  border: 1px solid rgba(245,158,11,.35);
  background: rgba(245,158,11,.12);
  border-radius: 999px;
  color: #ffe9bd;
  font-weight: 900;
  font-size: 14px;
}
.sp-dot{width:9px; height:9px; border-radius:50%; background: var(--warn); box-shadow: 0 0 0 4px rgba(245,158,11,.16);}
.sp-count{font-variant-numeric: tabular-nums; font-weight:950; letter-spacing:.02em;}

.sp-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: var(--text);
  text-decoration:none;
  font-weight: 950;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  cursor:pointer;
  white-space:nowrap;
}
.sp-btn:hover{border-color: rgba(255,255,255,.24);}
.sp-btn-primary{
  background: linear-gradient(135deg, var(--brand), #334155);
  border-color: rgba(148,163,184,.55);
  color: #08101b;
}
.sp-btn-success{
  background: linear-gradient(135deg, var(--brand2), #16a34a);
  border-color: rgba(34,197,94,.55);
  color:#04110a;
}
.sp-btn-ghost{background: rgba(255,255,255,.04);}

.sp-kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.35);
  background: rgba(148,163,184,.12);
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 950;
}
.sp-lead{color:var(--muted); font-size: 17px; max-width: 80ch;}

.sp-bullets{display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin: 14px 0 14px;}
@media(max-width: 620px){ .sp-bullets{grid-template-columns:1fr;} }
.sp-bullet{border:1px solid var(--line); background: rgba(255,255,255,.04); border-radius: var(--radius); padding:14px;}
.sp-bullet b{display:block; margin-bottom:3px;}
.sp-bullet span{color:var(--muted); font-size: 14px;}

.sp-card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), var(--card2));
  box-shadow: var(--shadow);
  padding: 16px;
}
.sp-small{color:var(--muted); font-size: 13px;}

.sp-strip{
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(0,0,0,.18);
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
}
.sp-strip .text{color:var(--muted); max-width: 74ch;}
.sp-strip .actions{display:flex; gap:12px; flex-wrap:wrap; align-items:center;}

.sp-cols3{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px;}
@media(max-width:980px){ .sp-cols3{grid-template-columns:1fr;} }
.sp-box{border:1px solid var(--line); background: rgba(255,255,255,.04); border-radius: var(--radius); padding:16px;}
.sp-krow{display:flex; align-items:center; gap:10px; font-weight:950; margin-bottom:6px;}
.sp-ic{width:34px; height:34px; border-radius:10px; background: rgba(148,163,184,.16); border:1px solid rgba(148,163,184,.25); display:grid; place-items:center; font-weight:950; color:#e2e8f0;}

.sp-check{list-style:none; padding:0; margin: 12px 0 0; display:grid; gap:9px;}
.sp-check li{display:flex; gap:10px; align-items:flex-start;}
.sp-check li::before{content:"✓"; color: var(--brand2); font-weight:950; margin-top: 1px;}

.sp-steps{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px;}
@media(max-width:980px){ .sp-steps{grid-template-columns:1fr;} }
.sp-step{border:1px solid var(--line); background: rgba(255,255,255,.04); border-radius: var(--radius); padding:16px;}
.sp-num{
  width:38px; height:38px; border-radius:12px;
  display:grid; place-items:center;
  background: rgba(34,197,94,.14);
  border:1px solid rgba(34,197,94,.28);
  color:#c7f9d7;
  font-weight:950;
  margin-bottom: 10px;
}

.sp-price{
  border: 1px solid rgba(148,163,184,.28);
  background: rgba(148,163,184,.08);
  border-radius: var(--radius);
  padding: 16px;
}
.sp-tag{
  display:inline-flex; align-items:center; gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.35);
  background: rgba(148,163,184,.10);
  color:#e2e8f0;
  font-weight:950;
  font-size: 13px;
}
.sp-option{
  border:1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  padding: 12px;
  display:flex; gap:10px; align-items:flex-start;
}
.sp-option input{margin-top: 3px;}
.sp-option b{display:block;}
.sp-option span{display:block; color:var(--muted); font-size: 13px; margin-top: 2px;}
.sp-radio{display:flex; flex-direction:column; gap:10px; margin-top: 12px;}

.sp-faq details{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding: 14px 14px;
  margin: 10px 0;
}
.sp-faq summary{cursor:pointer; font-weight: 950;}
.sp-faq p{color:var(--muted); margin-top: 10px;}

footer{border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size:.92rem;}

.sp-mobile{
  display:none;
  position: fixed; left:0; right:0; bottom:0; z-index:80;
  padding: 12px 14px;
  background: rgba(6,10,22,.86);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.sp-mobile .bar{max-width: var(--max); margin:0 auto; display:flex; gap:12px; align-items:center; justify-content:space-between; padding: 0 16px;}
.sp-mobile .mini{display:flex; flex-direction:column; gap:3px; min-width:0;}
.sp-mobile .mini b{font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.sp-mobile .mini span{font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
@media(max-width:820px){ .sp-mobile{display:block;} body{padding-bottom: 78px;} }


/* v1.0.1: hero-side checkout box removed; hero is single-column */
