/* Paycon site styles (navy direction). One file, no JavaScript needed. */
:root{
	--navy:#111c33; --navy-line:#27344f; --ink:#18212f; --body:#485468; --muted:#5a6478;
	--mint:#5fd4bd; --green:#0f6b5c; --green-dark:#0a4a40; --line:#dfe4ec; --tint:#f3f5f9;
	--head:'Space Grotesk','Inter',system-ui,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Inter',system-ui,sans-serif;font-size:15px;line-height:1.65;color:var(--body);background:#fff}
img{max-width:100%;height:auto}
h1,h2,h3,h4{font-family:var(--head);color:var(--ink);line-height:1.25;margin:0 0 .5em;letter-spacing:-.01em}
h1{font-size:42px;line-height:1.15;letter-spacing:-.02em}
h2{font-size:26px} h3{font-size:19px;margin-top:1.8em} h4{font-size:16px;margin-top:1.4em;font-family:'Inter',system-ui,sans-serif;font-weight:600}
p,ul,ol{margin:0 0 1em} strong{color:var(--ink);font-weight:600}
a{color:var(--green)} a:hover{color:var(--green-dark)}
hr{border:0;border-top:1px solid var(--line);margin:2.5em 0}
.container{max-width:1120px;margin:0 auto;padding:0 24px}
.narrow{max-width:820px}
.center{text-align:center} .left{text-align:left}
.skip{position:absolute;left:-9999px} .skip:focus{left:8px;top:8px;background:#fff;padding:8px 12px;z-index:10}

/* Header */
#header{background:var(--navy)}
#header .bar{display:flex;flex-wrap:wrap;gap:10px 32px;align-items:center;justify-content:space-between;padding-top:16px;padding-bottom:16px}
#logo{font-family:var(--head);font-size:20px;font-weight:700;color:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:10px;letter-spacing:.04em}
#logo img{display:block;width:32px;height:32px}
#nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 26px;align-items:center;font-size:14px;font-weight:500}
#nav a{color:#d5dbe8;text-decoration:none;display:inline-block;padding:10px 0}
#nav a:hover,#nav li.current a{color:#fff}
#nav li.current a{box-shadow:inset 0 -2px 0 var(--mint)}
#nav li:last-child a{background:var(--mint);color:#0c1526;padding:10px 18px;border-radius:999px;font-weight:600;box-shadow:none}

/* Buttons */
.button,input[type=submit]{display:inline-block;font:inherit;font-weight:600;background:var(--green);color:#fff;text-decoration:none;padding:12px 24px;border-radius:999px;border:1px solid transparent;cursor:pointer}
.button:hover,input[type=submit]:hover{background:var(--green-dark);color:#fff}
ul.actions{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:12px}
.center ul.actions{justify-content:center}

/* Hero */
.hero{background:var(--navy);color:#fff}
.hero .narrow{padding-top:64px;padding-bottom:60px}
.hero h1{color:#fff;margin-bottom:18px}
.eyebrow{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--mint);margin-bottom:18px}
.hero .sub{font-size:17px;color:#c9d1e0;max-width:36em;margin:0 auto 26px}
.hero .button{background:var(--mint);color:#0c1526}
.hero .button:hover{background:#7fe0cc;color:#0c1526}
.hero .button.ghost{background:transparent;color:#fff;border-color:#56627c}
.hero .button.ghost:hover{background:#1c2a47;color:#fff}
.creds-row{border-top:1px solid var(--navy-line)}
.creds-row ul{list-style:none;margin:0 auto;padding-top:24px;padding-bottom:24px;text-align:center;font-size:13px;color:#c9d1e0}
.creds-row strong{display:block;font-family:var(--head);font-size:17px;color:#fff}

/* Sections and grids */
.section{padding:64px 0}
.tint{background:var(--tint)}
.section.center h2,.section .center h2{margin-bottom:28px}
.grid{display:grid;gap:20px}
.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.card{display:block;background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;text-decoration:none;color:var(--body)}
.card h3{font-family:'Inter',system-ui,sans-serif;font-size:16px;font-weight:600;margin:0 0 8px}
.card p{margin:0;font-size:14px}
.card.top{border:0;border-top:3px solid var(--green)}
a.card:hover{border-color:var(--green);color:var(--body)}
.post-card{display:flex;flex-direction:column;gap:10px}
.post-card .meta{font-size:13px;color:var(--muted)}
.post-card strong{font-size:16px;line-height:1.35}
.section .grid + p,.section .left + p{margin:28px 0 0;font-weight:600;font-size:14px}

/* Founder block */
.founder{display:flex;flex-wrap:wrap;gap:40px;align-items:center;justify-content:center}
.founder img[width="200"]{width:200px;height:200px;border-radius:50%;object-fit:cover;object-position:center 12%;flex:none}
.founder > div{flex:1 1 420px;max-width:560px;min-width:0}
.chips{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:1em}
.chips span{font-size:13px;border:1px solid #d5dbe6;border-radius:999px;padding:6px 12px;color:var(--ink)}
.chips img{display:block;width:52px;height:52px}

/* Inner pages */
.wrapper{padding:56px 0 72px}
#content > article > header,.readable article > header{border-bottom:1px solid var(--line);margin-bottom:2em;padding-bottom:1.2em}
article > header h1,article > header h2{font-size:34px;line-height:1.2;letter-spacing:-.02em;margin-bottom:.3em}
article > header p{margin:0;color:var(--muted);font-size:16px}
.wrapper .container > #content{max-width:780px;margin:0 auto}
.readable{max-width:720px;margin:0 auto}
article li{margin-bottom:.4em}
.lead{font-size:17px;color:var(--ink)}
.image.left{float:left;margin:4px 20px 8px 0}
.image.left img{display:block;width:96px;height:96px;border-radius:50%;object-fit:cover;object-position:center 12%}
#content > article > .image.left img{width:180px;height:180px}
article::after{content:"";display:block;clear:both}
.origin-note{background:var(--tint);border-radius:10px;padding:14px 18px;font-size:13.5px;margin:0 0 2em}
.origin-note p{margin:0}
.cred-box{display:flex;gap:20px;align-items:center;background:var(--tint);border-radius:12px;padding:18px 22px;margin:0 0 1.5em;clear:both}
.cred-box img{width:88px;height:88px;flex:none} .cred-box p{margin:0}
h3#credentials{clear:both}
.case{border-top:1px solid var(--line);padding-top:2em;margin-top:2em}
.tag{display:inline-block;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--green);margin-bottom:6px}
.download-link::before{content:"\2193\00a0"}

/* Services: side menu + content */
.row{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-start}
.row > .col-4{flex:1 1 240px;max-width:300px;min-width:0}
.row > .col-8{flex:999 1 520px;min-width:0}
#sidebar section{background:var(--tint);border-radius:12px;padding:20px 22px;margin-bottom:20px;font-size:14px}
#sidebar h3{margin-top:0;font-size:16px}
#sidebar footer{margin-top:14px} #sidebar .button{padding:9px 18px;font-size:14px}
ul.links{list-style:none;padding:0;margin:0} ul.links li{padding:5px 0;border-top:1px solid var(--line)} ul.links li:first-child{border-top:0}
ul.links a{text-decoration:none}

/* Post and publication lists */
ul.post-list,ul.pubs{list-style:none;padding:0;margin:0 0 2.5em}
ul.post-list li.post-item,ul.pubs li{padding:18px 0;border-top:1px solid var(--line);margin:0}
ul.post-list li.post-item:first-child,ul.pubs li:first-child{border-top:0;padding-top:4px}
ul.post-list h4{margin:0 0 4px;font-size:16.5px}
ul.post-list h4 a{text-decoration:none;color:var(--ink)} ul.post-list h4 a:hover{color:var(--green)}
.post-meta{display:block;margin:0 0 6px;font-size:13px;color:var(--muted)}
ul.post-list p{margin:0}

/* Footer */
#footer{background:var(--navy);color:#c9d1e0;padding:64px 0 28px}
#footer h2{color:#fff;font-size:26px}
#footer a{color:#fff}
.contact{display:flex;flex-wrap:wrap;gap:40px 64px}
.contact > div{flex:1 1 320px;min-width:0} .contact form{flex:1 1 400px;min-width:0}
.contact .row{gap:12px} .contact .row > div{flex:1 1 100%;min-width:0} .contact .row > .col-6{flex:1 1 180px}
input[type=text],input[type=email],textarea{width:100%;font:inherit;font-size:15px;padding:11px 12px;border:1px solid #3a4866;border-radius:8px;background:#18243f;color:#fff}
input::placeholder,textarea::placeholder{color:#aab4c8}
#footer input[type=submit]{background:var(--mint);color:#0c1526}
#footer input[type=submit]:hover{background:#7fe0cc}
.footlinks{border-top:1px solid var(--navy-line);margin-top:48px;padding-top:22px;display:flex;flex-wrap:wrap;gap:12px 32px;justify-content:space-between;font-size:13px}
.footlinks ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 22px}
.footlinks a{color:#c9d1e0;text-decoration:none} .footlinks a:hover{color:#fff}
.footlinks p{margin:0;color:#aab4c8}

/* Services: situations */
.page-head{background:var(--tint);padding:56px 0 44px}
.page-head h1{font-size:38px;margin-bottom:14px}
.page-head .lead{max-width:34em;margin:0 auto 26px;color:var(--body)}
.eyebrow.dark{color:var(--green);margin-bottom:12px}
.jump{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.jump a{display:block;font-size:13.5px;font-weight:500;text-decoration:none;color:var(--ink);background:#fff;border:1px solid #d5dbe6;border-radius:999px;padding:8px 16px}
.jump a:hover{border-color:var(--green);color:var(--green)}
.situations{padding-top:48px}
.sit{border:1px solid var(--line);border-radius:14px;padding:32px;margin-bottom:24px;scroll-margin-top:16px}
.sit > header{display:flex;gap:20px;align-items:flex-start;margin-bottom:24px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.num{font-family:var(--head);font-weight:700;font-size:15px;color:var(--green);background:#e4f3ef;border-radius:999px;min-width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;flex:none}
.sit h2{font-size:24px;margin:0 0 6px}
.sit > header p{margin:0;font-size:15.5px}
.sit .grid{gap:32px}
.sit h3{font-family:'Inter',system-ui,sans-serif;font-size:12.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 10px}
.sit ul{list-style:none;margin:0;padding:0;font-size:14.5px}
.sit li{position:relative;padding-left:18px;margin-bottom:9px;line-height:1.5}
.sit li::before{content:"";position:absolute;left:0;top:.62em;width:7px;height:7px;border-radius:50%;background:var(--mint)}
.sit .grid > div:first-child li{color:var(--ink);font-weight:500}
.exp{margin:24px 0 0;background:var(--tint);border-radius:10px;padding:14px 18px;font-size:14px}
.topics{padding:32px 0 0}
.topics p{margin-bottom:18px}
.topics .chips{justify-content:center;margin:0}
.steps{list-style:none;padding:0;margin:0 0 56px}
.steps li{background:#fff;border-radius:12px;padding:24px}
.steps h3{font-family:'Inter',system-ui,sans-serif;font-size:16px;font-weight:600;margin:14px 0 8px}
.steps p{margin:0;font-size:14px}
.sub-h{font-size:22px}
.cta-line{margin-top:36px !important}

@media (max-width:900px){ .g4{grid-template-columns:repeat(2,minmax(0,1fr))} .g3{grid-template-columns:1fr} }
@media (max-width:600px){
	.sit{padding:22px 18px} .sit > header{gap:14px} .sit h2{font-size:20px} .page-head h1{font-size:30px} .sit .grid{gap:22px}
	h1{font-size:32px} article > header h1,article > header h2{font-size:28px} .section{padding:48px 0} .wrapper{padding:40px 0 56px}
	.container{padding:0 16px}
	.card.top{padding:20px} .g4.left{grid-template-columns:1fr}
	.row > .col-4{max-width:none}
	#content > article > .image.left{float:none;display:block;margin:0 0 16px} 
	.cred-box{flex-direction:column;text-align:center}
	#nav ul{gap:2px 18px}
}
