/*
Theme Name: Get Paid Pronto
Theme URI: https://getpaidpronto.com
Author: Get Paid Pronto
Description: Custom block theme for Get Paid Pronto. Design tokens come from the approved design fix list (section F); every colour, size, radius and shadow is locked in theme.json so editors can change copy without changing the design system.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: get-paid-pronto
Tags: block-theme, full-site-editing, business
*/


/* ============================================================
   DESIGN TOKENS — one navy, one red, one green, 4 greys, 1 border.
   Replaces: 5 blues + 2 reds + 2 button radii + 9 font sizes.
   ============================================================ */
:root{
  /* Brand */
  --navy:#0B1F3A;          /* headings, dark sections  (NOT #000) */
  --navy-soft:#1B3358;
  --red:#C8102E;           /* THE single accent */
  --red-hover:#A50D26;
  --red-tint:#FDF2F4;
  --green:#0F7B4F;         /* functional only: the cash-price side */
  --green-tint:#EEF8F3;

  /* Neutrals */
  --ink:#0B1F3A;
  --body:#54657C;          /* 5.54:1 on white */
  --muted:#5C6E82;         /* 5.24:1 on white — was #7A8A9E at 3.5:1, which failed WCAG */
  --surface:#FFFFFF;
  --surface-2:#F5F7FA;
  --surface-3:#EDF1F6;
  --border:#E2E8EF;
  --border-strong:#CBD5E1;

  /* Type */
  --display:'Instrument Sans','Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --text:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;

  /* Radii — one per role, no more 50px vs 700px */
  --r-pill:999px;
  --r-btn:10px;
  --r-card:14px;
  --r-input:8px;
  --r-chip:6px;

  /* Elevation — subtle, navy-tinted (Stripe's trick) */
  --sh-1:0 1px 2px rgba(11,31,58,.06);
  --sh-2:0 1px 3px rgba(11,31,58,.07), 0 8px 20px -8px rgba(11,31,58,.10);
  --sh-3:0 24px 48px -24px rgba(11,31,58,.22), 0 2px 6px rgba(11,31,58,.06);

  /* Spacing */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px; --s7:48px; --s8:64px; --s9:96px;
  --container:1160px;
  --focus:0 0 0 3px rgba(200,16,46,.28);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--surface); color:var(--body);
  font-family:var(--text); font-size:1.0625rem; line-height:1.6;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
h1,h2,h3,h4{font-family:var(--display); color:var(--ink); margin:0; font-weight:700; letter-spacing:-.02em; text-wrap:balance}
h1{font-size:clamp(2.5rem,5.6vw,4.125rem); line-height:1.03; letter-spacing:-.032em}
h2{font-size:clamp(1.75rem,3.3vw,2.625rem); line-height:1.1; letter-spacing:-.026em}
h3{font-size:1.1875rem; line-height:1.3; letter-spacing:-.012em}
p{margin:0}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
:focus-visible{outline:none; box-shadow:var(--focus); border-radius:6px}

.container{max-width:var(--container); margin:0 auto; padding:0 var(--s5)}
@media(min-width:768px){.container{padding:0 var(--s6)}}

/* Type helpers */
.eyebrow{
  font-family:var(--text); font-size:.8125rem; font-weight:600; letter-spacing:.09em;
  text-transform:uppercase; color:var(--red); margin-bottom:var(--s4);
}
.lede{font-size:1.1875rem; line-height:1.55; color:var(--body)}
.small{font-size:.875rem; line-height:1.55; color:var(--muted)}
.tnum{font-variant-numeric:tabular-nums}
section{padding:var(--s8) 0}
@media(min-width:900px){section{padding:var(--s9) 0}}
.rule{height:1px; background:var(--border); border:0; margin:0}

/* ---------- Buttons: ONE radius, ONE accent, real focus ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  min-height:48px; padding:0 var(--s5);
  font-family:var(--text); font-size:1rem; font-weight:600; letter-spacing:-.005em;
  border-radius:var(--r-btn); border:1px solid transparent; cursor:pointer;
  transition:background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.btn-primary{background:var(--red); color:#fff}
.btn-primary:hover{background:var(--red-hover)}
.btn-primary:active{transform:translateY(1px)}
.btn-ghost{background:transparent; color:var(--ink); border-color:var(--border-strong)}
.btn-ghost:hover{background:var(--surface-2); border-color:var(--muted)}
.btn-sm{min-height:42px; padding:0 var(--s4); font-size:.9375rem}
.btn-block{width:100%}

/* ---------- Header: sticky, CTA always reachable ---------- */
.hdr{position:sticky; top:0; z-index:50; background:rgba(255,255,255,.9); backdrop-filter:saturate(180%) blur(14px); border-bottom:1px solid var(--border)}
.hdr-in{display:flex; align-items:center; gap:var(--s5); min-height:92px}
.brand{display:flex; align-items:center; gap:10px; font-family:var(--display); font-weight:700; letter-spacing:-.03em; color:var(--ink); font-size:1.0625rem; white-space:nowrap}
.logo{display:block}
.gpp-defs{position:absolute; width:0; height:0; overflow:hidden}
.logo-hdr{height:51px; width:121px}
@media(min-width:768px){.logo-hdr{height:64px; width:151px}}
.logo-ft{height:68px; width:161px; margin-bottom:var(--s3)}
.nav{display:none; gap:var(--s5); margin-left:var(--s4)}
.nav a{font-size:.9375rem; font-weight:500; color:var(--body); padding:8px 0}
.nav a:hover{color:var(--ink)}
.hdr-cta{margin-left:auto; display:flex; align-items:center; gap:var(--s3)}
.hdr-tel{display:none; font-size:.9375rem; font-weight:600; color:var(--ink)}
@media(min-width:1000px){.nav{display:flex}.hdr-tel{display:inline-flex; align-items:center; height:42px}}
@media(max-width:999px){
  .hdr-cta .btn-primary{display:none}
  .burger{display:inline-flex}
}
.burger{width:42px; height:42px; border:1px solid var(--border-strong); border-radius:var(--r-btn); background:transparent; cursor:pointer; display:grid; place-items:center; gap:0}
.burger span{display:block; width:16px; height:1.5px; background:var(--ink); margin:2px 0}
@media(min-width:1000px){.burger{display:none}}
.mnav{display:none; border-bottom:1px solid var(--border); background:#fff; padding:var(--s4) 0}
.mnav[data-open="true"]{display:block}
.mnav a{display:block; padding:14px var(--s5); font-size:1.0625rem; font-weight:500; color:var(--ink); border-bottom:1px solid var(--border)}
.mnav a:last-child{border-bottom:0}

/* ---------- Hero: typography does the work, no stock photo ---------- */
.hero{padding:var(--s7) 0 var(--s8)}
@media(min-width:900px){.hero{padding:var(--s8) 0 var(--s9)}}
.hero-grid{display:grid; gap:var(--s7)}
@media(min-width:1000px){.hero-grid{grid-template-columns:1.05fr .95fr; gap:var(--s8); align-items:center}}
.hero p.lede{max-width:34ch; margin-top:var(--s5)}
.hero-cta{display:flex; flex-wrap:wrap; gap:var(--s3); margin-top:var(--s6)}
.hero-facts{display:flex; flex-wrap:wrap; gap:var(--s2) var(--s5); margin-top:var(--s5); padding:0; list-style:none}
.hero-facts li{font-size:.9375rem; color:var(--body); display:flex; align-items:center; gap:8px}
.tick{width:16px; height:16px; flex:0 0 16px; color:var(--green)}

/* ---------- Receipt: illustrates the actual mechanic (not a fake dashboard) ---------- */
.receipt{background:#fff; border:1px solid var(--border); border-radius:var(--r-card); box-shadow:var(--sh-3); overflow:hidden}
.receipt-hd{display:flex; justify-content:space-between; align-items:center; padding:var(--s4) var(--s5); border-bottom:1px solid var(--border); background:var(--surface-2)}
.receipt-hd .t{font-family:var(--display); font-weight:600; font-size:.9375rem; color:var(--ink)}
.receipt-hd .n{font-family:var(--mono); font-size:.8125rem; color:var(--muted)}
.receipt-bd{padding:var(--s5)}
.line{display:flex; justify-content:space-between; gap:var(--s4); padding:9px 0; font-size:.9375rem; color:var(--body)}
.line span:last-child{font-family:var(--mono); font-variant-numeric:tabular-nums; color:var(--ink)}
.line.sub{padding-top:var(--s3); margin-top:var(--s2); border-top:1px dashed var(--border-strong); font-weight:600}
.line.sub span:last-child{font-size:1rem}
.pay{border-radius:var(--r-card); padding:var(--s4); margin-top:var(--s4)}
.pay-card{background:var(--surface-2); border:1px solid var(--border)}
.pay-cash{background:var(--green-tint); border:1px solid rgba(15,123,79,.22)}
.pay-top{display:flex; justify-content:space-between; align-items:baseline; gap:var(--s3)}
.pay-lbl{font-size:.8125rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--muted)}
.pay-amt{font-family:var(--display); font-weight:700; font-size:1.5rem; color:var(--ink); font-variant-numeric:tabular-nums; letter-spacing:-.02em}
.pay-cash .pay-amt{color:var(--green)}
.pay-note{font-size:.875rem; margin-top:6px; color:var(--body)}
.save{margin-top:var(--s4); padding-top:var(--s4); border-top:1px solid var(--border); font-size:.875rem; color:var(--body); display:flex; gap:10px; align-items:flex-start}
.save strong{color:var(--ink)}

/* ---------- Proof strip ---------- */
.proof{background:var(--surface-2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:var(--s6) 0}
.proof-in{display:grid; gap:var(--s5)}
@media(min-width:900px){.proof-in{grid-template-columns:repeat(3,1fr); gap:var(--s7)}}
.quote{margin:0}
.quote p{font-size:.9375rem; line-height:1.55; color:var(--ink)}
.quote footer{margin-top:var(--s3); font-size:.875rem; color:var(--muted); font-weight:500}
.ph{display:inline-block; border:1px dashed var(--border-strong); border-radius:var(--r-chip); padding:1px 7px; font-size:.75rem; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); background:#fff}

/* ---------- Feature list: dense, typographic, no icon tiles ---------- */
.feat{display:grid; gap:0; margin-top:var(--s6)}
@media(min-width:820px){.feat{grid-template-columns:1fr 1fr; column-gap:var(--s8)}}
.feat-row{padding:var(--s4) 0; border-top:1px solid var(--border); display:grid; grid-template-columns:1fr; gap:2px}
@media(min-width:820px){.feat-row:nth-child(-n+2){border-top:0; padding-top:0}}
.feat-row h4{font-family:var(--text); font-size:1rem; font-weight:600; color:var(--ink); letter-spacing:-.008em; display:flex; align-items:baseline; gap:10px; flex-wrap:wrap}
.feat-row h4 em{font-style:normal; font-family:var(--text); font-size:.6875rem; font-weight:600; letter-spacing:.07em; text-transform:uppercase; color:var(--muted)}
.feat-row p{font-size:.9375rem}

/* ---------- Integrations: real logo wall goes here ---------- */
.logos{display:grid; grid-template-columns:repeat(2,1fr); gap:var(--s4); margin-top:var(--s6)}
@media(min-width:640px){.logos{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1000px){.logos{grid-template-columns:repeat(6,1fr); gap:var(--s5)}}
.logo-cell{display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; min-height:106px; border:1px solid var(--border); border-radius:var(--r-card); background:#fff; padding:var(--s4) var(--s3); text-align:center}
.logo-mark{display:flex; align-items:center; justify-content:center; height:34px}
.logo-mark svg,.logo-mark img{display:block}
.logo-cat{font-size:.6875rem; color:var(--muted); letter-spacing:.05em; text-transform:uppercase; line-height:1}
.logo-text{font-family:var(--display); font-weight:600; font-size:1.625rem; letter-spacing:-.022em; color:#64748B; line-height:1}

/* ---------- Pricing: Compare surface — aligned rows, parity ---------- */
.plans{display:grid; gap:var(--s5); margin-top:var(--s6); align-items:start}
@media(min-width:880px){.plans{grid-template-columns:1fr 1fr; gap:var(--s6)}}
.plan{border:1px solid var(--border); border-radius:var(--r-card); background:#fff; padding:var(--s6); box-shadow:var(--sh-2)}
.plan.feat-plan{border-color:var(--ink); box-shadow:var(--sh-3); position:relative}
.plan .flag{position:absolute; top:-13px; left:var(--s6); background:var(--red); color:#fff; font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; padding:5px 10px; border-radius:var(--r-pill)}
.plan h3{font-size:1.375rem; margin-bottom:6px}
.plan .for{font-size:.9375rem; color:var(--body); min-height:3.1em}
.price{display:flex; align-items:baseline; gap:8px; margin:var(--s5) 0 var(--s3); padding-top:var(--s5); border-top:1px solid var(--border)}
.price b{font-family:var(--display); font-size:2.5rem; font-weight:700; color:var(--ink); letter-spacing:-.03em; font-variant-numeric:tabular-nums}
.price span{font-size:.9375rem; color:var(--muted)}
.price-quote b{font-size:1.75rem; letter-spacing:-.02em; font-variant-numeric:normal}
.plan ul{list-style:none; margin:var(--s4) 0 0; padding:0; display:grid; gap:10px}
.plan li{display:flex; gap:10px; font-size:.9375rem; align-items:flex-start}
.plan li .tick{margin-top:2px}
.note{margin-top:var(--s5); font-size:.875rem; color:var(--muted); max-width:70ch}

/* ---------- FAQ ---------- */
.faq{margin-top:var(--s5); border-top:1px solid var(--border)}
details{border-bottom:1px solid var(--border)}
summary{cursor:pointer; list-style:none; padding:var(--s5) 0; font-family:var(--display); font-size:1.125rem; font-weight:600; color:var(--ink); display:flex; justify-content:space-between; gap:var(--s4); align-items:flex-start}
summary::-webkit-details-marker{display:none}
summary::after{content:"+"; font-family:var(--text); font-weight:400; font-size:1.375rem; color:var(--muted); line-height:1}
details[open] summary::after{content:"–"}
details p{padding-bottom:var(--s5); font-size:1rem; max-width:75ch}

/* ---------- CTA band + form ---------- */
.band{background:var(--navy); color:rgba(255,255,255,.78); padding:var(--s8) 0}
@media(min-width:900px){.band{padding:var(--s9) 0}}
.band h2{color:#fff}
.band .eyebrow{color:#F2A0AC}
.band-grid{display:grid; gap:var(--s7)}
@media(min-width:1000px){.band-grid{grid-template-columns:1fr 1fr; gap:var(--s8); align-items:start}}
.band ul{list-style:none; margin:var(--s5) 0 0; padding:0; display:grid; gap:12px}
.band li{display:flex; gap:10px; font-size:1rem; align-items:flex-start}
.band .tick{color:#7FD1A8}
.form{background:#fff; border-radius:var(--r-card); padding:var(--s6); box-shadow:var(--sh-3)}
.form h3{margin-bottom:var(--s5)}
.row{display:grid; gap:var(--s4); margin-bottom:var(--s4)}
.row.two{grid-template-columns:1fr}
@media(min-width:560px){.row.two{grid-template-columns:1fr 1fr}}
label{display:block; font-size:.875rem; font-weight:600; color:var(--ink); margin-bottom:6px}
label .req{color:var(--red)}
input[type=text],input[type=email],input[type=tel],select,textarea{
  width:100%; min-height:48px; padding:11px 14px; font-family:var(--text); font-size:1rem; color:var(--ink);
  background:#fff; border:1px solid var(--border-strong); border-radius:var(--r-input);
}
input::placeholder,textarea::placeholder{color:var(--muted)}
input:focus,select:focus,textarea:focus{outline:none; border-color:var(--red); box-shadow:var(--focus)}
.help{font-size:.8125rem; color:var(--muted); margin-top:6px}
.upload{border:1px dashed var(--border-strong); border-radius:var(--r-input); padding:var(--s4); background:var(--surface-2); font-size:.875rem; color:var(--body); display:flex; gap:10px; align-items:center}
.consent{display:flex; gap:10px; align-items:flex-start; margin:var(--s5) 0; font-size:.8125rem; color:var(--body); line-height:1.5}
.consent input{margin-top:3px; width:18px; height:18px; flex:0 0 18px; accent-color:var(--red)}
.consent a{color:var(--ink); text-decoration:underline; text-underline-offset:2px}

/* statement: upload now, or email it to us ---------------------------------- */
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0}
.stmt{border:0; padding:0; margin:0; min-width:0}
.stmt-legend{display:block; font-size:.875rem; font-weight:600; color:var(--ink); padding:0; margin-bottom:10px}
.stmt-legend .muted-inline{font-weight:400; color:var(--muted)}
.stmt-opts{display:flex; gap:8px; margin-bottom:var(--s3)}
.stmt-opt{display:flex; align-items:center; gap:9px; flex:1 1 0; min-width:0; min-height:46px; padding:11px 12px;
  border:1px solid var(--border-strong); border-radius:var(--r-input); background:#fff;
  font-size:.875rem; font-weight:500; color:var(--ink); cursor:pointer;
  transition:border-color .15s ease, background .15s ease, box-shadow .15s ease}
.stmt-opt:hover{border-color:var(--ink)}
.stmt-opt input{flex:0 0 18px; width:18px; height:18px; margin:0; accent-color:var(--red)}
.stmt-opt:has(input:checked){border-color:var(--ink); background:var(--surface-2); box-shadow:inset 0 0 0 1px var(--ink)}
.stmt-opt:has(input:focus-visible){outline:2px solid var(--focus); outline-offset:2px}
.stmt-panel{display:none}
.stmt:has(input[value="upload"]:checked) .stmt-panel[data-when="upload"]{display:block}
.stmt:has(input[value="email"]:checked)  .stmt-panel[data-when="email"]{display:block}
@supports not selector(:has(*)){
  .stmt-panel{display:block}
  .stmt-panel + .stmt-panel{margin-top:var(--s3)}
}
.stmt-email{font-size:.875rem; line-height:1.55; color:var(--body); margin-top:2px}
.stmt-email a{color:var(--ink); font-weight:600; text-decoration:underline; text-underline-offset:2px; overflow-wrap:anywhere}

/* ---------- Footer ---------- */
footer.ft{background:var(--surface-2); border-top:1px solid var(--border); padding:var(--s8) 0 var(--s6); font-size:.875rem}
.ft-grid{display:grid; gap:var(--s6)}
@media(min-width:820px){.ft-grid{grid-template-columns:1.6fr 1fr 1fr 1fr; gap:var(--s7)}}
.ft h3,.ft h4{font-family:var(--text); font-size:.75rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:var(--s3)}
.ft a{display:block; padding:4px 0; color:var(--body)}
@media(max-width:819px){.ft a{padding:11px 0}}
.ft a:hover{color:var(--ink)}
.ft .brand{margin-bottom:var(--s4)}
.legal{margin-top:var(--s7); padding-top:var(--s5); border-top:1px solid var(--border); display:flex; flex-wrap:wrap; gap:var(--s3) var(--s5); align-items:center; justify-content:space-between}
.legal-links{display:flex; flex-wrap:wrap; gap:var(--s5)}
.legal-links a{font-weight:500; color:var(--ink)}
.iso{margin-top:var(--s5); font-size:.75rem; line-height:1.6; color:var(--muted); max-width:100ch}


/* ============================================================
   VARIANT B - original top-of-page hero band
   ============================================================ */
.hero-band{
  background-image:linear-gradient(rgba(11,31,58,.80), rgba(11,31,58,.86)), url("assets/pronto-business-hero.webp");
  background-size:cover; background-position:center; background-repeat:no-repeat;
  padding:var(--s7) 0 var(--s8); text-align:center;
}
@media(min-width:900px){.hero-band{padding:var(--s9) 0 104px}}
.hero-band-inner{max-width:900px; margin:0 auto}
.hero-band h1{color:#fff; margin-bottom:var(--s5)}
.eyebrow-dark{color:#F2A0AC}
.lede-dark{color:rgba(255,255,255,.84); font-size:1.1875rem; line-height:1.6; max-width:64ch; margin:0 auto}
.hero-band .hero-cta{justify-content:center}
.btn-ghost-dark{background:transparent; color:#fff; border-color:rgba(255,255,255,.5)}
.btn-ghost-dark:hover{background:rgba(255,255,255,.12); border-color:#fff}
.band-trust{margin-top:var(--s5); font-size:.9375rem; color:rgba(255,255,255,.8)}
.cd-grid{display:grid; gap:var(--s7)}
@media(min-width:1000px){.cd-grid{grid-template-columns:1.05fr .95fr; gap:var(--s8); align-items:start}}

@media(prefers-reduced-motion:reduce){
  *{transition:none !important; animation:none !important}
}

/* ============================================================
   WordPress block defaults — neutralised
   ------------------------------------------------------------
   WP applies the block gap as a top margin on blocks, and core's
   button styles set their own padding and size. The design was authored
   without either, so the rendered theme drifted ~860px taller than the
   design and buttons came out 56px instead of 42px.

   These rules use :where() so their specificity is zero — any
   class-based margin or size in this file still wins.
   ============================================================ */
:where(h1,h2,h3,h4,h5,h6,p,ul,ol,figure,blockquote,.wp-block-group,.wp-block-heading,.wp-block-details,.wp-block-buttons){
	margin-block-start: 0;
}
/* Core button: put it back to the designed size (10px radius, 42px tall, 15px text).
   Specificity matters here — core's own rule loads after this file. */
.wp-site-blocks .wp-block-button .wp-block-button__link,
.wp-site-blocks .wp-block-button__link.wp-element-button{
	font-size: .9375rem;
	line-height: 1;
	min-height: 42px;
	height: auto;
	padding: 0 16px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
/* Lists: core adds a 2em left padding that the design does not use */
:where(.wp-block-list){ padding-left: 0; list-style: none; }

/* showContent fallback: the core Details block attribute did not emit the
   `open` attribute on this install, so the pattern carries it literally too. */
.wp-block-details[open] > summary + *{ margin-top: var(--s4); }

/* ============================================================
   Home page router cards — the split site's front door
   ============================================================ */
.router{padding:var(--s8) 0}
.router-grid{display:grid; gap:var(--s5); margin-top:var(--s7); grid-template-columns:1fr}
@media(min-width:640px){.router-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1000px){.router-grid{grid-template-columns:repeat(3,1fr)}}
.router-card{border:1px solid var(--border); border-radius:var(--r-card); padding:var(--s6);
	background:#fff; box-shadow:var(--sh-1); display:flex; flex-direction:column; gap:var(--s2)}
.router-card h3{font-size:1.1875rem; line-height:1.3}
.router-card p{font-size:.9375rem; color:var(--body); line-height:1.55}
.router-card .router-link{margin-top:auto; padding-top:var(--s3)}
.router-link a{font-family:var(--display); font-weight:600; font-size:.9375rem; color:var(--red); text-decoration:none}
.router-link a::after{content:" \2192"}
.router-link a:hover{color:var(--red-hover); text-decoration:underline}

/* ============================================================
   Inner-page hero — navy band, no photo, so sub-pages read as
   part of the set without repeating the home hero image.
   ============================================================ */
.page-hero{background:var(--navy); color:rgba(255,255,255,.80); padding:var(--s8) 0}
.page-hero h1{color:#fff; font-size:clamp(2.25rem,4.6vw,3.25rem); line-height:1.1;
	letter-spacing:-.02em; margin-bottom:var(--s4); max-width:24ch}
.page-hero .eyebrow{color:#F2A0AC; margin-bottom:var(--s4)}
.page-hero .lede{color:rgba(255,255,255,.80); font-size:1.1875rem; line-height:1.55;
	max-width:58ch; margin-top:0}
.page-hero .wp-block-buttons{margin-top:var(--s6)}
.page-hero .wp-block-button__link{background:var(--red); color:#fff}

/* Promoted page H1 — sits where a section H2 used to, so it must look
   identical. Same size/weight/tracking as h2, plus a white variant for
   the navy band. */
.section-h1{font-size:clamp(1.75rem,3.3vw,2.625rem); line-height:1.1;
	letter-spacing:-.026em; color:var(--ink)}
.band .section-h1, .page-hero .section-h1{color:#fff}

/* ============================================================
   Hero width parity (option B)
   The hero background was full-bleed (viewport-wide) while its
   text sat in a 900px column — three different widths on one
   page. Box the hero to the site container and let the text use
   the full container measure, so it lines up with every other
   page. max-width:min() keeps a 24px inset on small screens.
   ============================================================ */
.hero-band{max-width:min(var(--container), calc(100% - 48px)); margin-left:auto; margin-right:auto}
.hero-band-inner{max-width:100%}

/* ============================================================
   Mobile responsiveness pass
   1. Inputs >=16px  — anything smaller makes iOS Safari zoom the
      page in when the field is focused.
   2. 44x44 minimum tap targets (Apple/Google guidance). Applied
      on small screens only, so desktop spacing is untouched.
   3. Legal fine print legible on a phone.
   ============================================================ */

/* 1. Kill the iOS zoom trap */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="number"], input[type="search"], input[type="password"], input[type="date"],
select, textarea { font-size: 16px; }

/* 2. Comfortable field heights everywhere */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="number"], input[type="search"], input[type="password"], input[type="date"],
select { min-height: 48px; }
textarea { min-height: 120px; }

/* 2b. Thumb-sized targets on small screens only */
@media (max-width: 767px) {
	footer a, .iso a, .wp-block-navigation__responsive-container a {
		min-height: 44px; display: flex; align-items: center;
	}
	.wp-block-button__link { min-height: 48px; display: inline-flex; align-items: center; }
}

/* 2c. The menu toggle is the primary mobile control — make it a real target */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	min-width: 44px; min-height: 44px; padding: 10px; display: inline-flex;
	align-items: center; justify-content: center;
}
.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-close svg { width: 24px; height: 24px; }

/* 3. Legal / ISO disclosure readable on a phone */
.iso { font-size: 13.5px; line-height: 1.65; }

/* ============================================================
   Mobile header CTA (B + C)
   On a 390px screen the 129px header button ate a third of the
   header row. It is really a menu element, so: hide it from the
   closed header, show it full-width inside the opened menu.
   ============================================================ */
.nav-cta { display: none; }
@media (max-width: 767px) {
	.hdr-cta .wp-block-button { display: none; }
	.nav-cta { display: block; margin-top: var(--s5); }
	.nav-cta .wp-block-button__link {
		width: 100%; justify-content: center; min-height: 48px;
		display: inline-flex; align-items: center;
	}
}

/* ============================================================
   Contact Form 7 parity
   CF7 outputs its own <form>, so the .form-scoped rules never
   reach it. Mirror them onto .wpcf7 so the form keeps the
   designed look instead of CF7's plain defaults.
   ============================================================ */
.wpcf7 .row { display: grid; gap: var(--s4); margin-bottom: var(--s5); }
.wpcf7 .row.two { grid-template-columns: 1fr; }
@media (min-width: 640px) { .wpcf7 .row.two { grid-template-columns: 1fr 1fr; } }
.wpcf7 form { padding: var(--s6); background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.wpcf7 h3 { font-size: 1.1875rem; margin-bottom: var(--s4); }
.wpcf7 label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.wpcf7 .req { color: var(--red); }
.wpcf7 .hint { display: block; font-weight: 400; font-size: .8125rem; color: var(--muted); margin-top: 2px; }
.wpcf7 .help { font-size: .8125rem; color: var(--muted); margin-top: 6px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"],
.wpcf7 select, .wpcf7 textarea {
	width: 100%; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff;
}
.wpcf7 input[type="file"] { padding: 4px 0; border: 0; }
.wpcf7 .wpcf7-submit {
	background: var(--red); color: #fff; border: 0; border-radius: 10px; min-height: 48px;
	padding: 0 28px; font-family: var(--display); font-weight: 600; font-size: 1rem; cursor: pointer; width: auto;
}
.wpcf7 .wpcf7-submit:hover { background: var(--red-hover, #A9141F); }
.wpcf7-response-output { margin-top: var(--s4); padding: 12px 16px; border-radius: 10px; font-size: .9375rem; }

/* Core's .wp-block-buttons{display:flex} loads after the theme sheet,
   so the menu CTA needs equal-or-higher specificity to stay hidden. */
.nav .nav-cta { display: none; }
@media (max-width: 767px) {
	.nav .wp-block-navigation__responsive-container.is-menu-open .nav-cta { display: block; }
}
/* Menu CTA must stretch full width — core's button CSS outranks the
   earlier rule, so this needs the full ancestor chain plus !important. */
.nav .wp-block-navigation__responsive-container.is-menu-open .nav-cta .wp-block-button,
.nav .wp-block-navigation__responsive-container.is-menu-open .nav-cta .wp-block-button__link {
	width: 100% !important; min-height: 48px !important;
	display: flex !important; align-items: center; justify-content: center;
}
/* Menu CTA full width, take 2.
   Setting width only on the <a> failed: .wp-block-buttons is a flex box
   that sizes to content, so each level in the chain has to be told to
   fill, not just the innermost element. */
.nav .wp-block-navigation__responsive-container.is-menu-open .nav-cta,
.nav .wp-block-navigation__responsive-container.is-menu-open .nav-cta .wp-block-buttons,
.nav .wp-block-navigation__responsive-container.is-menu-open .nav-cta .wp-block-button {
	width: 100% !important;
	max-width: 100% !important;
	display: flex !important;
	box-sizing: border-box;
}
.nav .wp-block-navigation__responsive-container.is-menu-open .nav-cta .wp-block-button__link {
	flex: 1 1 auto !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 48px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

/* ============================================================
   Mobile menu presentation, matched to the old site.
   Theirs: absolute dropdown under the header, ~370px, page
   visible beneath. Keep position:fixed (viewport-relative, so it
   stays full width) but neutralise top/bottom so it sits at its
   natural spot under the header instead of covering the screen.
   ============================================================ */
@media (max-width: 767px) {
	.wp-block-navigation__responsive-container {
		position: fixed !important;
		top: 93px !important;   /* header height, so the panel hangs right under it */
		bottom: auto !important;
		left: 0 !important;
		right: 0 !important;
		height: auto !important;
		max-height: calc(100vh - 117px);
		overflow-y: auto;
		box-shadow: 0 14px 34px rgba(11, 31, 58, .14);
	}
	.wp-block-navigation__responsive-container .wp-block-navigation__responsive-dialog {
		position: static !important;
		margin: 0 !important;
		width: auto !important;
		height: auto !important;
		max-height: none !important;
		padding: var(--s5) var(--s5) var(--s6) !important;
	}
	.wp-block-navigation__responsive-container a { padding-top: 8px; padding-bottom: 8px; min-height: 44px; line-height: 1.3; }
}

/* Menu height, take 3 — the measurement showed where the 594px goes:
   nav list 384px (6 x 44px links + 5 x 24px flex gap = 120px of gap),
   CTA ~72px, dialog padding 56px. Zero the gap and trim the padding
   to land near the old site's ~370px. Links stay 44px taps. */
@media (max-width: 767px) {
	.wp-block-navigation__responsive-dialog .wp-block-navigation__container,
	.wp-block-navigation__responsive-dialog .wp-block-navigation__container ul {
		gap: 0 !important; row-gap: 0 !important;
	}
	.wp-block-navigation__responsive-container .wp-block-navigation__responsive-dialog {
		padding: 16px 24px 20px !important;
	}
	.wp-block-navigation__responsive-dialog .nav-cta { margin-top: 12px !important; }
}

/* Menu height, take 4 — the last 442 -> ~370.
   The close button was a 44px block in the flow (should float over),
   and the content container carried 56px of top padding. */
@media (max-width: 767px) {
	.wp-block-navigation__responsive-dialog { position: relative; }
	.wp-block-navigation__responsive-dialog > .wp-block-navigation__responsive-container-close {
		position: absolute !important;
		top: 8px !important;
		right: 16px !important;
		margin: 0 !important;
		height: 40px !important;
		min-height: 40px !important;
	}
	.wp-block-navigation__responsive-dialog > div { padding-top: 16px !important; }
	.wp-block-navigation__responsive-dialog .wp-block-navigation__container { padding-top: 0 !important; }
}

/* ============================================================
   Horizontal-overflow hardening.
   Reported on an iPhone 11 (414px) as content clipped at the
   left edge. Nothing measurable overflows at 414, so rather than
   chase it, remove the whole class of bug:
     - nothing may be wider than the screen
     - grid/flex children may actually shrink (their default
       min-width:auto is the classic cause of sideways scroll)
     - every replaced element is capped
   Deliberately conservative: no global box-sizing reset, which
   can shift padding across a layout that is already correct.
   ============================================================ */
html, body { max-width: 100%; overflow-x: hidden; }
.row > *, .wpcf7 .row > *, .band-grid > *, .hdr-in > *, .ft-grid > *, .plans > * { min-width: 0; }
img, svg, video, iframe, figure { max-width: 100%; }
img, video { height: auto; }
input, select, textarea, button { box-sizing: border-box; max-width: 100%; }
.wpcf7 input, .wpcf7 select, .wpcf7 textarea,
.form input, .form select, .form textarea { min-width: 0; width: 100%; }
.container, .wp-block-post-content, .wp-block-group { max-width: 100%; }
.siteseo-ai-modal, .nojq { display: none !important; }
@media (max-width: 414px) {
	:root { --s5: 20px; }
}

/* ============================================================
   Top-of-page spacing (option C).
   The 96px section padding is designed to separate MID-page
   bands. At the top of a page it reads as dead white space above
   the first words. Measured gap was 112px (96 section + 16
   eyebrow leading); this brings it to ~40px.
   Scoped to the FIRST child of the page content only, so every
   other section keeps the design's 96px rhythm, and the home
   hero is untouched.
   ============================================================ */
/* kill the extra leading inside the first block so the eyebrow sits tight */
.wp-block-post-content > *:first-child > *:first-child {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
.wp-block-post-content > *:first-child .eyebrow:first-child { margin-top: 0 !important; }
@media (max-width: 767px) {
	.wp-block-post-content > section.wp-block-group:first-child:not(.hero-band),
	.wp-block-post-content > .wp-block-group.container:first-child { padding-top: 8px !important; }
}

/* ============================================================
   CF7 confirmation message was invisible.
   It inherited the navy band's light text colour, so on submit
   the "Thank you" text rendered white-on-white. Give it its own
   surface and explicit colours so it can never disappear, in any
   context, at any state.
   ============================================================ */
.wpcf7-response-output {
	margin-top: var(--s5) !important;
	padding: 14px 18px !important;
	border-radius: 10px !important;
	font-family: var(--display) !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	line-height: 1.5 !important;
	background: #FFFFFF !important;
	color: #0B1F3A !important;
	border: 2px solid #C8102E !important;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: #1B7F4B !important; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed  .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output { border-color: #C8102E !important; }
.wpcf7 form.spam .wpcf7-response-output { border-color: #8A6D3B !important; }
/* validation errors need to be legible on the navy band too */
.wpcf7-not-valid-tip { color: #FFD9DE !important; font-size: .875rem !important; margin-top: 4px; }
.wpcf7 form .wpcf7-not-valid { border-color: #C8102E !important; }

/* ============================================================
   /about/ — match the measure and type scale of every other page.
   Measured: its copy sat in a 760px constrained column (x=333) at
   17px, while the rest of the site runs the full measure at
   19px/1.55. WordPress's is-layout-constrained caps children at
   the global content size, which is what squeezed it.
   ============================================================ */
.wp-block-post-content > .wp-block-group.container.has-global-padding > *,
.wp-block-post-content > .wp-block-group.container.has-global-padding .wp-block-group > * {
	max-width: none !important;
}
.wp-block-post-content > .wp-block-group.container.has-global-padding p:not(.eyebrow) {
	font-size: 19px !important;
	line-height: 1.55 !important;
}
/* the 122px top gap: kill the constrained block's leading margin too */
.wp-block-post-content > .wp-block-group.container.has-global-padding > *:first-child {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
.wp-block-post-content > .wp-block-group.container.has-global-padding .wp-block-heading:first-child {
	margin-top: 0 !important;
}

/* ============================================================
   /about/ top gap, root cause found by measurement:
   the lead paragraph carries margin-top:82px. It is NOT the
   first element child of its wrapper (something empty precedes
   it), which is why the earlier :first-child rule missed it.
   :first-of-type targets the first <p> among siblings and is
   immune to that. 125 header + 40 container padding + 82 margin
   = 247 -> a 122px gap; zeroing the margin brings it to ~40px.
   ============================================================ */
.wp-block-post-content > .wp-block-group.container.has-global-padding > p.wp-block-paragraph:first-of-type,
.wp-block-post-content > .wp-block-group.container.has-global-padding > p:first-of-type {
	margin-top: 0 !important;
}
/* ============================================================
   SITE CONTAINER — one centre for the whole site.
   Measured before: header, content, CTA box and footer ALL ran
   from x=32 to the right edge (1361px of 19px text ~= 130
   characters per line). Nothing was misaligned; the page was just
   stretched nearly edge-to-edge, which is what read as
   "left-heavy".
   Give every region the same centred box:
     min(1160px, 100% - 48px), centred, with the gutter coming
     from the calc() rather than padding so the content edge lands
     at x=133 on desktop and x=24 on mobile.
   Applies to the header row, page content, CTA boxes and footer
   together, so they all share one left edge and one centre.
   Bar backgrounds stay full-bleed — only the inner rows move.
   ============================================================ */
.container,
.hdr-in {
	max-width: min(1160px, calc(100% - 48px)) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
/* keep the measure comfortable even if a block sets its own width */
.wp-block-post-content > section.wp-block-group,
.wp-block-post-content > .wp-block-group { max-width: 100%; }

/* ============================================================
   /pricing/ — match the two cards.
   Measured: both cards already have border-radius:14px. The
   visible difference was the border COLOUR —
     .plan.feat-plan  border 1px rgb(11,31,58)   (navy, reads as a framed window)
     .plan            border 1px rgb(226,232,239) (light grey, reads flat)
   Give both the navy frame so the Interchange Plus box matches.
   ============================================================ */
.plans .plan,
.plans .plan.feat-plan {
	border: 1px solid #0B1F3A !important;
	border-radius: 14px !important;
}
/* the red "Most merchants start here" flag — hidden, not deleted, so it can
   be brought back with one line if you want it again. */
.plans .flag,
.plan .flag,
.wp-block-post-content .flag {
	display: none !important;
}

/* ============================================================
   Home hero: match the header and footer.
   Measured: .hero-band is 1425px full-bleed, so the background
   photo runs edge-to-edge while the copy sits in the 1160px
   container (x=133, same as .hdr-in). That mismatch is what reads
   as the picture being too wide.
   Box the band to the same container as the header, footer and
   page content, and let the copy fill it.
   ============================================================ */
.hero-band {
	max-width: min(1160px, calc(100% - 48px)) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.hero-band .hero-band-inner,
.hero-band .container {
	max-width: 100% !important;
}
.hero-band h1,
.hero-band p,
.hero-band .lede,
.hero-band .wp-block-paragraph {
	max-width: 100% !important;
}

/* ============================================================
   1. Thin rule under the header — removed.
   Measured: div.wp-block-group.hdr carried
   border-bottom: 1px solid rgb(226,232,239) at 1425px wide,
   i.e. a hairline right across the page.
   ============================================================ */
.hdr {
	border-bottom: 0 !important;
}
/* ============================================================
   2. Hero copy inset ~1 inch (96px) each side.
   Measured: .hero-band-inner had padding 0, so the copy ran
   edge-to-edge in its 1160px box. ~1in each side brings the
   measure to ~968px, which also reads more comfortably.
   Steps down on smaller screens so the text never gets squeezed.
   ============================================================ */
.hero-band .hero-band-inner {
	padding-left: 96px !important;
	padding-right: 96px !important;
}
@media (max-width: 1279px) {
	.hero-band .hero-band-inner { padding-left: 32px !important; padding-right: 32px !important; }
}
@media (max-width: 600px) {
	.hero-band .hero-band-inner { padding-left: 20px !important; padding-right: 20px !important; }
}

/* ============================================================
   Hairline rules across the page — removed sitewide.
   Scanned every page at 1440px for any element wider than 700px
   carrying a top or bottom border. Exactly two existed:
     .proof (section)  border-top + border-bottom 1px rgb(226,232,239)
                       -> the testimonials band, the line above and
                          below it that you spotted
     .ft    (footer)   border-top 1px rgb(226,232,239)
                       -> the line at the top of the footer
   Both removed. Nothing else on the site draws a full-width rule.
   ============================================================ */
.proof,
.ft {
	border-top: 0 !important;
	border-bottom: 0 !important;
}

/* ============================================================
   /faq/ hairlines — the remaining 6 the sitewide scan found.
   .faq (group)          border-top 1px      -> line above the list
   .wp-block-details x5  border-bottom 1px   -> separators between rows
   Removed for consistency with the rest of the site.
   ============================================================ */
.faq,
.wp-block-group.faq,
.wp-block-details {
	border-top: 0 !important;
	border-bottom: 0 !important;
}

/* ============================================================
   Match the shaded bands to the rest of the page.
   Measured: .proof (testimonials) was 1425px full-bleed with
   background rgb(245,247,250), while .hero-band beside it is
   already boxed to 1160px. Same for the footer's shading.
   Box both to the one site container so every shaded band and
   the footer start and end on the same edges as the header,
   hero, content and CTA boxes.
   ============================================================ */
.proof,
footer.ft,
.ft {
	max-width: min(1160px, calc(100% - 48px)) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.proof .container,
.proof-inner,
footer.ft .container,
.ft .container {
	max-width: 100% !important;
}

/* ============================================================
   Fine line back UNDER the testimonials — but only as wide as the
   box, not the page.
   .proof is now the 1160px container (x=133) after the previous
   change, so a border-bottom here spans exactly the same width as
   the header, hero, content and footer above and below it.
   Colour matches the original hairline: rgb(226,232,239).
   Declared after the earlier border removal so it wins.
   ============================================================ */
.proof {
	border-bottom: 1px solid #E2E8EF !important;
}

/* ============================================================
   Centre the header menu.
   Measured header row: brand 151px, nav 545px, hdr-cta 298px.
   The nav was items-justified-left, and simply giving it
   margin:auto would centre it in the leftover space, not on the
   header — the logo and CTA are different widths (151 vs 298), so
   that lands ~74px off centre.
   A 3-column grid (1fr / auto / 1fr) with the nav centred puts
   the menu on the header's true centre regardless of those widths.
   Scoped to >=1024px so mobile keeps its flex + burger layout.
   ============================================================ */
@media (min-width: 1024px) {
	.hdr-in {
		display: grid !important;
		grid-template-columns: 1fr auto 1fr !important;
		align-items: center !important;
	}
	.hdr-in .brand { justify-self: start !important; }
	.hdr-in .nav { justify-self: center !important; }
	.hdr-in .nav .wp-block-navigation__container,
	.hdr-in .nav ul {
		justify-content: center !important;
	}
	.hdr-in .hdr-cta { justify-self: end !important; }
}

/* ============================================================
   Footer: 1/4 inch (24px) padding either side, and centre the
   MSP/ISO legal disclaimer.
   Targets both the footer element and its inner container so the
   inset applies whichever level carries the padding.
   The disclaimer is the last paragraph in the footer; the class
   hooks are included too in case it is wrapped.
   ============================================================ */
footer.ft,
.ft,
footer.ft .container,
.ft .container {
	padding-left: 24px !important;
	padding-right: 24px !important;
}
footer.ft p:last-of-type,
footer.ft .legal,
footer.ft .ft-legal,
.ft p:last-of-type,
.ft .legal,
.ft .ft-legal {
	text-align: center !important;
}

/* Mobile: 48px each side left the disclaimer in a 150px column at 390px
   (measured 423px tall). Step the footer inset down so the legal text
   keeps a readable measure on phones. */
@media (max-width: 767px) {
	footer.ft,
	.ft,
	footer.ft .container,
	.ft .container {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}

/* ============================================================
   /contact/ cleanup.
   The "Schedule a demo" eyebrow is hidden (word removal, no page
   edit). The large white panel around the whole form has been
   REMOVED — it was added by mistake; only the smaller box that
   was already there should show.
   The panel's colour overrides are removed with it: they set
   navy text for a white background, which would render navy-on-
   navy invisible now the panel is gone. The form's own styling
   for the navy band is left intact.
   ============================================================ */
.band .eyebrow,
.band-grid > .eyebrow {
	display: none !important;
}

/* ============================================================
   "Request your statement review" — centre it.
   Measured: it is an <h3> inside .wpcf7-form (the contact form),
   text-align: start, box centred on the form's own centre. It is
   not a footer element.
   Centre the heading within the form box so it reads as centred
   whatever the column width, and at every breakpoint (the form
   stacks full-width on mobile, where centred is the natural look).
   ============================================================ */
.wpcf7-form h1,
.wpcf7-form h2,
.wpcf7-form h3,
.wpcf7-form h4,
.wpcf7-form .wpcf7-form-title {
	text-align: center !important;
}

/* ============================================================
   Testimonials text to line up with the footer text below.
   The footer now carries a 1/4in (24px) internal inset, so its
   text starts at 133+24=157. The testimonials box has no inset,
   so its text starts at 133 — a visible 24px mismatch between the
   two stacked bands. Give the testimonials the same inset.
   ============================================================ */
.proof,
.proof .container,
.proof-inner {
	padding-left: 24px !important;
	padding-right: 24px !important;
}
@media (max-width: 767px) {
	.proof,
	.proof .container,
	.proof-inner {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}

/* ============================================================
   Footer disclaimer to match the width of the footer text above.
   Measured: the disclaimer (.iso) rendered 852px wide and centred
   (x=229) while the footer's other text starts at x=181 — it was
   sitting in a narrower centred column. Make it span the full
   footer content width so its edges match the text above it.
   ============================================================ */
footer.ft .iso,
.ft .iso,
footer.ft p:last-of-type,
.ft p:last-of-type {
	max-width: 100% !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	text-align: center !important;
}

/* ============================================================
   Footer contact block: LEFT justify so "805.231.7234" and
   "info@getpaidpronto.com" line up under the word "Merchant" in
   "Merchant services by Get Paid Pronto." They were being centred.
   Scoped to the footer's first container so the rest of the footer
   is untouched, and the disclaimer is re-asserted as centred AFTER
   this rule so it cannot be dragged left by it.
   ============================================================ */
footer.ft .container:first-child,
footer.ft .container:first-child p,
footer.ft .container:first-child a,
footer.ft .container:first-child span,
footer.ft .container:first-child div,
.ft .container:first-child,
.ft .container:first-child p,
.ft .container:first-child a,
.ft .container:first-child span {
	text-align: left !important;
}
/* disclaimer stays centred — declared after, so it wins */
footer.ft .iso,
.ft .iso,
footer.ft p:last-of-type,
.ft p:last-of-type {
	text-align: center !important;
}

/* Correction: the left-justify rule above (".container:first-child p")
   out-specifies the disclaimer's ".iso" rule, so the disclaimer was
   dragged left with the contact lines. Match the specificity so the
   disclaimer's centring wins again. */
footer.ft .container:first-child .iso,
.ft .container:first-child .iso,
footer.ft .container .iso,
.ft .container .iso,
footer.ft p.iso,
.ft p.iso {
	text-align: center !important;
}

/* ============================================================
   Home hero eyebrow "PAYMENTS MADE FAST" -> the same red as the
   Schedule a demo button (#C8102E / rgb(200,16,46)).
   Scoped to the hero band so no other eyebrow changes.
   ============================================================ */
.hero-band .eyebrow,
.hero-band .eyebrow-dark,
.hero-band .wp-block-paragraph.eyebrow {
	color: #C8102E !important;
}

/* /contact/ band: its own grid padding stacked on top of the above */
.band-grid {
	padding-top: 0 !important;
}

/* /integrations/ (page-id-19): its H1 is the page opener, so the heading's
   margin-top collapses outward and adds to the section padding. Zeroing it
   for this page only brings it in line with the others. */
body.page-id-19 .wp-block-post-content .wp-block-heading:first-of-type {
	margin-top: 0 !important;
}

/* ============================================================
   TOP GAP — the single source of truth. Every page 20px below the
   menu; home page hero excluded and unchanged.
   Measured padding chains (no other rules now compete):
     section-first  (/pricing/ etc): section padding-top 8px gave a
       24px gap, because a 42px H1 in a 46.2px line-box carries ~16px
       of leading above its text. 4px + 16 = 20.
     container-first (/about/, legal, skeletons): the first element is
       a paragraph, whose box top IS its text top, so there is no
       leading. 20px + 0 = 20.
   'html body' prefix so it outranks anything left in the file.
   ============================================================ */
html body .wp-block-post-content > section.wp-block-group:first-child:not(.hero-band) {
	padding-top: 4px !important;
}
html body .wp-block-post-content > .wp-block-group.container:first-child {
	padding-top: 20px !important;
}
html body .wp-block-post-content > .wp-block-group.container:first-child:not(:has(h1)) {
	padding-top: 20px !important;
}

/* ============================================================
   /contact/: align the white form box with the headline's TEXT.
   Measured: the H1's box top is 144 but its text ink begins at
   167 — 23px of line-box leading. The form's box is also at 144,
   so it sat 23px ABOVE the headline's visible text. Push it down
   by exactly that measured difference so the two tops line up.
   Scoped to the band so no other page is affected; zeroed on
   mobile, where the columns stack and there is nothing to align to.
   ============================================================ */
.band .wpcf7-form {
	margin-top: 23px !important;
}
@media (max-width: 767px) {
	.band .wpcf7-form {
		margin-top: 0 !important;
	}
}

/* ============================================================
   /contact/ (page-id-22): make the blue box's space above and
   below the white form box EQUAL, and shorten it.
   Measured: band padding-bottom 96px, but the space above the form
   is only 23px (the form's alignment margin, which lines it up with
   the headline's text ink). Bottom 96 -> 23 balances the two
   exactly and drops the band from 1165px to ~1092px.
   Scoped by body class so the CTA boxes on other pages, which also
   use .band, are untouched.
   ============================================================ */
body.page-id-22 .band {
	padding-bottom: 23px !important;
}

/* ============================================================
   CTA box ("See what a true cash discount does to your statement."
   + Schedule a demo) on every page: 1/4 inch (24px) off the top
   AND bottom padding. Measured padding was 96px top and bottom,
   so 96 - 24 = 72px, which shortens the box by 48px.
   /contact/ is excluded by body class: its .band is the form band,
   already tuned separately, and must not be disturbed.
   ============================================================ */
body:not(.page-id-22) .band {
	padding-top: 72px !important;
	padding-bottom: 72px !important;
}

/* ============================================================
   CTA box on every page: a little space between the heading,
   the lede and the Schedule a demo button.
   They previously sat at 0px (stacked on their line-boxes only),
   which read too tight. 10px at each join. /contact/ excluded —
   its .band is the form band, tuned separately.
   ============================================================ */
body:not(.page-id-22) .band .lede,
body:not(.page-id-22) .band h2 + p {
	margin-top: 10px !important;
}
body:not(.page-id-22) .band .wp-block-button {
	margin-top: 10px !important;
}

/* ============================================================
   /about/ (page-id-24).
   Measured: the H1 and every paragraph carried max-width:760px
   (WordPress's global content size) while the header, the blue box
   and the content container are all 1160px. So the copy sat in a
   narrow column inside a wide box.
   Remove the cap on this page's text so it matches the header and
   the blue box exactly. Scoped by body class; other pages are
   unaffected.
   Also brings the page's top gap to 20px, matching every other page
   (it measured 4px, because this page's first element does not pick
   up the heading's line-box leading the way the others do).
   ============================================================ */
body.page-id-24 .wp-block-post-content h1,
body.page-id-24 .wp-block-post-content h2,
body.page-id-24 .wp-block-post-content h3,
body.page-id-24 .wp-block-post-content p {
	max-width: none !important;
}
body.page-id-24 .wp-block-post-content > *:first-child {
	padding-top: 20px !important;
}

/* ============================================================
   Editor preview fixes.
   The block editor renders the post inside an iframe whose body
   classes are "block-editor-iframe__body editor-styles-wrapper
   post-type-page" — there is NO page-id-24, so any rule scoped with
   body.page-id-N silently does nothing in the editor. That is why
   /about/ looked right on the front end and wrong while editing.
   Two things need matching in the editor:
     1. the 760px content-size cap on headings/paragraphs
        (--wp--style--global--content-size: 760px) — the design runs
        1160px, so uncap them here to mirror the front end
     2. the .container width, which already resolves correctly in the
        editor because it comes from a class, not a body class
   ============================================================ */
.editor-styles-wrapper .wp-block-heading,
.editor-styles-wrapper .wp-block-paragraph,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper p {
	max-width: none !important;
}
/* keep the editor page gutter consistent with the front end */
.editor-styles-wrapper .wp-block-post-content > *:first-child {
	padding-top: 20px !important;
}

/* ============================================================
   /about/ (page-id-24), two requests:
   1. All body copy the same size as the opening paragraph.
      P1 carries the "lede" class (19px/1.55); the other three are
      plain paragraphs (17px). Measured difference confirmed.
   2. Top gap of 20px, matching every other page.
      The earlier attempt used a selector that lost on specificity,
      so this one is prefixed with "html body".
   ============================================================ */
html body.page-id-24 .wp-block-post-content p,
html body.page-id-24 .wp-block-post-content .wp-block-paragraph {
	font-size: 19px !important;
	line-height: 1.55 !important;
}
html body.page-id-24 .wp-block-post-content > *:first-child {
	padding-top: 20px !important;
}

/* ===== GPP state table (added for /state-rules-and-signage/) ===== */
.gpp-table{margin:var(--s6) 0; overflow-x:auto; -webkit-overflow-scrolling:touch}
.gpp-table table{width:100%; border-collapse:collapse; font-size:.9375rem; min-width:760px}
.gpp-table th{font-family:var(--text); font-size:.75rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); text-align:left; padding:12px 14px; border-bottom:2px solid var(--border-strong); vertical-align:bottom; white-space:nowrap}
.gpp-table td{padding:12px 14px; border-bottom:1px solid var(--border); color:var(--body); vertical-align:top; line-height:1.45}
.gpp-table td:first-child{font-weight:700; color:var(--ink); white-space:nowrap; font-size:.8125rem; letter-spacing:.04em}
.gpp-table tbody tr:hover{background:var(--surface-2)}
.gpp-table sup{font-size:.7em; color:var(--muted)}
.gpp-yes{color:var(--green); font-weight:600}
.gpp-no{color:var(--red); font-weight:600}
.gpp-flag{color:var(--red); font-weight:700}
.gpp-table td:nth-child(2){white-space:nowrap}
@media(max-width:700px){.gpp-table table{min-width:640px}}

/* ===== Long-form content rhythm (added 2026-11-26) =====
   The theme resets p/h margins to 0 (lines ~74 and ~326) and strips markers
   from .wp-block-list (line ~344), restoring spacing only inside
   .has-global-padding wrappers. Text pages don't use that wrapper, so their
   paragraphs, headings and lists collapse together. Restore rhythm for post
   content here; component containers below re-assert margin 0 so bands and
   cards render exactly as designed. */
.wp-block-post-content p{margin-block:0 var(--s5)}
.wp-block-post-content p.lede{margin-block:var(--s3) var(--s6)}
.wp-block-post-content h2{margin-block:var(--s8) var(--s4)}
.wp-block-post-content h3{margin-block:var(--s7) var(--s3)}
.wp-block-post-content :is(h2,h3,p):first-child{margin-block-start:0}
.wp-block-post-content .wp-block-list{list-style:disc; padding-inline-start:1.4em; margin-block:0 var(--s5)}
.wp-block-post-content .wp-block-list li{margin-block:0 var(--s3)}
.wp-block-post-content .wp-block-list li::marker{color:var(--red)}
.wp-block-post-content .wp-block-list :is(ul,ol),
.wp-block-post-content .wp-block-list .wp-block-list{list-style:circle; margin-block:var(--s3) 0; padding-inline-start:1.3em}
/* component containers keep their designed spacing */
.wp-block-post-content :is(.band,.hero,.hero-band,.plan,.feat,.quote,.pay,.form,.proof,.line,.save,.note,.faq,.logos,.logotypes) p{margin-block:0}
.wp-block-post-content :is(.band,.hero,.hero-band,.plan,.feat,.quote,.pay,.form,.proof) :is(h2,h3,h4){margin-block:0}
.wp-block-post-content :is(.band,.hero,.hero-band,.plan,.feat,.quote,.pay,.form,.proof) .wp-block-list{list-style:none; padding-inline-start:0}
.wp-block-post-content :is(.band,.hero,.hero-band,.plan,.feat,.quote,.pay,.form,.proof) .wp-block-list li{margin-block:0}
@media(max-width:700px){
  .wp-block-post-content h2{margin-block-start:var(--s7)}
  .wp-block-post-content h3{margin-block-start:var(--s6)}
}

/* ===== GPP document furniture (added 2026-11-26) =====
   Sticky section nav, compliant/non-compliant sign comparison, banned-word
   callout and receipt diagram for the long-form compliance pages. The receipt
   reuses the theme's existing .receipt / .line components.

   NOTE: body carried overflow-x:hidden, which makes the body a scroll
   container and silently disables position:sticky anywhere inside it (this
   is why .hdr's own sticky never worked). overflow-x:clip clips identically
   without creating a scroll container. Browsers that don't support clip
   simply ignore this line and keep the original hidden behaviour.
   The nav pins at 0 because nothing else is sticky: the site header's
   .wp-block-template-part wrapper is only as tall as the header, so it can
   never travel. If that wrapper is ever fixed, change top to 92px below. */
body{overflow-x:clip}

.gpp-toc{position:sticky; top:0; z-index:40; background:rgba(255,255,255,.95);
  -webkit-backdrop-filter:saturate(160%) blur(10px); backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid var(--border); padding:var(--s3) 0; margin-block:var(--s5) var(--s6)}
.gpp-toc nav{display:flex; gap:8px; overflow-x:auto; scrollbar-width:none}
.gpp-toc nav::-webkit-scrollbar{display:none}
.gpp-toc a{flex:0 0 auto; font-family:var(--text); font-size:.8125rem; font-weight:500;
  color:var(--body); border:1px solid var(--border); border-radius:var(--r-pill);
  padding:7px 13px; white-space:nowrap; line-height:1; scroll-margin-top:120px;
  transition:background-color .15s, color .15s, border-color .15s}
.gpp-toc a:hover{color:var(--ink); border-color:var(--border-strong); background:var(--surface-2)}
.gpp-toc a.active{color:#fff; background:var(--red); border-color:var(--red)}

/* anchors must clear the sticky nav when jumped to */
.wp-block-post-content h2[id]{scroll-margin-top:120px}

.gpp-signs{display:grid; gap:var(--s4); margin-block:var(--s5) var(--s6)}
@media(min-width:800px){.gpp-signs{grid-template-columns:1fr 1fr; align-items:stretch}}
.gpp-sign{border:1px solid var(--border); border-radius:var(--r-card); padding:var(--s5); background:var(--surface)}
.gpp-sign--ok{background:var(--green-tint); border-color:rgba(15,123,79,.3)}
.gpp-sign--bad{background:var(--red-tint); border-color:rgba(200,16,46,.3)}
.gpp-sign .lbl{display:block; font-family:var(--text); font-size:.6875rem; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; margin-bottom:var(--s3)}
.gpp-sign--ok .lbl{color:var(--green)}
.gpp-sign--bad .lbl{color:var(--red)}
.gpp-sign p{margin-block:0 !important; font-size:1rem; line-height:1.5; color:var(--ink)}
.gpp-sign p.why{margin-block:var(--s3) 0 !important; font-size:.875rem; color:var(--body)}

.gpp-callout{border-left:3px solid var(--red); background:var(--red-tint);
  border-radius:0 var(--r-card) var(--r-card) 0; padding:var(--s5); margin-block:var(--s5)}
.gpp-callout .t{display:block; font-family:var(--text); font-size:.75rem; font-weight:700;
  letter-spacing:.08em; text-transform:uppercase; color:var(--red); margin-bottom:var(--s3)}
.gpp-callout ul{list-style:none !important; margin:0 !important; padding:0 !important;
  display:flex; flex-wrap:wrap; gap:8px}
.gpp-callout li{font-family:var(--mono); font-size:.8125rem; color:var(--ink); background:#fff;
  border:1px solid rgba(200,16,46,.25); border-radius:var(--r-chip); padding:4px 9px}
.gpp-callout p{margin-block:var(--s4) 0 !important; font-size:.875rem; line-height:1.5; color:var(--body)}

.wp-block-post-content .receipt{margin-block:var(--s5) var(--s6); max-width:420px}
