/*
 * Perpeto Landing Page Styles
 * Enqueued via functions.php — only loads on pages using "Landing" template
 * All selectors scoped to .perpeto-landing wrapper
 */

/* ============================================================
   Perpeto landing — scoped to .perpeto-landing. Inter only.
   Tokens per perpeto-web-design.md. Breakpoints: 1199 (tablet+) / 767 (mobile).
   ============================================================ */
.perpeto-landing {
  --primary:#6B67FB; --secondary:#F5F5FF; --text:#0E0B6B;
  --grey-text:#959595; --gradient-2:#DBE4F7; --paper:#FFFFFF;
  --hairline:rgba(14,11,107,.12);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  color:var(--text); line-height:1.6; -webkit-font-smoothing:antialiased; font-size:18px;
}
.perpeto-landing * { box-sizing:border-box; }
.perpeto-landing .wrap { max-width:1180px; margin:0 auto; padding:0 48px; }
.perpeto-landing section { padding:96px 0; }

/* type */
.perpeto-landing h1,.perpeto-landing h2,.perpeto-landing h3,.perpeto-landing h4,.perpeto-landing h6 { margin:0; color:var(--text); }
.perpeto-landing h1 { font-size:58px; font-weight:700; line-height:1.1; letter-spacing:-0.025em; }
.perpeto-landing h2 { font-size:40px; font-weight:700; line-height:1.15; letter-spacing:-0.02em; max-width:22ch; }
.perpeto-landing h3 { font-size:28px; font-weight:600; line-height:1.25; }
.perpeto-landing h4 { font-size:22px; font-weight:600; line-height:1.3; }
.perpeto-landing h6 { font-size:13px; font-weight:600; line-height:1.4; text-transform:uppercase; letter-spacing:0.15em; color:var(--grey-text); margin-bottom:18px; }
.perpeto-landing p { margin:0 0 18px; }
.perpeto-landing p:last-child { margin-bottom:0; }
.perpeto-landing .lede { font-size:20px; max-width:54ch; }
.perpeto-landing .accent { color:var(--primary); }

/* buttons */
.perpeto-landing .btn { display:inline-block; font-family:inherit; font-size:17px; font-weight:600; text-decoration:none; cursor:pointer; padding:16px 32px; border-radius:10px; transition:background-color .15s ease; }
.perpeto-landing .btn-primary { background:var(--primary); color:#fff; border:1px solid var(--primary); }
.perpeto-landing .btn-primary:hover { background:#5450e0; }
.perpeto-landing .btn-ghost { background:transparent; color:var(--primary); border:1px solid var(--primary); }
.perpeto-landing .btn-ghost:hover { background:rgba(107,103,251,.08); }
.perpeto-landing .micro { margin-top:18px; font-size:14px; color:var(--grey-text); }
.perpeto-landing .micro strong { color:var(--text); font-weight:600; }

/* header */
.perpeto-landing .lp-header { background:var(--gradient-2); padding:18px 0; }
.perpeto-landing .lp-header .wrap { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.perpeto-landing .lp-header .logo { display:block; line-height:0; }
.perpeto-landing .lp-header .logo img { height:46px; width:auto; display:block; }

/* two-column split (copy left / visual right) */
.perpeto-landing .split { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }

/* image wrappers */
.perpeto-landing .shot img { width:100%; height:auto; display:block; }
.perpeto-landing .shot-hero img { filter:drop-shadow(0 18px 40px rgba(14,11,107,.14)); }
.perpeto-landing .shot-card { background:var(--paper); border:1px solid var(--hairline); border-radius:12px; padding:20px; box-shadow:0 8px 24px rgba(0,0,0,.08); }
.perpeto-landing .shot-card img { border-radius:6px; }

/* hero */
.perpeto-landing .hero { background:var(--gradient-2); padding-top:64px; padding-bottom:88px; }
.perpeto-landing .hero h1 { max-width:16ch; margin-bottom:24px; }
.perpeto-landing .hero .lede { margin-bottom:32px; }

/* bg helpers */
.perpeto-landing .bg-white { background:var(--paper); }
.perpeto-landing .bg-soft { background:var(--secondary); }

/* THE SYSTEM — numbered process with nested detail */
.perpeto-landing .sec-lede { font-size:20px; max-width:56ch; margin:18px 0 0; }
.perpeto-landing .sys { margin-top:56px; }
.perpeto-landing .sys-step { display:grid; grid-template-columns:72px 1fr; gap:32px; padding:40px 0; border-top:1px solid var(--hairline); }
.perpeto-landing .sys-step:last-child { border-bottom:1px solid var(--hairline); }
.perpeto-landing .sys-num { font-size:34px; font-weight:700; color:var(--primary); line-height:1; font-variant-numeric:tabular-nums; font-feature-settings:"tnum"; }
.perpeto-landing .sys-body h3 { margin:0 0 10px; font-size:26px; font-weight:600; line-height:1.25; }
.perpeto-landing .sys-body .desc { margin:0; font-size:17px; max-width:60ch; }
.perpeto-landing .sys-strats { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:24px; max-width:760px; }
.perpeto-landing .sys-strat { border:1px solid var(--hairline); border-radius:10px; padding:18px 20px; background:var(--paper); }
.perpeto-landing .sys-strat h4 { margin:0 0 4px; font-size:16px; font-weight:600; }
.perpeto-landing .sys-strat p { margin:0; font-size:14px; color:var(--grey-text); line-height:1.45; }
.perpeto-landing .sys-rules { margin:24px 0 0; padding:0; list-style:none; display:grid; grid-template-columns:repeat(2,1fr); gap:14px 36px; max-width:760px; }
.perpeto-landing .sys-rules li { font-size:16px; padding-left:26px; position:relative; line-height:1.45; }
.perpeto-landing .sys-rules li::before { content:""; position:absolute; left:0; top:9px; width:8px; height:8px; border-radius:2px; background:var(--primary); }

/* THE PROOF — three asset comparison cards */
.perpeto-landing .proof-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:48px; }
.perpeto-landing .pcard { background:var(--paper); border:1px solid var(--hairline); border-radius:12px; padding:28px; box-shadow:0 8px 24px rgba(0,0,0,.06); display:flex; flex-direction:column; }
.perpeto-landing .pc-k { font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:0.12em; color:var(--grey-text); margin-bottom:8px; }
.perpeto-landing .pcard h3 { margin:0 0 22px; font-size:22px; font-weight:700; letter-spacing:-0.01em; }
.perpeto-landing .pc-table { display:grid; grid-template-columns:1fr auto auto; column-gap:20px; align-items:baseline; }
.perpeto-landing .pc-th { font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:0.08em; padding-bottom:10px; border-bottom:1px solid var(--hairline); }
.perpeto-landing .pc-th.r { text-align:right; }
.perpeto-landing .pc-th.hold { color:var(--grey-text); }
.perpeto-landing .pc-th.perp { color:var(--primary); }
.perpeto-landing .pc-rl { font-size:14px; color:var(--grey-text); padding:14px 0 0; }
.perpeto-landing .pc-rv { font-size:18px; font-weight:700; text-align:right; padding:14px 0 0; font-variant-numeric:tabular-nums; font-feature-settings:"tnum"; }
.perpeto-landing .pc-rv.dd { font-size:14px; font-weight:600; color:var(--grey-text); }
.perpeto-landing .pc-take { margin-top:20px; padding-top:18px; border-top:1px solid var(--hairline); font-size:14px; font-style:italic; color:var(--text); }
.perpeto-landing .proof-foot { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:28px; flex-wrap:wrap; }
.perpeto-landing .proof-caveat { font-size:13px; color:var(--grey-text); max-width:62ch; margin:0; }
.perpeto-landing .proof-link { color:var(--primary); font-weight:600; text-decoration:none; border-bottom:1px solid var(--primary); padding-bottom:2px; white-space:nowrap; }
.perpeto-landing .proof-link:hover { color:var(--text); border-color:var(--text); }

/* CAPITAL UNDER CONTROL */
.perpeto-landing .control h2 { max-width:24ch; }
.perpeto-landing .perm { display:flex; gap:16px; margin:32px 0 8px; flex-wrap:wrap; }
.perpeto-landing .perm .pill { font-size:14px; font-weight:600; padding:10px 18px; border-radius:999px; border:1px solid var(--hairline); background:var(--paper); }
.perpeto-landing .perm .yes { color:var(--text); }
.perpeto-landing .perm .no { color:var(--grey-text); text-decoration:line-through; text-decoration-color:var(--primary); text-decoration-thickness:2px; }
.perpeto-landing .control-points { margin:36px 0 0; padding:0; list-style:none; max-width:900px; }
.perpeto-landing .control-points li { padding:22px 0; border-top:1px solid var(--hairline); font-size:17px; }
.perpeto-landing .control-points li:last-child { border-bottom:1px solid var(--hairline); }
.perpeto-landing .control-points strong { font-weight:600; }

/* PRICING */
.perpeto-landing .pricing h2 { max-width:none; }
.perpeto-landing .pricepoints { margin:32px 0 0; padding:0; list-style:none; }
.perpeto-landing .pricepoints li { font-size:18px; padding:16px 0; border-top:1px solid var(--hairline); }
.perpeto-landing .pricepoints li:last-child { border-bottom:1px solid var(--hairline); }
.perpeto-landing .pricepoints strong { font-weight:600; }

/* FAQ */
.perpeto-landing .faq-list { max-width:900px; margin-top:36px; }
.perpeto-landing .faq-item { border-top:1px solid var(--hairline); padding:28px 0; }
.perpeto-landing .faq-item:last-child { border-bottom:1px solid var(--hairline); }
.perpeto-landing .faq-item h4 { margin-bottom:10px; }
.perpeto-landing .faq-item p { font-size:16px; margin:0; color:var(--text); }

/* FINAL CTA */
.perpeto-landing .final { background:var(--primary); color:#fff; text-align:center; }
.perpeto-landing .final .wrap { max-width:760px; }
.perpeto-landing .final h2 { color:#fff; max-width:none; margin:0 auto 20px; }
.perpeto-landing .final p { color:rgba(255,255,255,.85); font-size:19px; margin-bottom:36px; }
.perpeto-landing .final .btn-primary { background:#fff; color:var(--primary); border-color:#fff; }
.perpeto-landing .final .btn-primary:hover { background:var(--secondary); }
.perpeto-landing .final .micro { color:rgba(255,255,255,.7); }
.perpeto-landing .final .micro strong { color:#fff; }

/* FOOTER */
.perpeto-landing .lp-footer { background:var(--text); color:rgba(255,255,255,.6); padding:32px 0; font-size:14px; }
.perpeto-landing .lp-footer .wrap { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.perpeto-landing .lp-footer a { color:rgba(255,255,255,.8); text-decoration:none; }
.perpeto-landing .lp-footer a:hover { color:#fff; text-decoration:underline; }
.perpeto-landing .lp-footer .links { display:flex; gap:24px; }

/* ============ TABLET (768–1199): images stay 2-col = 50% width ============ */
@media (max-width:1199px) {
  .perpeto-landing .wrap { padding:0 32px; }
  .perpeto-landing h1 { font-size:44px; }
  .perpeto-landing h2 { font-size:32px; }
  .perpeto-landing h3 { font-size:24px; }
  .perpeto-landing .split { gap:32px; }            /* keep 2 columns -> image = 50% */
  .perpeto-landing .sys-body h3 { font-size:22px; }
  .perpeto-landing .proof-cards { gap:16px; }
  .perpeto-landing .pcard { padding:20px; }
  .perpeto-landing .pc-table { column-gap:14px; }
}

/* ============ MOBILE (<=767): stack, fix header, images full width ============ */
@media (max-width:767px) {
  .perpeto-landing { font-size:16px; }
  .perpeto-landing .wrap { padding:0 24px; }
  .perpeto-landing section { padding:64px 0; }
  .perpeto-landing h1 { font-size:36px; }
  .perpeto-landing h2 { font-size:28px; }
  .perpeto-landing .lede { font-size:18px; }

  /* header: shrink logo + compact non-wrapping button so they never collide */
  .perpeto-landing .lp-header { padding:14px 0; }
  .perpeto-landing .lp-header .logo img { height:30px; }
  .perpeto-landing .lp-header .btn { padding:10px 16px; font-size:14px; }
  .perpeto-landing .lp-header .btn-ghost { white-space:nowrap; }

  /* stack everything; images return to full width (as-is) */
  .perpeto-landing .split { grid-template-columns:1fr; gap:36px; }
  .perpeto-landing .proof-cards { grid-template-columns:1fr; }
  .perpeto-landing .sys-strats, .perpeto-landing .sys-rules { grid-template-columns:1fr; }
  .perpeto-landing .sys-step { grid-template-columns:48px 1fr; gap:20px; padding:32px 0; }
  .perpeto-landing .sys-num { font-size:28px; }
}
@media (prefers-reduced-motion:reduce) { .perpeto-landing * { transition:none !important; } }
